diff --git a/docs/erp_chargeItem.adoc b/docs/erp_chargeItem.adoc
index 540b8f59..6a3c791d 100644
--- a/docs/erp_chargeItem.adoc
+++ b/docs/erp_chargeItem.adoc
@@ -46,7 +46,7 @@ Der Aufruf erfolgt als http-`POST`-Operation auf die Ressource `/ChargeItem`. Im
*Request*
[cols="h,a",separator=¦]
|===
-¦URI ¦https://prescriptionserver.telematik/ChargeItem?task=200.086.824.605.539.20&secret=c36ca26502892b371d252c99b496e31505ff449aca9bc69e231c58148f6233cf +
+¦URI ¦https://prescriptionserver.telematik/ChargeItem?task=200.000.001.944.091.20&secret=c36ca26502892b371d252c99b496e31505ff449aca9bc69e231c58148f6233cf +
Mit dem Parameter `task=...` wird die Zuordnung zum Task des eingelösten Rezepts hergestellt. +
Zum Nachweis als berechtigte Apotheke, die das E-Rezept gerade in Bearbeitung hält, muss im URL-Parameter `secret` das beim Abrufen generierte Secret übergeben werden.
¦Method ¦POST
@@ -65,54 +65,58 @@ NOTE: In den Profilen ist unter meta.profile auch die Version mit anzugeben. (Bs
[source,xml]
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
----
NOTE: Der PKV-Abgabesatz in Binary.data ist aus Platzgründen stark gekürzt.
NOTE: In `` befindet sich der Abgabgedatensatz als Contained-Bundle. Das Contained-Bundle wird später durch den Fachdienst als eigenständiges Bundle in "supportingInformation" referenziert.
-NOTE: In `` findet sich die Angabe eines PKV-Identifier.
+NOTE: In `` findet sich die Angabe eines PKV-Identifier.
NOTE: `` enthält die Referenz auf das Contained-Objekt. Das Symbol '#' sagt dabei aus, dass es sich auf eine lokale Referenz innerhalb des Objektes bezieht.
|===
@@ -124,47 +128,56 @@ NOTE: `` enthält die Referenz auf das Contained-Obj
¦HTTP Status Code¦201 Created
¦HTTP Header ¦Content-Type: application/fhir+xml;charset=utf-8
¦Payload¦
+
+HTTP/1.1 201 Created
+Content-Type: application/fhir+xml;charset=utf-8
+
[source,xml]
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
----
|===
@@ -211,7 +224,7 @@ Der Aufruf erfolgt als http-`GET`-Operation auf die Ressource `/ChargeItem/'Pres
*Request*
[cols="h,a"]
|===
-|URI |https://prescriptionserver.telematik/ChargeItem/200.000.000.022.127.38?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea
+|URI |https://prescriptionserver.telematik/ChargeItem/200.000.001.944.091.20?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea
|Method |GET
|HTTP Header |
----
@@ -232,670 +245,83 @@ NOTE: Mit dem ACCESS_TOKEN im `Authorization`-Header weist sich der Zugreifende
----
-
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
+
-
-
+
+
-
-
+
+
-
+
+
+
+
+
-
+
-
+
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ ...
-
+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ ...
@@ -944,7 +370,7 @@ Der Aufruf erfolgt als http-`PUT`-Operation auf die Ressource `/ChargeItem/'Pres
*Request*
[cols="h,a",separator=¦]
|===
-¦URI ¦https://prescriptionserver.telematik/ChargeItem/200.086.824.605.539.20?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea
+¦URI ¦https://prescriptionserver.telematik/ChargeItem/200.000.001.944.091.20?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea
¦Method ¦PUT
¦HTTP Header ¦
----
@@ -958,48 +384,57 @@ NOTE: In den Profilen ist unter meta.profile auch die Version mit anzugeben. (Bs
[source,xml]
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
----
NOTE: In `` fügt die abgebende LEI ihren geänderten Abgabedatensatz ein.
@@ -1014,44 +449,46 @@ NOTE: In `` fügt die abgebende LEI ihren geänderten Abgabe
[source,xml]
----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
----
@@ -1124,10 +561,10 @@ NOTE: Mit dem ACCESS_TOKEN im `Authorization`-Header weist sich der Zugreifende
"total": 2,
"entry": [
{
- "fullUrl": "http://hapi.fhir.org/baseR4/ChargeItem/abc825bc-bc30-45f8-b109-1b343fff5c45",
+ "fullUrl": "http://hapi.fhir.org/baseR4/ChargeItem/200.000.001.944.091.20",
"resource": {
"resourceType": "ChargeItem",
- "id": "abc825bc-bc30-45f8-b109-1b343fff5c45",
+ "id": "200.000.001.944.091.20",
"meta": {
"profile": [
"https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem|1.0"
@@ -1156,7 +593,7 @@ NOTE: Mit dem ACCESS_TOKEN im `Authorization`-Header weist sich der Zugreifende
"identifier": [
{
"system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
- "value": "200.086.824.605.539.20"
+ "value": "200.000.001.944.091.20"
},
{
"system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode",
@@ -1174,13 +611,13 @@ NOTE: Mit dem ACCESS_TOKEN im `Authorization`-Header weist sich der Zugreifende
"subject": {
"identifier": {
"system": "http://fhir.de/sid/pkv/kvid-10",
- "value": "X234567890",
+ "value": "X110465770",
"assigner": {
"display": "Name einer privaten Krankenversicherung"
}
}
},
- "enteredDate": "2021-06-01T07:13:00+05:00",
+ "enteredDate": "2023-04-21T07:12:29.316+00:00",
"supportingInformation": [
{
"display": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle"
@@ -1242,7 +679,7 @@ NOTE: Mit dem ACCESS_TOKEN im `Authorization`-Header weist sich der Zugreifende
"subject": {
"identifier": {
"system": "http://fhir.de/sid/pkv/kvid-10",
- "value": "X234567890",
+ "value": "X110465770",
"assigner": {
"display": "Name einer privaten Krankenversicherung"
}
@@ -1274,7 +711,7 @@ Rückgabewert ist ein Bundle, welches das ChargeItem, den Verordnungsdatensatz,
*Request*
[cols="h,a"]
|===
-|URI |https://prescriptionserver.telematik/ChargeItem/200.086.824.605.539.20
+|URI |https://prescriptionserver.telematik/ChargeItem/200.000.001.944.091.20
|Method |GET
|HTTP Header |
----
@@ -1296,256 +733,106 @@ NOTE: Mit dem ACCESS_TOKEN im `Authorization`-Header weist sich der Zugreifende
----
{
"resourceType": "Bundle",
- "id": "Response-App-GETChargeItemById",
- "meta": {
- "lastUpdated": "2021-09-02T11:38:42.557+00:00"
- },
- "type": "searchset",
- "total": 4,
+ "id": "cb0a5768-ed8f-47c3-ab25-88752a6c5be8",
+ "type": "collection",
+ "timestamp": "2023-04-21T07:12:31.692+00:00",
"entry": [
{
- "fullUrl": "https://prescriptionserver.telematik/ChargeItem/200.086.824.605.539.20",
+ "fullUrl": "https://erp-dev.zentral.erp.splitdns.ti-dienste.de/ChargeItem/200.000.001.944.091.20",
"resource": {
"resourceType": "ChargeItem",
- "id": "200.086.824.605.539.20",
+ "id": "200.000.001.944.091.20",
"meta": {
"profile": [
"https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem|1.0"
]
},
- "extension": [
- {
- "url": "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag",
- "extension": [
- {
- "url": "insuranceProvider",
- "valueBoolean": false
- },
- {
- "url": "subsidy",
- "valueBoolean": false
- },
- {
- "url": "taxOffice",
- "valueBoolean": false
- }
- ]
- }
- ],
"identifier": [
{
- "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
- "value": "200.086.824.605.539.20"
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode",
+ "value": "ed71f87b69ebe913fb8b138e61036c76fd05dd8416263050e33e99365de23f48"
},
{
- "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode",
- "value": "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea"
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.001.944.091.20"
}
],
"status": "billable",
"code": {
"coding": [
{
- "code": "not-applicable",
- "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason"
+ "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason",
+ "code": "not-applicable"
}
]
},
"subject": {
"identifier": {
"system": "http://fhir.de/sid/pkv/kvid-10",
- "value": "X234567890"
+ "value": "X110465770"
}
},
"enterer": {
"identifier": {
"system": "https://gematik.de/fhir/sid/telematik-id",
- "value": "3-SMC-B-Testkarte-883110000095957"
+ "value": "3-SMC-B-Testkarte-883110000116873"
}
},
- "enteredDate": "2021-06-01T07:13:00+05:00",
+ "enteredDate": "2023-04-21T07:12:29.316+00:00",
"supportingInformation": [
{
- "reference": "Bundle/414ca393-dde3-4082-9a3b-3752e629e4aa",
+ "reference": "urn:uuid:c81baa1d-0000-0000-0001-000000000000",
"display": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle"
},
{
- "reference": "Bundle/f548dde3-a319-486b-8624-6176ff41ad90",
+ "reference": "urn:uuid:c81baa1d-0000-0000-0004-000000000000",
"display": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle"
},
{
- "reference": "Bundle/dffbfd6a-5712-4798-bdc8-07201eb77ab8",
+ "reference": "urn:uuid:c81baa1d-0000-0000-0003-000000000000",
"display": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle"
}
]
}
},
{
- "fullUrl": "https://prescriptionserver.telematik/Bundle/414ca393-dde3-4082-9a3b-3752e629e4aa",
+ "fullUrl": "urn:uuid:c81baa1d-0000-0000-0004-000000000000",
"resource": {
"resourceType": "Bundle",
- "id": "414ca393-dde3-4082-9a3b-3752e629e4aa",
+ "id": "f1909de6-7d21-443b-a2ae-230b9cb62f70",
"meta": {
- "lastUpdated": "2022-05-20T08:30:00Z",
+ "lastUpdated": "2023-04-21T09:12:30.215+02:00",
"profile": [
- "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"
+ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle|1.1"
]
- },
- "identifier": {
- "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
- "value": "200.086.824.605.539.20"
- },
+ }
...
+ }
},
{
- "fullUrl": "https://prescriptionserver.telematik/Bundle/f548dde3-a319-486b-8624-6176ff41ad90",
+ "fullUrl": "urn:uuid:c81baa1d-0000-0000-0001-000000000000",
"resource": {
"resourceType": "Bundle",
- "id": "f548dde3-a319-486b-8624-6176ff41ad90",
+ "id": "d9a98ce4-9585-4031-ba85-3719bf0fc14a",
"meta": {
+ "lastUpdated": "2023-04-21T09:12:25.072+02:00",
"profile": [
- "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle|1.2"
+ "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"
]
- },
+ }
...
+ }
},
{
- "fullUrl": "https://prescriptionserver.telematik/Bundle/dffbfd6a-5712-4798-bdc8-07201eb77ab8",
+ "fullUrl": "urn:uuid:c81baa1d-0000-0000-0003-000000000000",
"resource": {
"resourceType": "Bundle",
- "id": "dffbfd6a-5712-4798-bdc8-07201eb77ab8",
"meta": {
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle|1.2"
- ],
- "tag": [
- {
- "display": "Receipt Bundle 'Quittung' for completed dispensation of a prescription"
- }
]
- },
- "type": "document",
- "identifier": {
- "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
- "value": "200.086.824.605.539.20"
- },
- "timestamp": "2022-03-18T15:28:00+00:00",
- "entry": [
- {
- "fullUrl": "urn:uuid:c624cf47-e235-4624-af71-0a09dc9254dc",
- "resource": {
- "resourceType": "Composition",
- "id": "c624cf47-e235-4624-af71-0a09dc9254dc",
- "meta": {
- "profile": [
- "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Composition|1.2"
- ]
- },
- "status": "final",
- "title": "Quittung",
- "extension": [
- {
- "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_Beneficiary",
- "valueIdentifier": {
- "system": "https://gematik.de/fhir/sid/telematik-id",
- "value": "3-SMC-B-Testkarte-883110000129070"
- }
- }
- ],
- "type": {
- "coding": [
- {
- "code": "3",
- "system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType",
- "display": "Receipt"
- }
- ]
- },
- "date": "2022-03-18T15:29:00+00:00",
- "author": [
- {
- "reference": "https://erp.zentral.erp.splitdns.ti-dienste.de/Device/1"
- }
- ],
- "event": [
- {
- "period": {
- "start": "2022-03-18T15:28:00+00:00",
- "end": "2022-03-18T15:29:00+00:00"
- }
- }
- ],
- "section": [
- {
- "entry": [
- {
- "reference": "Binary/PrescriptionDigest-200.086.824.605.539.20"
- }
- ]
- }
- ]
- }
- },
- {
- "fullUrl": "https://erp.zentral.erp.splitdns.ti-dienste.de/Device/1",
- "resource": {
- "resourceType": "Device",
- "id": "1",
- "meta": {
- "profile": [
- "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Device|1.2"
- ]
- },
- "status": "active",
- "serialNumber": "1.4.0",
- "deviceName": [
- {
- "name": "E-Rezept-Fachdienst",
- "type": "user-friendly-name"
- }
- ],
- "version": [
- {
- "value": "1.4.0"
- }
- ],
- "contact": [
- {
- "system": "email",
- "value": "betrieb@gematik.de"
- }
- ]
- }
- },
- {
- "fullUrl": "https://erp.zentral.erp.splitdns.ti-dienste.de/Binary/PrescriptionDigest-200.086.824.605.539.20",
- "resource": {
- "resourceType": "Binary",
- "id": "PrescriptionDigest-200.086.824.605.539.20",
- "meta": {
- "profile": [
- "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Digest|1.2"
- ]
- },
- "contentType": "application/octet-stream",
- "data": "tJg8c5ZtdhzEEhJ0ZpAsUVFx5dKuYgQFs5oKgthi17M="
- }
- }
- ],
- "signature": {
- "type": [
- {
- "code": "1.2.840.10065.1.12.1.1",
- "system": "urn:iso-astm:E1762-95:2013"
- }
- ],
- "when": "2022-03-18T15:28:00+00:00",
- "who": {
- "reference": "https://erp.zentral.erp.splitdns.ti-dienste.de/Device/1"
- },
- "sigFormat": "application/pkcs7-mime",
- "data": "dGhpcyBibG9iIGlzIHNuaXBwZWQ="
}
+ ...
}
}
]
@@ -1593,7 +880,7 @@ Der Aufruf erfolgt als http-`PATCH`-Operation auf die Ressource `/ChargeItem`.
*Request*
[cols="h,a",separator=¦]
|===
-¦URI ¦https://prescriptionserver.telematik/ChargeItem/200.086.824.605.539.20
+¦URI ¦https://prescriptionserver.telematik/ChargeItem/200.000.001.944.091.20
¦Method ¦PATCH
¦HTTP Header ¦
----
@@ -1669,7 +956,7 @@ NOTE: Im `"valueString": "ChargeItem.extension('https://gematik.de/fhir/erpchrg/
----
{
"resourceType": "ChargeItem",
- "id": "200.086.824.605.539.20",
+ "id": "200.000.001.944.091.20",
"meta": {
"versionId": "1",
"lastUpdated": "2022-04-05T11:36:19.491+00:00",
@@ -1691,7 +978,7 @@ NOTE: Im `"valueString": "ChargeItem.extension('https://gematik.de/fhir/erpchrg/
} ],
"identifier": [ {
"system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
- "value": "200.086.824.605.539.20"
+ "value": "200.000.001.944.091.20"
}, {
"system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode",
"value": "555bjf73jr8d9si2ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea"
@@ -1706,26 +993,26 @@ NOTE: Im `"valueString": "ChargeItem.extension('https://gematik.de/fhir/erpchrg/
"subject": {
"identifier": {
"system": "http://fhir.de/sid/pkv/kvid-10",
- "value": "X234567890"
+ "value": "X110465770"
}
},
"enterer": {
"identifier": {
"system": "https://gematik.de/fhir/sid/telematik-id",
- "value": "3-SMC-B-Testkarte-883110000095957"
+ "value": "3-SMC-B-Testkarte-883110000116873"
}
},
- "enteredDate": "2021-06-01T07:13:00+05:00",
+ "enteredDate": "2023-04-21T07:12:29.316+00:00",
"supportingInformation": [ {
- "reference": "Bundle/0428d416-149e-48a4-977c-394887b3d85c",
+ "reference": "urn:uuid:c81baa1d-0000-0000-0001-000000000000",
"display": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle"
},
{
- "reference": "Bundle/72bd741c-7ad8-41d8-97c3-9aabbdd0f5b4",
+ "reference": "urn:uuid:c81baa1d-0000-0000-0004-000000000000",
"display": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle"
},
{
- "reference": "Bundle/2fbc0103-1d1b-4be6-8ed8-6faf87bcc09b",
+ "reference": "urn:uuid:c81baa1d-0000-0000-0003-000000000000",
"display": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle"
} ]
}
@@ -1764,7 +1051,7 @@ Der Aufruf erfolgt als http-`DELETE`-Operation auf die Ressource `/ChargeItem`.
*Request*
[cols="h,a"]
|===
-|URI |https://prescriptionserver.telematik/ChargeItem/200.086.824.605.539.20
+|URI |https://prescriptionserver.telematik/ChargeItem/200.000.001.944.091.20
|Method |DELETE
|HTTP Header |
----
diff --git a/docs_sources/erp_chargeItem-source.adoc b/docs_sources/erp_chargeItem-source.adoc
index 893f12d4..9ae1be83 100644
--- a/docs_sources/erp_chargeItem-source.adoc
+++ b/docs_sources/erp_chargeItem-source.adoc
@@ -36,7 +36,7 @@ Der Aufruf erfolgt als http-`POST`-Operation auf die Ressource `/ChargeItem`. Im
*Request*
[cols="h,a",separator=¦]
|===
-¦URI ¦https://prescriptionserver.telematik/ChargeItem?task=200.086.824.605.539.20&secret=c36ca26502892b371d252c99b496e31505ff449aca9bc69e231c58148f6233cf +
+¦URI ¦https://prescriptionserver.telematik/ChargeItem?task=200.000.001.944.091.20&secret=c36ca26502892b371d252c99b496e31505ff449aca9bc69e231c58148f6233cf +
Mit dem Parameter `task=...` wird die Zuordnung zum Task des eingelösten Rezepts hergestellt. +
Zum Nachweis als berechtigte Apotheke, die das E-Rezept gerade in Bearbeitung hält, muss im URL-Parameter `secret` das beim Abrufen generierte Secret übergeben werden.
¦Method ¦POST
@@ -54,13 +54,13 @@ NOTE: In den Profilen ist unter meta.profile auch die Version mit anzugeben. (Bs
¦Payload ¦
[source,xml]
----
-include::../resources/examples/prescriptionserver/request_PostChargeItem.xml[]
+include::../resources/examples/prescriptionserver/abrechnungsdaten/01_POST_ChargeItem_Request.xml[]
----
NOTE: Der PKV-Abgabesatz in Binary.data ist aus Platzgründen stark gekürzt.
NOTE: In `` befindet sich der Abgabgedatensatz als Contained-Bundle. Das Contained-Bundle wird später durch den Fachdienst als eigenständiges Bundle in "supportingInformation" referenziert.
-NOTE: In `` findet sich die Angabe eines PKV-Identifier.
+NOTE: In `` findet sich die Angabe eines PKV-Identifier.
NOTE: `` enthält die Referenz auf das Contained-Objekt. Das Symbol '#' sagt dabei aus, dass es sich auf eine lokale Referenz innerhalb des Objektes bezieht.
|===
@@ -72,9 +72,13 @@ NOTE: `` enthält die Referenz auf das Contained-Obj
¦HTTP Status Code¦201 Created
¦HTTP Header ¦Content-Type: application/fhir+xml;charset=utf-8
¦Payload¦
+
+HTTP/1.1 201 Created
+Content-Type: application/fhir+xml;charset=utf-8
+
[source,xml]
----
-include::../resources/examples/prescriptionserver/response_PostChargeItem.xml[]
+include::../resources/examples/prescriptionserver/abrechnungsdaten/02_POST_ChargeItem_Response.xml[]
----
|===
@@ -120,7 +124,7 @@ Der Aufruf erfolgt als http-`GET`-Operation auf die Ressource `/ChargeItem/'Pres
*Request*
[cols="h,a"]
|===
-|URI |https://prescriptionserver.telematik/ChargeItem/200.000.000.022.127.38?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea
+|URI |https://prescriptionserver.telematik/ChargeItem/200.000.001.944.091.20?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea
|Method |GET
|HTTP Header |
----
@@ -139,7 +143,7 @@ NOTE: Mit dem ACCESS_TOKEN im `Authorization`-Header weist sich der Zugreifende
¦Payload ¦
[source,xml]
----
-include::../resources/examples/prescriptionserver/Bundle-Response-Apotheker-GetChargeIItemById.xml[]
+include::../resources/examples/prescriptionserver/abrechnungsdaten/03_GET_ChargeItem_Response.xml[]
----
NOTE: Aus Gründen der besseren Lesbarkeit ist das PKV-Abgabdedatenbundle hier nicht vollständig dargestellt und wurde mit `...` abgekürzt. Es kann aber vollständig unter https://simplifier.net/erezept-patientenrechnung/~resources?category=Example&exampletype=Bundle eingesehen werden.
@@ -184,7 +188,7 @@ Der Aufruf erfolgt als http-`PUT`-Operation auf die Ressource `/ChargeItem/'Pres
*Request*
[cols="h,a",separator=¦]
|===
-¦URI ¦https://prescriptionserver.telematik/ChargeItem/200.086.824.605.539.20?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea
+¦URI ¦https://prescriptionserver.telematik/ChargeItem/200.000.001.944.091.20?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea
¦Method ¦PUT
¦HTTP Header ¦
----
@@ -197,7 +201,7 @@ NOTE: In den Profilen ist unter meta.profile auch die Version mit anzugeben. (Bs
¦Payload ¦
[source,xml]
----
-include::../resources/examples/prescriptionserver/request_PutChargeItem.xml[]
+include::../resources/examples/prescriptionserver/abrechnungsdaten/04_PUT_ChargeItem_Request.xml[]
----
NOTE: In `` fügt die abgebende LEI ihren geänderten Abgabedatensatz ein.
|===
@@ -210,7 +214,7 @@ NOTE: In `` fügt die abgebende LEI ihren geänderten Abgabe
¦Payload ¦
[source,xml]
----
-include::../resources/examples/prescriptionserver/response_PutChargeItem.xml[]
+include::../resources/examples/prescriptionserver/abrechnungsdaten/05_PUT_ChargeItem_Response.xml[]
----
|===
@@ -272,7 +276,7 @@ NOTE: Mit dem ACCESS_TOKEN im `Authorization`-Header weist sich der Zugreifende
¦Payload ¦
[source,json]
----
-include::../resources/examples/prescriptionserver/response_GetChargeItemsVersicherter.json[]
+include::../resources/examples/prescriptionserver/abrechnungsdaten/06_GET_ChargeItems_Response.json[]
----
NOTE: Die angegebenen Referenzen werden in diesem Request nicht mitgeliefert. Im folgenden Request der das Chargeitem nach der Id abfragt sind diese Informationen dagegen enthalten.
@@ -289,7 +293,7 @@ Rückgabewert ist ein Bundle, welches das ChargeItem, den Verordnungsdatensatz,
*Request*
[cols="h,a"]
|===
-|URI |https://prescriptionserver.telematik/ChargeItem/200.086.824.605.539.20
+|URI |https://prescriptionserver.telematik/ChargeItem/200.000.001.944.091.20
|Method |GET
|HTTP Header |
----
@@ -309,7 +313,7 @@ NOTE: Mit dem ACCESS_TOKEN im `Authorization`-Header weist sich der Zugreifende
¦Payload ¦
[source,json]
----
-include::../resources/examples/prescriptionserver/Bundle-Response-App-GETChargeItemById.json[]
+include::../resources/examples/prescriptionserver/abrechnungsdaten/07_GET_ChargeItem_Response.json[]
----
NOTE: Das `signature` Element enthält die Signatur des Bundles über alle enthaltenen Objekte als Enveloping-CAdES-Signatur in Base64-Codierung.
@@ -353,7 +357,7 @@ Der Aufruf erfolgt als http-`PATCH`-Operation auf die Ressource `/ChargeItem`.
*Request*
[cols="h,a",separator=¦]
|===
-¦URI ¦https://prescriptionserver.telematik/ChargeItem/200.086.824.605.539.20
+¦URI ¦https://prescriptionserver.telematik/ChargeItem/200.000.001.944.091.20
¦Method ¦PATCH
¦HTTP Header ¦
----
@@ -365,7 +369,7 @@ NOTE: Mit dem ACCESS_TOKEN im `Authorization`-Header weist sich der Zugreifende
¦Payload ¦
[source,json]
----
-include::../resources/examples/prescriptionserver/request_PatchChargeItem.json[]
+include::../resources/examples/prescriptionserver/abrechnungsdaten/08_PATCH_ChargeItem_Request.json[]
----
NOTE: In `"valueString": "ChargeItem.extension('https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag').extension('taxOffice')"` ist der Pfadanfang, an dem das zu ändernde Attribut hängt definiert.
@@ -381,7 +385,7 @@ NOTE: Im `"valueString": "ChargeItem.extension('https://gematik.de/fhir/erpchrg/
¦Payload ¦
[source,json]
----
-include::../resources/examples/prescriptionserver/response_PatchChargeItem.json[]
+include::../resources/examples/prescriptionserver/abrechnungsdaten/09_PATCH_ChargeItem_Response.json[]
----
|===
@@ -417,7 +421,7 @@ Der Aufruf erfolgt als http-`DELETE`-Operation auf die Ressource `/ChargeItem`.
*Request*
[cols="h,a"]
|===
-|URI |https://prescriptionserver.telematik/ChargeItem/200.086.824.605.539.20
+|URI |https://prescriptionserver.telematik/ChargeItem/200.000.001.944.091.20
|Method |DELETE
|HTTP Header |
----
diff --git a/resources/examples/prescriptionserver/Bundle-Response-Apotheker-GetChargeIItemById.xml b/resources/examples/prescriptionserver/Bundle-Response-Apotheker-GetChargeIItemById.xml
deleted file mode 100644
index 94424a29..00000000
--- a/resources/examples/prescriptionserver/Bundle-Response-Apotheker-GetChargeIItemById.xml
+++ /dev/null
@@ -1,670 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/resources/examples/prescriptionserver/Bundle-Response-App-GETChargeItemById.json b/resources/examples/prescriptionserver/Bundle-Response-App-GETChargeItemById.json
deleted file mode 100644
index 9e92dd8a..00000000
--- a/resources/examples/prescriptionserver/Bundle-Response-App-GETChargeItemById.json
+++ /dev/null
@@ -1,256 +0,0 @@
-{
- "resourceType": "Bundle",
- "id": "Response-App-GETChargeItemById",
- "meta": {
- "lastUpdated": "2021-09-02T11:38:42.557+00:00"
- },
- "type": "searchset",
- "total": 4,
- "entry": [
- {
- "fullUrl": "https://prescriptionserver.telematik/ChargeItem/200.086.824.605.539.20",
- "resource": {
- "resourceType": "ChargeItem",
- "id": "200.086.824.605.539.20",
- "meta": {
- "profile": [
- "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem|1.0"
- ]
- },
- "extension": [
- {
- "url": "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag",
- "extension": [
- {
- "url": "insuranceProvider",
- "valueBoolean": false
- },
- {
- "url": "subsidy",
- "valueBoolean": false
- },
- {
- "url": "taxOffice",
- "valueBoolean": false
- }
- ]
- }
- ],
- "identifier": [
- {
- "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
- "value": "200.086.824.605.539.20"
- },
- {
- "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode",
- "value": "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea"
- }
- ],
- "status": "billable",
- "code": {
- "coding": [
- {
- "code": "not-applicable",
- "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason"
- }
- ]
- },
- "subject": {
- "identifier": {
- "system": "http://fhir.de/sid/pkv/kvid-10",
- "value": "X234567890"
- }
- },
- "enterer": {
- "identifier": {
- "system": "https://gematik.de/fhir/sid/telematik-id",
- "value": "3-SMC-B-Testkarte-883110000095957"
- }
- },
- "enteredDate": "2021-06-01T07:13:00+05:00",
- "supportingInformation": [
- {
- "reference": "Bundle/414ca393-dde3-4082-9a3b-3752e629e4aa",
- "display": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle"
- },
- {
- "reference": "Bundle/f548dde3-a319-486b-8624-6176ff41ad90",
- "display": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle"
- },
- {
- "reference": "Bundle/dffbfd6a-5712-4798-bdc8-07201eb77ab8",
- "display": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle"
- }
- ]
- }
- },
- {
- "fullUrl": "https://prescriptionserver.telematik/Bundle/414ca393-dde3-4082-9a3b-3752e629e4aa",
- "resource": {
- "resourceType": "Bundle",
- "id": "414ca393-dde3-4082-9a3b-3752e629e4aa",
- "meta": {
- "lastUpdated": "2022-05-20T08:30:00Z",
- "profile": [
- "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"
- ]
- },
- "identifier": {
- "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
- "value": "200.086.824.605.539.20"
- },
- ...
- },
- {
- "fullUrl": "https://prescriptionserver.telematik/Bundle/f548dde3-a319-486b-8624-6176ff41ad90",
- "resource": {
- "resourceType": "Bundle",
- "id": "f548dde3-a319-486b-8624-6176ff41ad90",
- "meta": {
- "profile": [
- "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle|1.2"
- ]
- },
- ...
- },
- {
- "fullUrl": "https://prescriptionserver.telematik/Bundle/dffbfd6a-5712-4798-bdc8-07201eb77ab8",
- "resource": {
- "resourceType": "Bundle",
- "id": "dffbfd6a-5712-4798-bdc8-07201eb77ab8",
- "meta": {
- "profile": [
- "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle|1.2"
- ],
- "tag": [
- {
- "display": "Receipt Bundle 'Quittung' for completed dispensation of a prescription"
- }
- ]
- },
- "type": "document",
- "identifier": {
- "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
- "value": "200.086.824.605.539.20"
- },
- "timestamp": "2022-03-18T15:28:00+00:00",
- "entry": [
- {
- "fullUrl": "urn:uuid:c624cf47-e235-4624-af71-0a09dc9254dc",
- "resource": {
- "resourceType": "Composition",
- "id": "c624cf47-e235-4624-af71-0a09dc9254dc",
- "meta": {
- "profile": [
- "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Composition|1.2"
- ]
- },
- "status": "final",
- "title": "Quittung",
- "extension": [
- {
- "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_Beneficiary",
- "valueIdentifier": {
- "system": "https://gematik.de/fhir/sid/telematik-id",
- "value": "3-SMC-B-Testkarte-883110000129070"
- }
- }
- ],
- "type": {
- "coding": [
- {
- "code": "3",
- "system": "https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType",
- "display": "Receipt"
- }
- ]
- },
- "date": "2022-03-18T15:29:00+00:00",
- "author": [
- {
- "reference": "https://erp.zentral.erp.splitdns.ti-dienste.de/Device/1"
- }
- ],
- "event": [
- {
- "period": {
- "start": "2022-03-18T15:28:00+00:00",
- "end": "2022-03-18T15:29:00+00:00"
- }
- }
- ],
- "section": [
- {
- "entry": [
- {
- "reference": "Binary/PrescriptionDigest-200.086.824.605.539.20"
- }
- ]
- }
- ]
- }
- },
- {
- "fullUrl": "https://erp.zentral.erp.splitdns.ti-dienste.de/Device/1",
- "resource": {
- "resourceType": "Device",
- "id": "1",
- "meta": {
- "profile": [
- "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Device|1.2"
- ]
- },
- "status": "active",
- "serialNumber": "1.4.0",
- "deviceName": [
- {
- "name": "E-Rezept-Fachdienst",
- "type": "user-friendly-name"
- }
- ],
- "version": [
- {
- "value": "1.4.0"
- }
- ],
- "contact": [
- {
- "system": "email",
- "value": "betrieb@gematik.de"
- }
- ]
- }
- },
- {
- "fullUrl": "https://erp.zentral.erp.splitdns.ti-dienste.de/Binary/PrescriptionDigest-200.086.824.605.539.20",
- "resource": {
- "resourceType": "Binary",
- "id": "PrescriptionDigest-200.086.824.605.539.20",
- "meta": {
- "profile": [
- "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Digest|1.2"
- ]
- },
- "contentType": "application/octet-stream",
- "data": "tJg8c5ZtdhzEEhJ0ZpAsUVFx5dKuYgQFs5oKgthi17M="
- }
- }
- ],
- "signature": {
- "type": [
- {
- "code": "1.2.840.10065.1.12.1.1",
- "system": "urn:iso-astm:E1762-95:2013"
- }
- ],
- "when": "2022-03-18T15:28:00+00:00",
- "who": {
- "reference": "https://erp.zentral.erp.splitdns.ti-dienste.de/Device/1"
- },
- "sigFormat": "application/pkcs7-mime",
- "data": "dGhpcyBibG9iIGlzIHNuaXBwZWQ="
- }
- }
- }
- ]
-}
\ No newline at end of file
diff --git a/resources/examples/prescriptionserver/abrechnungsdaten/01_POST_ChargeItem_Request.xml b/resources/examples/prescriptionserver/abrechnungsdaten/01_POST_ChargeItem_Request.xml
new file mode 100644
index 00000000..cb7c9946
--- /dev/null
+++ b/resources/examples/prescriptionserver/abrechnungsdaten/01_POST_ChargeItem_Request.xml
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/examples/prescriptionserver/abrechnungsdaten/02_POST_ChargeItem_Response.xml b/resources/examples/prescriptionserver/abrechnungsdaten/02_POST_ChargeItem_Response.xml
new file mode 100644
index 00000000..80c1967a
--- /dev/null
+++ b/resources/examples/prescriptionserver/abrechnungsdaten/02_POST_ChargeItem_Response.xml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/examples/prescriptionserver/abrechnungsdaten/03_GET_ChargeItem_Response.xml b/resources/examples/prescriptionserver/abrechnungsdaten/03_GET_ChargeItem_Response.xml
new file mode 100644
index 00000000..cf643cf7
--- /dev/null
+++ b/resources/examples/prescriptionserver/abrechnungsdaten/03_GET_ChargeItem_Response.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ...
+
+
+
+
+
+
+
+
+
+
+
+
+ ...
+
+
+
+
\ No newline at end of file
diff --git a/resources/examples/prescriptionserver/abrechnungsdaten/04_PUT_ChargeItem_Request.xml b/resources/examples/prescriptionserver/abrechnungsdaten/04_PUT_ChargeItem_Request.xml
new file mode 100644
index 00000000..22818848
--- /dev/null
+++ b/resources/examples/prescriptionserver/abrechnungsdaten/04_PUT_ChargeItem_Request.xml
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/examples/prescriptionserver/abrechnungsdaten/05_PUT_ChargeItem_Response.xml b/resources/examples/prescriptionserver/abrechnungsdaten/05_PUT_ChargeItem_Response.xml
new file mode 100644
index 00000000..e113cde4
--- /dev/null
+++ b/resources/examples/prescriptionserver/abrechnungsdaten/05_PUT_ChargeItem_Response.xml
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/examples/prescriptionserver/response_GetChargeItemsVersicherter.json b/resources/examples/prescriptionserver/abrechnungsdaten/06_GET_ChargeItems_Response.json
similarity index 92%
rename from resources/examples/prescriptionserver/response_GetChargeItemsVersicherter.json
rename to resources/examples/prescriptionserver/abrechnungsdaten/06_GET_ChargeItems_Response.json
index 677569b3..40f459a3 100644
--- a/resources/examples/prescriptionserver/response_GetChargeItemsVersicherter.json
+++ b/resources/examples/prescriptionserver/abrechnungsdaten/06_GET_ChargeItems_Response.json
@@ -8,10 +8,10 @@
"total": 2,
"entry": [
{
- "fullUrl": "http://hapi.fhir.org/baseR4/ChargeItem/abc825bc-bc30-45f8-b109-1b343fff5c45",
+ "fullUrl": "http://hapi.fhir.org/baseR4/ChargeItem/200.000.001.944.091.20",
"resource": {
"resourceType": "ChargeItem",
- "id": "abc825bc-bc30-45f8-b109-1b343fff5c45",
+ "id": "200.000.001.944.091.20",
"meta": {
"profile": [
"https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem|1.0"
@@ -40,7 +40,7 @@
"identifier": [
{
"system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
- "value": "200.086.824.605.539.20"
+ "value": "200.000.001.944.091.20"
},
{
"system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode",
@@ -58,13 +58,13 @@
"subject": {
"identifier": {
"system": "http://fhir.de/sid/pkv/kvid-10",
- "value": "X234567890",
+ "value": "X110465770",
"assigner": {
"display": "Name einer privaten Krankenversicherung"
}
}
},
- "enteredDate": "2021-06-01T07:13:00+05:00",
+ "enteredDate": "2023-04-21T07:12:29.316+00:00",
"supportingInformation": [
{
"display": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle"
@@ -126,7 +126,7 @@
"subject": {
"identifier": {
"system": "http://fhir.de/sid/pkv/kvid-10",
- "value": "X234567890",
+ "value": "X110465770",
"assigner": {
"display": "Name einer privaten Krankenversicherung"
}
diff --git a/resources/examples/prescriptionserver/abrechnungsdaten/07_GET_ChargeItem_Response.json b/resources/examples/prescriptionserver/abrechnungsdaten/07_GET_ChargeItem_Response.json
new file mode 100644
index 00000000..1a5c3637
--- /dev/null
+++ b/resources/examples/prescriptionserver/abrechnungsdaten/07_GET_ChargeItem_Response.json
@@ -0,0 +1,106 @@
+{
+ "resourceType": "Bundle",
+ "id": "cb0a5768-ed8f-47c3-ab25-88752a6c5be8",
+ "type": "collection",
+ "timestamp": "2023-04-21T07:12:31.692+00:00",
+ "entry": [
+ {
+ "fullUrl": "https://erp-dev.zentral.erp.splitdns.ti-dienste.de/ChargeItem/200.000.001.944.091.20",
+ "resource": {
+ "resourceType": "ChargeItem",
+ "id": "200.000.001.944.091.20",
+ "meta": {
+ "profile": [
+ "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem|1.0"
+ ]
+ },
+ "identifier": [
+ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode",
+ "value": "ed71f87b69ebe913fb8b138e61036c76fd05dd8416263050e33e99365de23f48"
+ },
+ {
+ "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
+ "value": "200.000.001.944.091.20"
+ }
+ ],
+ "status": "billable",
+ "code": {
+ "coding": [
+ {
+ "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason",
+ "code": "not-applicable"
+ }
+ ]
+ },
+ "subject": {
+ "identifier": {
+ "system": "http://fhir.de/sid/pkv/kvid-10",
+ "value": "X110465770"
+ }
+ },
+ "enterer": {
+ "identifier": {
+ "system": "https://gematik.de/fhir/sid/telematik-id",
+ "value": "3-SMC-B-Testkarte-883110000116873"
+ }
+ },
+ "enteredDate": "2023-04-21T07:12:29.316+00:00",
+ "supportingInformation": [
+ {
+ "reference": "urn:uuid:c81baa1d-0000-0000-0001-000000000000",
+ "display": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle"
+ },
+ {
+ "reference": "urn:uuid:c81baa1d-0000-0000-0004-000000000000",
+ "display": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle"
+ },
+ {
+ "reference": "urn:uuid:c81baa1d-0000-0000-0003-000000000000",
+ "display": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle"
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c81baa1d-0000-0000-0004-000000000000",
+ "resource": {
+ "resourceType": "Bundle",
+ "id": "f1909de6-7d21-443b-a2ae-230b9cb62f70",
+ "meta": {
+ "lastUpdated": "2023-04-21T09:12:30.215+02:00",
+ "profile": [
+ "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle|1.1"
+ ]
+ }
+ ...
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c81baa1d-0000-0000-0001-000000000000",
+ "resource": {
+ "resourceType": "Bundle",
+ "id": "d9a98ce4-9585-4031-ba85-3719bf0fc14a",
+ "meta": {
+ "lastUpdated": "2023-04-21T09:12:25.072+02:00",
+ "profile": [
+ "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle|1.1.0"
+ ]
+ }
+ ...
+ }
+ },
+ {
+ "fullUrl": "urn:uuid:c81baa1d-0000-0000-0003-000000000000",
+ "resource": {
+ "resourceType": "Bundle",
+ "meta": {
+ "profile": [
+ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle|1.2"
+ ]
+ }
+ ...
+ }
+ }
+ ]
+}
diff --git a/resources/examples/prescriptionserver/request_PatchChargeItem.json b/resources/examples/prescriptionserver/abrechnungsdaten/08_PATCH_ChargeItem_Request.json
similarity index 100%
rename from resources/examples/prescriptionserver/request_PatchChargeItem.json
rename to resources/examples/prescriptionserver/abrechnungsdaten/08_PATCH_ChargeItem_Request.json
diff --git a/resources/examples/prescriptionserver/response_PatchChargeItem.json b/resources/examples/prescriptionserver/abrechnungsdaten/09_PATCH_ChargeItem_Response.json
similarity index 79%
rename from resources/examples/prescriptionserver/response_PatchChargeItem.json
rename to resources/examples/prescriptionserver/abrechnungsdaten/09_PATCH_ChargeItem_Response.json
index 3d1be9ec..1aadcc1f 100644
--- a/resources/examples/prescriptionserver/response_PatchChargeItem.json
+++ b/resources/examples/prescriptionserver/abrechnungsdaten/09_PATCH_ChargeItem_Response.json
@@ -1,6 +1,6 @@
{
"resourceType": "ChargeItem",
- "id": "200.086.824.605.539.20",
+ "id": "200.000.001.944.091.20",
"meta": {
"versionId": "1",
"lastUpdated": "2022-04-05T11:36:19.491+00:00",
@@ -22,7 +22,7 @@
} ],
"identifier": [ {
"system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId",
- "value": "200.086.824.605.539.20"
+ "value": "200.000.001.944.091.20"
}, {
"system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_AccessCode",
"value": "555bjf73jr8d9si2ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea"
@@ -37,26 +37,26 @@
"subject": {
"identifier": {
"system": "http://fhir.de/sid/pkv/kvid-10",
- "value": "X234567890"
+ "value": "X110465770"
}
},
"enterer": {
"identifier": {
"system": "https://gematik.de/fhir/sid/telematik-id",
- "value": "3-SMC-B-Testkarte-883110000095957"
+ "value": "3-SMC-B-Testkarte-883110000116873"
}
},
- "enteredDate": "2021-06-01T07:13:00+05:00",
+ "enteredDate": "2023-04-21T07:12:29.316+00:00",
"supportingInformation": [ {
- "reference": "Bundle/0428d416-149e-48a4-977c-394887b3d85c",
+ "reference": "urn:uuid:c81baa1d-0000-0000-0001-000000000000",
"display": "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle"
},
{
- "reference": "Bundle/72bd741c-7ad8-41d8-97c3-9aabbdd0f5b4",
+ "reference": "urn:uuid:c81baa1d-0000-0000-0004-000000000000",
"display": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle"
},
{
- "reference": "Bundle/2fbc0103-1d1b-4be6-8ed8-6faf87bcc09b",
+ "reference": "urn:uuid:c81baa1d-0000-0000-0003-000000000000",
"display": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle"
} ]
}
\ No newline at end of file
diff --git a/resources/examples/prescriptionserver/request_PostChargeItem.xml b/resources/examples/prescriptionserver/request_PostChargeItem.xml
deleted file mode 100644
index 3c928665..00000000
--- a/resources/examples/prescriptionserver/request_PostChargeItem.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/resources/examples/prescriptionserver/request_PutChargeItem.xml b/resources/examples/prescriptionserver/request_PutChargeItem.xml
deleted file mode 100644
index e569d562..00000000
--- a/resources/examples/prescriptionserver/request_PutChargeItem.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/resources/examples/prescriptionserver/response_PostChargeItem.xml b/resources/examples/prescriptionserver/response_PostChargeItem.xml
deleted file mode 100644
index 195bfc4b..00000000
--- a/resources/examples/prescriptionserver/response_PostChargeItem.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/resources/examples/prescriptionserver/response_PostChargitem.xml b/resources/examples/prescriptionserver/response_PostChargitem.xml
deleted file mode 100644
index 0224cd0e..00000000
--- a/resources/examples/prescriptionserver/response_PostChargitem.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-HTTP/1.1 201 Created
-Content-Type: application/fhir+xml;charset=utf-8
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/resources/examples/prescriptionserver/response_PutChargeItem.xml b/resources/examples/prescriptionserver/response_PutChargeItem.xml
deleted file mode 100644
index d5b0c299..00000000
--- a/resources/examples/prescriptionserver/response_PutChargeItem.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/qes/signed/17112023-07_59_27.log b/samples/qes/signed/17112023-07_59_27.log
new file mode 100644
index 00000000..1aacf581
--- /dev/null
+++ b/samples/qes/signed/17112023-07_59_27.log
@@ -0,0 +1,9 @@
+2023-11-17 07:59:27,510 [prescription_generator.py] INFO : create output directory /Users/gematik/Downloads/out
+2023-11-17 07:59:27,510 [rest_client.py ] REST : >> GET https://erpps-test.dev.gematik.solutions/ru/actors
+2023-11-17 07:59:27,702 [rest_client.py ] REST : << 200 [{'type': 'Arzt', 'name': 'Adelheid Ulmenwald', 'id': '6a7f66bc2bb0f4cd76deaa260abbb484'}, {'type': 'Arzt', 'name': 'Dr. Schraßer', 'id': '5dd78b5f4376fa876b512452b19380a9'}, {'type': 'Arzt', 'name': 'Gündüla Gunther', 'id': '7980d97ebfd808708c421902157f400a'}, {'type': 'Apotheke', 'name': 'Am Flughafen', 'id': '886c6eda7dd5a1c6b1d112907f544d3'}, {'type': 'Apotheke', 'name': 'Stadtapotheke', 'id': '84b5f179e0451d03ea8c8948f52687b8'}, {'type': 'Apotheke', 'name': 'Am Waldesrand', 'id': 'fd4e63e24aac935e5120ef48cf7440e'}, {'type': 'Apotheke', 'name': 'Adelheid Ulmendorfer', 'id': '46623098c75eda6ce91bea416e0c6977'}, {'type': 'Apotheke', 'name': 'Bernd Ulmendorfer', 'id': 'aef98e7ae7b222fedeed1bc5166561bd'}, {'type': 'Apotheke', 'name': 'Christine Ulmendorfer', 'id': '9d393b62c35805b9e516d8ca1ef23285'}]
+2023-11-17 07:59:27,703 [prescription_generator.py] INFO : [1|1] create prescription /Users/gematik/Downloads/example_mixed_ref.xml
+2023-11-17 07:59:27,703 [rest_client.py ] REST : >> POST https://erpps-test.dev.gematik.solutions/ru/doc/6a7f66bc2bb0f4cd76deaa260abbb484/xml/prescribe?direct=false
+2023-11-17 07:59:38,901 [rest_client.py ] ERROR: 400: unknown error: {"type":"FACHDIENST","message":"[ERROR] FHIR-Validation error: Bundle.entry[6].resource{Coverage}.id: error: missing mandatory element (from profile: https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0); "}
+2023-11-17 07:59:38,901 [rest_client.py ] REST : << 400 {"type":"FACHDIENST","message":"[ERROR] FHIR-Validation error: Bundle.entry[6].resource{Coverage}.id: error: missing mandatory element (from profile: https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0); "}
+2023-11-17 07:59:38,901 [prescription_generator.py] WARNING: Generation of /Users/gematik/Downloads/example_mixed_ref.xml failed with 400
+2023-11-17 07:59:38,902 [xlsx_transformer.py ] INFO : Write summary to /Users/gematik/Downloads/out/kthon_ru_20231117_075938.xlsx