diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 10a87b8..79826dd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,11 +52,11 @@ jobs: JAVA_VALIDATION_ENABLED: true OUTPUT_FORMAT: RAW JAVA_VALIDATION_OPTIONS: -allow-example-urls true - JAVA_VALIDATOR_VERSION: 6.0.11 + JAVA_VALIDATOR_VERSION: 6.3.18 SIMPLIFIER_USERNAME: ${{ secrets.SIMPLIFIER_USERNAME }} SIMPLIFIER_PASSWORD: ${{ secrets.SIMPLIFIER_PASSWORD }} SUSHI_ENABLED: true - SUSHI_VERSION: 3.5.0 + SUSHI_VERSION: 3.11.0 SUSHI_OPTIONS: Resources/ EXPECTED_FAILS: VALIDATION_CONFORMANCE_DOTNET VALIDATION_CONFORMANCE_JAVA VALIDATION_EXAMPLES_JAVA diff --git a/Resources/fsh-generated/fsh-index.json b/Resources/fsh-generated/fsh-index.json new file mode 100644 index 0000000..6bf0873 --- /dev/null +++ b/Resources/fsh-generated/fsh-index.json @@ -0,0 +1,114 @@ +[ + { + "outputFile": "ChargeItem-ChargeItem-GET-Completed.json", + "fshName": "ChargeItem-GET-Completed", + "fshType": "Instance", + "fshFile": "examples/Example_ChargeItem.fsh", + "startLine": 1, + "endLine": 29 + }, + { + "outputFile": "ChargeItem-ChargeItem-POST-Binary.json", + "fshName": "ChargeItem-POST-Binary", + "fshType": "Instance", + "fshFile": "examples/Example_ChargeItem.fsh", + "startLine": 31, + "endLine": 50 + }, + { + "outputFile": "CodeSystem-GEM-ERPCHRG-CS-ConsentType.json", + "fshName": "GEM_ERPCHRG_CS_ConsentType", + "fshType": "CodeSystem", + "fshFile": "codesystems/GEM_ERPCHRG_CS_ConsentType.fsh", + "startLine": 1, + "endLine": 7 + }, + { + "outputFile": "Communication-3bbc2209-9c23-4553-986e-a5c9f69a39fb.json", + "fshName": "Communication_ChargChangeReply_Gkv", + "fshType": "Instance", + "fshFile": "examples/Example_Communication_ChargChangeReply.fsh", + "startLine": 1, + "endLine": 15 + }, + { + "outputFile": "Communication-7bbc2209-9c23-4553-986e-a5c9f69a39fp.json", + "fshName": "Communication_ChargChangeReply_Pkv", + "fshType": "Instance", + "fshFile": "examples/Example_Communication_ChargChangeReply.fsh", + "startLine": 17, + "endLine": 31 + }, + { + "outputFile": "Communication-b4cf7f71-3ade-40ab-97a9-929f95af29f2.json", + "fshName": "Communication_ChargChangeRequest_Gkv", + "fshType": "Instance", + "fshFile": "examples/Example_Communication_ChargChangeRequest.fsh", + "startLine": 1, + "endLine": 15 + }, + { + "outputFile": "Communication-b4cf7f71-3ade-40ab-97a9-929f95af29fp.json", + "fshName": "Communication_ChargChangeRequest_Pkv", + "fshType": "Instance", + "fshFile": "examples/Example_Communication_ChargChangeRequest.fsh", + "startLine": 18, + "endLine": 32 + }, + { + "outputFile": "Consent-0dcc5d4c-bf24-4c06-b02e-be5bc24587e2.json", + "fshName": "ChargeItemConsent", + "fshType": "Instance", + "fshFile": "examples/Example_Consent.fsh", + "startLine": 1, + "endLine": 16 + }, + { + "outputFile": "StructureDefinition-GEM-ERPCHRG-EX-MarkingFlag.json", + "fshName": "GEM_ERPCHRG_EX_MarkingFlag", + "fshType": "Extension", + "fshFile": "extensions/GEM_ERPCHRG_EX_MarkingFlag.fsh", + "startLine": 1, + "endLine": 37 + }, + { + "outputFile": "StructureDefinition-GEM-ERPCHRG-PR-ChargeItem.json", + "fshName": "GEM_ERPCHRG_PR_ChargeItem", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERPCHRG_PR_ChargeItem.fsh", + "startLine": 1, + "endLine": 68 + }, + { + "outputFile": "StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReply.json", + "fshName": "GEM_ERPCHRG_PR_Communication_ChargChangeReply", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh", + "startLine": 1, + "endLine": 24 + }, + { + "outputFile": "StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReq.json", + "fshName": "GEM_ERPCHRG_PR_Communication_ChargChangeReq", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh", + "startLine": 1, + "endLine": 26 + }, + { + "outputFile": "StructureDefinition-GEM-ERPCHRG-PR-Consent.json", + "fshName": "GEM_ERPCHRG_PR_Consent", + "fshType": "Profile", + "fshFile": "profiles/GEM_ERPCHRG_PR_Consent.fsh", + "startLine": 1, + "endLine": 18 + }, + { + "outputFile": "ValueSet-GEM-ERPCHRG-VS-ConsentType.json", + "fshName": "GEM_ERPCHRG_VS_ConsentType", + "fshType": "ValueSet", + "fshFile": "valuesets/GEM_ERPCHRG_VS_ConsentType.fsh", + "startLine": 1, + "endLine": 6 + } +] diff --git a/Resources/fsh-generated/fsh-index.txt b/Resources/fsh-generated/fsh-index.txt new file mode 100644 index 0000000..2674259 --- /dev/null +++ b/Resources/fsh-generated/fsh-index.txt @@ -0,0 +1,15 @@ +Output File Name Type FSH File Lines +ChargeItem-ChargeItem-GET-Completed.json ChargeItem-GET-Completed Instance examples/Example_ChargeItem.fsh 1 - 29 +ChargeItem-ChargeItem-POST-Binary.json ChargeItem-POST-Binary Instance examples/Example_ChargeItem.fsh 31 - 50 +CodeSystem-GEM-ERPCHRG-CS-ConsentType.json GEM_ERPCHRG_CS_ConsentType CodeSystem codesystems/GEM_ERPCHRG_CS_ConsentType.fsh 1 - 7 +Communication-3bbc2209-9c23-4553-986e-a5c9f69a39fb.json Communication_ChargChangeReply_Gkv Instance examples/Example_Communication_ChargChangeReply.fsh 1 - 15 +Communication-7bbc2209-9c23-4553-986e-a5c9f69a39fp.json Communication_ChargChangeReply_Pkv Instance examples/Example_Communication_ChargChangeReply.fsh 17 - 31 +Communication-b4cf7f71-3ade-40ab-97a9-929f95af29f2.json Communication_ChargChangeRequest_Gkv Instance examples/Example_Communication_ChargChangeRequest.fsh 1 - 15 +Communication-b4cf7f71-3ade-40ab-97a9-929f95af29fp.json Communication_ChargChangeRequest_Pkv Instance examples/Example_Communication_ChargChangeRequest.fsh 18 - 32 +Consent-0dcc5d4c-bf24-4c06-b02e-be5bc24587e2.json ChargeItemConsent Instance examples/Example_Consent.fsh 1 - 16 +StructureDefinition-GEM-ERPCHRG-EX-MarkingFlag.json GEM_ERPCHRG_EX_MarkingFlag Extension extensions/GEM_ERPCHRG_EX_MarkingFlag.fsh 1 - 37 +StructureDefinition-GEM-ERPCHRG-PR-ChargeItem.json GEM_ERPCHRG_PR_ChargeItem Profile profiles/GEM_ERPCHRG_PR_ChargeItem.fsh 1 - 68 +StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReply.json GEM_ERPCHRG_PR_Communication_ChargChangeReply Profile profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh 1 - 24 +StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReq.json GEM_ERPCHRG_PR_Communication_ChargChangeReq Profile profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh 1 - 26 +StructureDefinition-GEM-ERPCHRG-PR-Consent.json GEM_ERPCHRG_PR_Consent Profile profiles/GEM_ERPCHRG_PR_Consent.fsh 1 - 18 +ValueSet-GEM-ERPCHRG-VS-ConsentType.json GEM_ERPCHRG_VS_ConsentType ValueSet valuesets/GEM_ERPCHRG_VS_ConsentType.fsh 1 - 6 \ No newline at end of file diff --git a/Resources/fsh-generated/resources/ChargeItem-abc825bc-bc30-45f8-b109-1b343fff5c45.json b/Resources/fsh-generated/resources/ChargeItem-ChargeItem-GET-Completed.json similarity index 97% rename from Resources/fsh-generated/resources/ChargeItem-abc825bc-bc30-45f8-b109-1b343fff5c45.json rename to Resources/fsh-generated/resources/ChargeItem-ChargeItem-GET-Completed.json index f145797..3b8ff41 100644 --- a/Resources/fsh-generated/resources/ChargeItem-abc825bc-bc30-45f8-b109-1b343fff5c45.json +++ b/Resources/fsh-generated/resources/ChargeItem-ChargeItem-GET-Completed.json @@ -1,6 +1,6 @@ { "resourceType": "ChargeItem", - "id": "abc825bc-bc30-45f8-b109-1b343fff5c45", + "id": "ChargeItem-GET-Completed", "meta": { "profile": [ "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem|1.0" diff --git a/Resources/fsh-generated/resources/ChargeItem-ChargeItemExampleBinary.json b/Resources/fsh-generated/resources/ChargeItem-ChargeItem-POST-Binary.json similarity index 84% rename from Resources/fsh-generated/resources/ChargeItem-ChargeItemExampleBinary.json rename to Resources/fsh-generated/resources/ChargeItem-ChargeItem-POST-Binary.json index 2ed2a8b..48122ea 100644 --- a/Resources/fsh-generated/resources/ChargeItem-ChargeItemExampleBinary.json +++ b/Resources/fsh-generated/resources/ChargeItem-ChargeItem-POST-Binary.json @@ -1,6 +1,6 @@ { "resourceType": "ChargeItem", - "id": "ChargeItemExampleBinary", + "id": "ChargeItem-POST-Binary", "meta": { "profile": [ "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem|1.0" @@ -48,7 +48,15 @@ "subject": { "identifier": { "system": "http://fhir.de/sid/pkv/kvid-10", - "value": "X234567890" + "value": "X234567890", + "type": { + "coding": [ + { + "code": "PKV", + "system": "http://fhir.de/CodeSystem/identifier-type-de-basis" + } + ] + } } }, "enteredDate": "2022-12-16T07:13:00+05:00" diff --git a/Resources/fsh-generated/resources/CodeSystem-GEM-ERPCHRG-CS-ConsentType.json b/Resources/fsh-generated/resources/CodeSystem-GEM-ERPCHRG-CS-ConsentType.json index f1a2c89..85c816e 100644 --- a/Resources/fsh-generated/resources/CodeSystem-GEM-ERPCHRG-CS-ConsentType.json +++ b/Resources/fsh-generated/resources/CodeSystem-GEM-ERPCHRG-CS-ConsentType.json @@ -6,6 +6,7 @@ "id": "GEM-ERPCHRG-CS-ConsentType", "title": "CodeSystem of types for a consent", "description": "Type of patient consent.", + "version": "1.0", "url": "https://gematik.de/fhir/erpchrg/CodeSystem/GEM_ERPCHRG_CS_ConsentType", "concept": [ { @@ -13,7 +14,6 @@ "display": "Consent for saving electronic charge item" } ], - "version": "1.0", "publisher": "gematik GmbH", "contact": [ { diff --git a/Resources/fsh-generated/resources/Consent-0dcc5d4c-bf24-4c06-b02e-be5bc24587e2.json b/Resources/fsh-generated/resources/Consent-0dcc5d4c-bf24-4c06-b02e-be5bc24587e2.json index 5feedf1..a6318dc 100644 --- a/Resources/fsh-generated/resources/Consent-0dcc5d4c-bf24-4c06-b02e-be5bc24587e2.json +++ b/Resources/fsh-generated/resources/Consent-0dcc5d4c-bf24-4c06-b02e-be5bc24587e2.json @@ -32,8 +32,8 @@ "type": { "coding": [ { - "system": "http://fhir.de/CodeSystem/identifier-type-de-basis", - "code": "PKV" + "code": "PKV", + "system": "http://fhir.de/CodeSystem/identifier-type-de-basis" } ] }, diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-EX-MarkingFlag.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-EX-MarkingFlag.json index 171d4e5..ee62baa 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-EX-MarkingFlag.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-EX-MarkingFlag.json @@ -8,13 +8,6 @@ "experimental": false, "publisher": "gematik GmbH", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "complex-type", "abstract": false, "context": [ @@ -71,15 +64,6 @@ { "id": "Extension.extension:insuranceProvider.value[x]", "path": "Extension.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "rules": "closed" - }, "short": "true = submitted to insurance provider", "type": [ { @@ -109,15 +93,6 @@ { "id": "Extension.extension:subsidy.value[x]", "path": "Extension.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "rules": "closed" - }, "short": "true = submitted to aid organization", "type": [ { @@ -147,15 +122,6 @@ { "id": "Extension.extension:taxOffice.value[x]", "path": "Extension.extension.value[x]", - "slicing": { - "discriminator": [ - { - "type": "type", - "path": "$this" - } - ], - "rules": "closed" - }, "short": "true = submitted to tax office", "type": [ { diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-ChargeItem.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-ChargeItem.json index 2d33e58..1ae66ec 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-ChargeItem.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-ChargeItem.json @@ -8,28 +8,6 @@ "experimental": false, "publisher": "gematik GmbH", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - } - ], "kind": "resource", "abstract": false, "type": "ChargeItem", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReply.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReply.json index a02c96e..4861932 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReply.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReply.json @@ -10,23 +10,6 @@ "publisher": "gematik GmbH", "description": "Ressource used for the communication to reply to a change request on a ChargeItem", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": true, "type": "Communication", @@ -112,8 +95,8 @@ { "code": "Identifier", "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Identifier_PkvID_10", - "http://fhir.de/StructureDefinition/identifier-kvid-10" + "http://fhir.de/StructureDefinition/identifier-kvid-10", + "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Identifier_PkvID_10" ] } ] diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReq.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReq.json index ce49b75..31bb569 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReq.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Communication-ChargChangeReq.json @@ -10,23 +10,6 @@ "publisher": "gematik GmbH", "description": "Ressource used for the communication of Change Request on an existing ChargeItem between patient and pharmacy", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - } - ], "kind": "resource", "abstract": true, "type": "Communication", diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json index 835577d..d513048 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERPCHRG-PR-Consent.json @@ -8,28 +8,6 @@ "experimental": false, "publisher": "gematik GmbH", "fhirVersion": "4.0.1", - "mapping": [ - { - "identity": "workflow", - "uri": "http://hl7.org/fhir/workflow", - "name": "Workflow Pattern" - }, - { - "identity": "v2", - "uri": "http://hl7.org/v2", - "name": "HL7 v2 Mapping" - }, - { - "identity": "rim", - "uri": "http://hl7.org/v3", - "name": "RIM Mapping" - }, - { - "identity": "w5", - "uri": "http://hl7.org/fhir/fivews", - "name": "FiveWs Pattern Mapping" - } - ], "kind": "resource", "abstract": false, "type": "Consent", @@ -106,8 +84,8 @@ { "code": "Identifier", "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Identifier_PkvID_10", - "http://fhir.de/StructureDefinition/identifier-kvid-10" + "http://fhir.de/StructureDefinition/identifier-kvid-10", + "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Identifier_PkvID_10" ] } ] diff --git a/Resources/fsh-generated/resources/ValueSet-GEM-ERPCHRG-VS-ConsentType.json b/Resources/fsh-generated/resources/ValueSet-GEM-ERPCHRG-VS-ConsentType.json index 01c1922..38c33d4 100644 --- a/Resources/fsh-generated/resources/ValueSet-GEM-ERPCHRG-VS-ConsentType.json +++ b/Resources/fsh-generated/resources/ValueSet-GEM-ERPCHRG-VS-ConsentType.json @@ -5,8 +5,8 @@ "id": "GEM-ERPCHRG-VS-ConsentType", "title": "ValueSet of Consent Codes", "description": "Type of Consents for the ePrescription.", - "url": "https://gematik.de/fhir/erpchrg/ValueSet/GEM_ERPCHRG_VS_ConsentType", "version": "1.0", + "url": "https://gematik.de/fhir/erpchrg/ValueSet/GEM_ERPCHRG_VS_ConsentType", "publisher": "gematik GmbH", "contact": [ { diff --git a/Resources/input/fsh/aliases.fsh b/Resources/input/fsh/aliases.fsh index 7acf2a4..bd66546 100644 --- a/Resources/input/fsh/aliases.fsh +++ b/Resources/input/fsh/aliases.fsh @@ -1,6 +1,6 @@ -Alias: $identifier-telematik-id = http://fhir.de/StructureDefinition/identifier-telematik-id -Alias: $identifier-pkv = https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Identifier_PkvID_10 -Alias: $identifier-kvid-10 = http://fhir.de/StructureDefinition/identifier-kvid-10 +Alias: $identifier-telematik-id = https://gematik.de/fhir/sid/telematik-id +Alias: $identifier-pkv = http://fhir.de/sid/pkv/kvid-10 +Alias: $identifier-kvid-10 = http://fhir.de/sid/gkv/kvid-10 Alias: $DAV-PKV-PR-ERP-AbgabedatenBundle = http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle diff --git a/Resources/input/fsh/examples/Example_Binary.fsh b/Resources/input/fsh/examples/Example_Binary.fsh new file mode 100644 index 0000000..6372e5f --- /dev/null +++ b/Resources/input/fsh/examples/Example_Binary.fsh @@ -0,0 +1,6 @@ +Instance: DispenseItemBinaryExample +InstanceOf: Binary +Usage: #inline +* id = "c8720f99-6641-432d-94be-d49eaa164755" +* contentType = #application/pkcs7-mime +* data = "bWVycnkgY2hyaXN0bWFz" \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_ChargeItem.fsh b/Resources/input/fsh/examples/Example_ChargeItem.fsh new file mode 100644 index 0000000..dfb9ec3 --- /dev/null +++ b/Resources/input/fsh/examples/Example_ChargeItem.fsh @@ -0,0 +1,50 @@ +Instance: ChargeItem-GET-Completed +InstanceOf: GEM_ERPCHRG_PR_ChargeItem +Title: "ChargeItem with Bundles completed by Fachdienst" +Usage: #example +* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem|1.0" +* extension[markingFlag].url = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag" +* extension[markingFlag].extension[insuranceProvider].url = "insuranceProvider" +* extension[markingFlag].extension[insuranceProvider].valueBoolean = false +* extension[markingFlag].extension[subsidy].url = "subsidy" +* extension[markingFlag].extension[subsidy].valueBoolean = false +* extension[markingFlag].extension[taxOffice].url = "taxOffice" +* extension[markingFlag].extension[taxOffice].valueBoolean = false +* identifier[PrescriptionID].system = $GEM_ERP_NS_PrescriptionId +* identifier[PrescriptionID].value = "160.123.456.789.123.58" +* identifier[AccessCode].system = $GEM_ERP_NS_AccessCode +* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #billable +* code = http://terminology.hl7.org/CodeSystem/data-absent-reason#not-applicable +* subject.identifier.system = $identifier-pkv +* subject.identifier.value = "X234567890" +* enterer.identifier.system = $identifier-telematik-id +* enterer.identifier.value = "3-15.2.1456789123.191" +* enteredDate = "2022-12-16T06:13:00+05:00" +* supportingInformation[dispenseItemBundle] = Reference(Bundle/72bd741c-7ad8-41d8-97c3-9aabbdd0f5b4) +* supportingInformation[dispenseItemBundle].display = $DAV-PKV-PR-ERP-AbgabedatenBundle +* supportingInformation[receiptBundle] = Reference(Bundle/160.123.456.789.123.58) +* supportingInformation[receiptBundle].display = $GEM_ERP_PR_Bundle +* supportingInformation[prescriptionItemBundle] = Reference(Bundle/0428d416-149e-48a4-977c-394887b3d85c) +* supportingInformation[prescriptionItemBundle].display = $KBV_PR_ERP_Bundle + +Instance: ChargeItem-POST-Binary +InstanceOf: GEM_ERPCHRG_PR_ChargeItem +Title: "ChargeItem with contained Binary to Fachdienst" +Usage: #example +* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem|1.0" +* contained[+] = DispenseItemBinaryExample +* identifier[PrescriptionID].system = $GEM_ERP_NS_PrescriptionId +* identifier[PrescriptionID].value = "160.123.456.789.123.58" +* identifier[AccessCode].system = $GEM_ERP_NS_AccessCode +* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #billable +* code = http://terminology.hl7.org/CodeSystem/data-absent-reason#not-applicable +* subject.identifier.system = $identifier-pkv +* subject.identifier.value = "X234567890" +* subject.identifier.type.coding = http://fhir.de/CodeSystem/identifier-type-de-basis#PKV +* enterer.identifier.system = $identifier-telematik-id +* enterer.identifier.value = "3-15.2.1456789123.191" +* enteredDate = "2022-12-16T07:13:00+05:00" +* supportingInformation[dispenseItemBinary].reference = "#c8720f99-6641-432d-94be-d49eaa164755" +* supportingInformation[dispenseItemBinary].display = "Binary" diff --git a/Resources/input/fsh/examples/Example_Communication_ChargChangeReply.fsh b/Resources/input/fsh/examples/Example_Communication_ChargChangeReply.fsh new file mode 100644 index 0000000..6a78599 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Communication_ChargChangeReply.fsh @@ -0,0 +1,31 @@ +Instance: Communication_ChargChangeReply_Gkv +InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReply +Title: "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" +Usage: #example +* id = "3bbc2209-9c23-4553-986e-a5c9f69a39fb" +* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReply|1.0" +* meta.tag.display = "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" +* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90a8" +* status = #unknown +* sender.identifier.system = $identifier-telematik-id +* sender.identifier.value = "3-SMC-B-Testkarte-883110000123465" +* recipient[+].identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* recipient[=].identifier.value = "X234567890" +* sent = "2022-04-29T13:46:30.128+02:00" +* payload.contentString = "Erledigt." + +Instance: Communication_ChargChangeReply_Pkv +InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReply +Title: "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" +Usage: #example +* id = "7bbc2209-9c23-4553-986e-a5c9f69a39fp" +* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReply|1.0" +* meta.tag.display = "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" +* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90ap" +* status = #unknown +* sender.identifier.system = $identifier-telematik-id +* sender.identifier.value = "3-SMC-B-Testkarte-883110000123465" +* recipient[+].identifier.system = $identifier-pkv +* recipient[=].identifier.value = "X234567890" +* sent = "2022-07-04T13:46:30.128+02:00" +* payload.contentString = "Erledigt." \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Communication_ChargChangeRequest.fsh b/Resources/input/fsh/examples/Example_Communication_ChargChangeRequest.fsh new file mode 100644 index 0000000..26f97e6 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Communication_ChargChangeRequest.fsh @@ -0,0 +1,32 @@ +Instance: Communication_ChargChangeRequest_Gkv +InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReq +Title: "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" +Usage: #example +* id = "b4cf7f71-3ade-40ab-97a9-929f95af29f2" +* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReq|1.0" +* meta.tag.display = "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" +* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90a8?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #unknown +* recipient[+].identifier.system = $identifier-telematik-id +* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" +* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" +* sender.identifier.value = "X234567890" +* sent = "2020-04-29T13:43:30.128+02:00" +* payload.contentString = "Bitte meinen Namen in Günther ändern, Waltraud ist falsch." + + +Instance: Communication_ChargChangeRequest_Pkv +InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReq +Title: "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" +Usage: #example +* id = "b4cf7f71-3ade-40ab-97a9-929f95af29fp" +* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReq|1.0" +* meta.tag.display = "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" +* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90a8?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" +* status = #unknown +* recipient[+].identifier.system = $identifier-telematik-id +* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" +* sender.identifier.system = $identifier-pkv +* sender.identifier.value = "X234567890" +* sent = "2020-07-04T13:43:30.128+02:00" +* payload.contentString = "Bitte meinen Namen in Günther ändern, Waltraud ist falsch." \ No newline at end of file diff --git a/Resources/input/fsh/examples/Example_Consent.fsh b/Resources/input/fsh/examples/Example_Consent.fsh new file mode 100644 index 0000000..d0f1088 --- /dev/null +++ b/Resources/input/fsh/examples/Example_Consent.fsh @@ -0,0 +1,16 @@ +Instance: ChargeItemConsent +InstanceOf: GEM_ERPCHRG_PR_Consent +Title: "Consent to store digital ChargeItem" +Usage: #example +* id = "0dcc5d4c-bf24-4c06-b02e-be5bc24587e2" +* meta.profile = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Consent|1.0" +* status = #active +* scope = http://terminology.hl7.org/CodeSystem/consentscope#patient-privacy "Privacy Consent" +* category = https://gematik.de/fhir/erpchrg/CodeSystem/GEM_ERPCHRG_CS_ConsentType#CHARGCONS "Consent for saving electronic charge item" +* patient[+].identifier.type.coding = http://fhir.de/CodeSystem/identifier-type-de-basis#PKV +* patient[=].identifier.system = $identifier-pkv +* patient[=].identifier.value = "X234567890" +* patient[=].identifier.assigner.identifier.system = "http://fhir.de/sid/arge-ik/iknr" +* patient[=].identifier.assigner.identifier.value = "168140950" +* dateTime = "2022-06-01T07:13:00+05:00" +* policyRule = http://terminology.hl7.org/CodeSystem/v3-ActCode#OPTIN \ No newline at end of file diff --git a/Resources/input/fsh/extensions/GEM_ERPCHRG_EX_MarkingFlag.fsh b/Resources/input/fsh/extensions/GEM_ERPCHRG_EX_MarkingFlag.fsh index 7adfe80..9e23b3e 100644 --- a/Resources/input/fsh/extensions/GEM_ERPCHRG_EX_MarkingFlag.fsh +++ b/Resources/input/fsh/extensions/GEM_ERPCHRG_EX_MarkingFlag.fsh @@ -5,36 +5,33 @@ Id: GEM-ERPCHRG-EX-MarkingFlag * ^context.expression = "ChargeItem" * . ^short = "Options for submitted ChargeItem" * . ^definition = "Optional Extension for ChargeItem-Ressources in eRx workflow" + * extension ^slicing.discriminator.type = #value * extension ^slicing.discriminator.path = "url" * extension ^slicing.rules = #closed + * extension contains insuranceProvider 1..1 and subsidy 1..1 and taxOffice 1..1 + * extension[insuranceProvider] ^short = "submitted to health insurance provider" * extension[insuranceProvider] ^definition = "Patient submitted their ChargeItem to his health insurance provider." +* extension[insuranceProvider].url = "insuranceProvider" (exactly) * extension[insuranceProvider].value[x] only boolean -* extension[insuranceProvider].value[x] ^slicing.discriminator.type = #type -* extension[insuranceProvider].value[x] ^slicing.discriminator.path = "$this" -* extension[insuranceProvider].value[x] ^slicing.rules = #closed * extension[insuranceProvider].valueBoolean only boolean * extension[insuranceProvider].value[x] ^short = "true = submitted to insurance provider" * extension[subsidy] ^short = "submitted to aid organization ('Beihilfe')" * extension[subsidy] ^definition = "Patient submitted their ChargeItem to the aid organization ('Beihilfe')." +* extension[subsidy].url = "subsidy" (exactly) * extension[subsidy].value[x] only boolean -* extension[subsidy].value[x] ^slicing.discriminator.type = #type -* extension[subsidy].value[x] ^slicing.discriminator.path = "$this" -* extension[subsidy].value[x] ^slicing.rules = #closed * extension[subsidy].valueBoolean only boolean * extension[subsidy].value[x] ^short = "true = submitted to aid organization" * extension[taxOffice] ^short = "submitted to tax office" * extension[taxOffice] ^definition = "Patient submitted their ChargeItem to the tax office." +* extension[taxOffice].url = "taxOffice" (exactly) * extension[taxOffice].value[x] only boolean -* extension[taxOffice].value[x] ^slicing.discriminator.type = #type -* extension[taxOffice].value[x] ^slicing.discriminator.path = "$this" -* extension[taxOffice].value[x] ^slicing.rules = #closed * extension[taxOffice].valueBoolean only boolean * extension[taxOffice].value[x] ^short = "true = submitted to tax office" \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_ChargeItem.fsh b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_ChargeItem.fsh index 06fce2a..c3cf048 100644 --- a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_ChargeItem.fsh +++ b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_ChargeItem.fsh @@ -3,11 +3,14 @@ Parent: ChargeItem Id: GEM-ERPCHRG-PR-ChargeItem * insert Meta (GEM_ERPCHRG_PR_ChargeItem) * insert MetaProfile (GEM_ERPCHRG_PR_ChargeItem) + * extension ^slicing.discriminator.type = #value * extension ^slicing.discriminator.path = "url" * extension ^slicing.rules = #closed + * extension contains - $GEM_ERPCHRG_EX_MarkingFlag_URL named markingFlag 0..1 MS + GEM_ERPCHRG_EX_MarkingFlag named markingFlag 0..1 MS + * extension[markingFlag] ^short = "Flag list whether submitted Abrechnungsinformationen for PKV, Taxes, Subsidy" * extension[markingFlag].extension ^slicing.discriminator.type = #value * extension[markingFlag].extension ^slicing.discriminator.path = "url" @@ -35,11 +38,11 @@ Id: GEM-ERPCHRG-PR-ChargeItem * code.coding.code = #not-applicable (exactly) * subject.identifier 1.. -* subject.identifier only $identifier-kvid-10 or $identifier-pkv +* subject.identifier only IdentifierKvid10 or KBV_PR_FOR_Identifier_PkvID_10 * subject.identifier.assigner.display 0..1 * enterer ^short = "Pharmacy that initially provided the Abgabedaten in ChargeItem" * enterer.identifier 1.. -* enterer.identifier only $identifier-telematik-id +* enterer.identifier only IdentifierTelematikId * supportingInformation 1..4 MS * supportingInformation ^slicing.discriminator.type = #value @@ -64,473 +67,3 @@ Id: GEM-ERPCHRG-PR-ChargeItem * supportingInformation[prescriptionItemBundle].display = $KBV_PR_ERP_Bundle (exactly) * supportingInformation[prescriptionItemBundle] only Reference(Bundle) - -Instance: DispenseItemBinaryExample -InstanceOf: Binary -Usage: #inline -* id = "c8720f99-6641-432d-94be-d49eaa164755" -* contentType = #application/pkcs7-mime -* data = "bWVycnkgY2hyaXN0bWFz" - - -Instance: ChargeItemExampleBundles -InstanceOf: GEM_ERPCHRG_PR_ChargeItem -Title: "ChargeItem with Bundles completed by Fachdienst" -Usage: #example -* id = "abc825bc-bc30-45f8-b109-1b343fff5c45" -* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem|1.0" -* extension[GEM_ERPCHRG_EX_MarkingFlag].url = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag" -* extension[GEM_ERPCHRG_EX_MarkingFlag].extension[insuranceProvider].url = "insuranceProvider" -* extension[GEM_ERPCHRG_EX_MarkingFlag].extension[insuranceProvider].valueBoolean = false -* extension[GEM_ERPCHRG_EX_MarkingFlag].extension[subsidy].url = "subsidy" -* extension[GEM_ERPCHRG_EX_MarkingFlag].extension[subsidy].valueBoolean = false -* extension[GEM_ERPCHRG_EX_MarkingFlag].extension[taxOffice].url = "taxOffice" -* extension[GEM_ERPCHRG_EX_MarkingFlag].extension[taxOffice].valueBoolean = false -* identifier[PrescriptionID].system = $GEM_ERP_NS_PrescriptionId -* identifier[PrescriptionID].value = "160.123.456.789.123.58" -* identifier[AccessCode].system = $GEM_ERP_NS_AccessCode -* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #billable -* code = http://terminology.hl7.org/CodeSystem/data-absent-reason#not-applicable -* subject.identifier.system = "http://fhir.de/sid/pkv/kvid-10" -* subject.identifier.value = "X234567890" -* enterer.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* enterer.identifier.value = "3-15.2.1456789123.191" -* enteredDate = "2022-12-16T06:13:00+05:00" -* supportingInformation[dispenseItemBundle] = Reference(Bundle/72bd741c-7ad8-41d8-97c3-9aabbdd0f5b4) -* supportingInformation[dispenseItemBundle].display = $DAV-PKV-PR-ERP-AbgabedatenBundle -* supportingInformation[receiptBundle] = Reference(Bundle/160.123.456.789.123.58) -* supportingInformation[receiptBundle].display = $GEM_ERP_PR_Bundle -* supportingInformation[prescriptionItemBundle] = Reference(Bundle/0428d416-149e-48a4-977c-394887b3d85c) -* supportingInformation[prescriptionItemBundle].display = $KBV_PR_ERP_Bundle - -Instance: ChargeItemExampleBinary -InstanceOf: GEM_ERPCHRG_PR_ChargeItem -Title: "ChargeItem with contained Binary to Fachdienst" -Usage: #example -* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem|1.0" -* contained[+] = DispenseItemBinaryExample -* identifier[PrescriptionID].system = $GEM_ERP_NS_PrescriptionId -* identifier[PrescriptionID].value = "160.123.456.789.123.58" -* identifier[AccessCode].system = $GEM_ERP_NS_AccessCode -* identifier[AccessCode].value = "777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #billable -* code = http://terminology.hl7.org/CodeSystem/data-absent-reason#not-applicable -* subject.identifier.system = "http://fhir.de/sid/pkv/kvid-10" -* subject.identifier.value = "X234567890" -* enterer.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* enterer.identifier.value = "3-15.2.1456789123.191" -* enteredDate = "2022-12-16T07:13:00+05:00" -* supportingInformation[dispenseItemBinary].reference = "#c8720f99-6641-432d-94be-d49eaa164755" -* supportingInformation[dispenseItemBinary].display = "Binary" - -/*******************************************************/ -/* - -Dieser Block ist auskommentiert, da derzeit SUSHI noch einen Fehler enthält. Runde Dezimalwerte werden gerundet. Somit wird aus dem MwSteuersatz 19.00 -> 19 -Die korrigierten Beispiele liegen unter /corrected_decimal_values_bundles -Falls Änderungen an den Beispielen geschehen sollen sind diese zu generieren -> korrigieren und dann in corrected_decimal_values_bundles zu kopieren. -https://github.com/FHIR/sushi/issues/1215 - -Instance: Response_App_GETChargeItemById -InstanceOf: Bundle -Usage: #example -* id = "Response-App-GETChargeItemById" -* meta.lastUpdated = "2021-09-02T11:38:42.557+00:00" -* type = #searchset -* total = 4 -* entry[0].fullUrl = "https://prescriptionserver.telematik/ChargeItem/abc825bc-bc30-45f8-b109-1b343fff5c45" -* entry[=].resource = App-ChargeItem-abc825bc-bc30-45f8-b109-1b343fff5c45 -* entry[+].fullUrl = "https://prescriptionserver.telematik/Bundle/414ca393-dde3-4082-9a3b-3752e629e4aa" -* entry[=].resource = PrescriptionBundleExample -* entry[+].fullUrl = "https://prescriptionserver.telematik/Bundle/f548dde3-a319-486b-8624-6176ff41ad90" -* entry[=].resource = AbgabedatenBundleExample -* entry[+].fullUrl = "https://prescriptionserver.telematik/Bundle/dffbfd6a-5712-4798-bdc8-07201eb77ab8" -* entry[=].resource = QuittungsBundleExample - -*/ - -Instance: App-ChargeItem-abc825bc-bc30-45f8-b109-1b343fff5c45 -InstanceOf: ChargeItem -Usage: #inline -* 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.extension[0].url = "insuranceProvider" -* extension.extension[=].valueBoolean = false -* extension.extension[+].url = "subsidy" -* extension.extension[=].valueBoolean = false -* extension.extension[+].url = "taxOffice" -* extension.extension[=].valueBoolean = false -* identifier.system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier.value = "200.086.824.605.539.20" -* status = #billable -* code = http://terminology.hl7.org/CodeSystem/data-absent-reason#not-applicable -* subject.identifier.system = "http://fhir.de/sid/pkv/kvid-10" -* subject.identifier.value = "X234567890" -* enterer.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* enterer.identifier.value = "3-SMC-B-Testkarte-883110000095957" -* enteredDate = "2021-06-01T07:13:00+05:00" -* supportingInformation[0] = Reference(Bundle/414ca393-dde3-4082-9a3b-3752e629e4aa) "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Bundle" -* supportingInformation[+] = Reference(Bundle/f548dde3-a319-486b-8624-6176ff41ad90) "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle" -* supportingInformation[+] = Reference(Bundle/dffbfd6a-5712-4798-bdc8-07201eb77ab8) "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle" - -/*******************************************************/ -/* - -Dieser Block ist auskommentiert, da derzeit SUSHI noch einen Fehler enthält. Runde Dezimalwerte werden gerundet. Somit wird aus dem MwSteuersatz 19.00 -> 19 -Die korrigierten Beispiele liegen unter /corrected_decimal_values_bundles -Falls Änderungen an den Beispielen geschehen sollen sind diese zu generieren -> korrigieren und dann in corrected_decimal_values_bundles zu kopieren. -https://github.com/FHIR/sushi/issues/1215 - -Instance: Response_Apotheker_GETChargeItemById -InstanceOf: Bundle -Usage: #example -* id = "Response-Apotheker-GETChargeItemById" -* meta.lastUpdated = "2021-09-02T11:38:42.557+00:00" -* type = #searchset -* total = 2 -* entry[0].fullUrl = "https://prescriptionserver.telematik/ChargeItem/abc825bc-bc30-45f8-b109-1b343fff5c45" -* entry[=].resource = Apotheker-ChargeItem-abc825bc-bc30-45f8-b109-1b343fff5c45 -* entry[+].fullUrl = "https://prescriptionserver.telematik/Bundle/f548dde3-a319-486b-8624-6176ff41ad90" -* entry[=].resource = AbgabedatenBundleExample - -Instance: Apotheker-ChargeItem-abc825bc-bc30-45f8-b109-1b343fff5c45 -InstanceOf: ChargeItem -Usage: #inline -* 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.extension[0].url = "insuranceProvider" -* extension.extension[=].valueBoolean = false -* extension.extension[+].url = "subsidy" -* extension.extension[=].valueBoolean = false -* extension.extension[+].url = "taxOffice" -* extension.extension[=].valueBoolean = false -* identifier.system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier.value = "200.086.824.605.539.20" -* status = #billable -* code = http://terminology.hl7.org/CodeSystem/data-absent-reason#not-applicable -* subject.identifier.system = "http://fhir.de/sid/pkv/kvid-10" -* subject.identifier.value = "X234567890" -* enterer.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* enterer.identifier.value = "3-SMC-B-Testkarte-883110000095957" -* enteredDate = "2021-06-01T07:13:00+05:00" -* supportingInformation[0] = Reference(Bundle/f548dde3-a319-486b-8624-6176ff41ad90) "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle" -*/ -/*******************************************************/ - -Instance: PrescriptionBundleExample -InstanceOf: Bundle -Usage: #inline -* id = "414ca393-dde3-4082-9a3b-3752e629e4aa" -* meta.lastUpdated = "2022-05-20T08:30:00Z" -* meta.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" -* identifier.value = "200.086.824.605.539.20" -* type = #document -* timestamp = "2022-05-20T08:30:00Z" -* entry[0].fullUrl = "http://pvs.praxis.local/fhir/Composition/1e33b2b8-770b-4dc2-8d73-74c1989540c4" -* entry[=].resource.resourceType = "Composition" -* entry[=].resource.id = "1e33b2b8-770b-4dc2-8d73-74c1989540c4" -* entry[=].resource.meta.profile = "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0" -* entry[=].resource.extension.url = "https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis" -* entry[=].resource.extension.valueCoding = https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN#00 -* entry[=].resource.status = #final -* entry[=].resource.type = https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART#e16A -* entry[=].resource.subject.reference = "Patient/30635f5d-c233-4500-94e8-6414940236aa" -* entry[=].resource.date = "2022-05-20T08:00:00Z" -* entry[=].resource.author[0].reference = "Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c" -* entry[=].resource.author[=].type = "Practitioner" -* entry[=].resource.author[+].type = "Device" -* entry[=].resource.author[=].identifier.system = "https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer" -* entry[=].resource.author[=].identifier.value = "Y/400/2107/36/999" -* entry[=].resource.title = "elektronische Arzneimittelverordnung" -* entry[=].resource.custodian.reference = "Organization/2a555cd3-0543-483c-88b3-f68647620962" -* entry[=].resource.section[0].code = https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type#Prescription -* entry[=].resource.section[=].entry.reference = "MedicationRequest/c40ede18-da4b-11eb-8d19-0242ac130003" -* entry[=].resource.section[+].code = https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type#Coverage -* entry[=].resource.section[=].entry.reference = "Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60" -* entry[+].fullUrl = "http://pvs.praxis.local/fhir/MedicationRequest/c40ede18-da4b-11eb-8d19-0242ac130003" -* entry[=].resource.resourceType = "MedicationRequest" -* entry[=].resource.id = "c40ede18-da4b-11eb-8d19-0242ac130003" -* entry[=].resource.meta.profile = "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0" -* entry[=].resource.extension[0].url = "https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment" -* entry[=].resource.extension[=].valueCoding = https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment#0 -* entry[=].resource.extension[+].url = "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee" -* entry[=].resource.extension[=].valueBoolean = false -* entry[=].resource.extension[+].url = "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG" -* entry[=].resource.extension[=].valueBoolean = false -* entry[=].resource.extension[+].url = "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription" -* entry[=].resource.extension[=].extension.url = "Kennzeichen" -* entry[=].resource.extension[=].extension.valueBoolean = false -* entry[=].resource.status = #active -* entry[=].resource.intent = #order -* entry[=].resource.medicationReference.reference = "Medication/125115cc-da48-11eb-8d19-0242ac130003" -* entry[=].resource.subject.reference = "Patient/30635f5d-c233-4500-94e8-6414940236aa" -* entry[=].resource.authoredOn = "2022-05-20" -* entry[=].resource.requester.reference = "Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c" -* entry[=].resource.insurance.reference = "Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60" -* entry[=].resource.dispenseRequest.quantity = 1 '{Package}' -* entry[=].resource.substitution.allowedBoolean = false -* entry[+].fullUrl = "http://pvs.praxis.local/fhir/Medication/125115cc-da48-11eb-8d19-0242ac130003" -* entry[=].resource.resourceType = "Medication" -* entry[=].resource.id = "125115cc-da48-11eb-8d19-0242ac130003" -* entry[=].resource.meta.profile = "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0" -* entry[=].resource.extension[0].url = "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type" -* entry[=].resource.extension[=].valueCodeableConcept.coding.version = "http://snomed.info/sct/900000000000207008/version/20220331" -* entry[=].resource.extension[=].valueCodeableConcept.coding = http://snomed.info/sct#763158003 "Medicinal product (product)" -* entry[=].resource.extension[+].url = "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category" -* entry[=].resource.extension[=].valueCoding = https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category#00 -* entry[=].resource.extension[+].url = "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine" -* entry[=].resource.extension[=].valueBoolean = false -* entry[=].resource.extension[+].url = "http://fhir.de/StructureDefinition/normgroesse" -* entry[=].resource.extension[=].valueCode = #N2 -* entry[=].resource.code = http://fhir.de/CodeSystem/ifa/pzn#10203603 -* entry[=].resource.code.text = "ASPIRIN 500MG UEBERZ TABL, 20 St" -* entry[=].resource.form = https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM#UTA -* entry[+].fullUrl = "http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa" -* entry[=].resource.resourceType = "Patient" -* entry[=].resource.id = "30635f5d-c233-4500-94e8-6414940236aa" -* entry[=].resource.meta.profile = "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0" -* entry[=].resource.identifier.type = http://fhir.de/CodeSystem/identifier-type-de-basis#GKV -* entry[=].resource.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* entry[=].resource.identifier.value = "K220645122" -* entry[=].resource.name.use = #official -* entry[=].resource.name.family = "Schuhmann" -* entry[=].resource.name.family.extension.url = "http://hl7.org/fhir/StructureDefinition/humanname-own-name" -* entry[=].resource.name.family.extension.valueString = "Schuhmann" -* entry[=].resource.name.given = "Sahra" -* entry[=].resource.birthDate = "1970-12-24" -* entry[=].resource.address.type = #both -* entry[=].resource.address.line = "Berliner Straße 1" -* entry[=].resource.address.line.extension[0].url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" -* entry[=].resource.address.line.extension[=].valueString = "1" -* entry[=].resource.address.line.extension[+].url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" -* entry[=].resource.address.line.extension[=].valueString = "Berliner Straße" -* entry[=].resource.address.city = "Husum" -* entry[=].resource.address.postalCode = "25813" -* entry[=].resource.address.country = "D" -* entry[+].fullUrl = "http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c" -* entry[=].resource.resourceType = "Practitioner" -* entry[=].resource.id = "d6f3b55d-3095-4655-96dc-da3bec21271c" -* entry[=].resource.meta.profile = "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0" -* entry[=].resource.identifier.type = http://terminology.hl7.org/CodeSystem/v2-0203#LANR -* entry[=].resource.identifier.system = "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR" -* entry[=].resource.identifier.value = "754236701" -* entry[=].resource.name.use = #official -* entry[=].resource.name.family = "Schulz" -* entry[=].resource.name.family.extension.url = "http://hl7.org/fhir/StructureDefinition/humanname-own-name" -* entry[=].resource.name.family.extension.valueString = "Schulz" -* entry[=].resource.name.given = "Ben" -* entry[=].resource.qualification[0].code = https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type#00 -* entry[=].resource.qualification[+].code = https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung#Berufsbezeichnung -* entry[=].resource.qualification[=].code.text = "Facharzt für Allgemeinmedizin" -* entry[+].fullUrl = "http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962" -* entry[=].resource.resourceType = "Organization" -* entry[=].resource.id = "2a555cd3-0543-483c-88b3-f68647620962" -* entry[=].resource.meta.profile = "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0" -* entry[=].resource.identifier.type = http://terminology.hl7.org/CodeSystem/v2-0203#BSNR -* entry[=].resource.identifier.system = "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR" -* entry[=].resource.identifier.value = "724444400" -* entry[=].resource.name = "Hausarztpraxis" -* entry[=].resource.telecom[0].system = #phone -* entry[=].resource.telecom[=].value = "030321654987" -* entry[=].resource.telecom[+].system = #email -* entry[=].resource.telecom[=].value = "hausarztpraxis@e-mail.de" -* entry[=].resource.address.type = #both -* entry[=].resource.address.line[0] = "Herbert-Lewin-Platz 2" -* entry[=].resource.address.line[+] = "Erdgeschoss" -* entry[=].resource.address.line[0].extension[0].url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" -* entry[=].resource.address.line[=].extension[=].valueString = "2" -* entry[=].resource.address.line[=].extension[+].url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" -* entry[=].resource.address.line[=].extension[=].valueString = "Herbert-Lewin-Platz" -* entry[=].resource.address.line[+].extension.url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator" -* entry[=].resource.address.line[=].extension.valueString = "Erdgeschoss" -* entry[=].resource.address.city = "Berlin" -* entry[=].resource.address.postalCode = "10623" -* entry[=].resource.address.country = "D" -* entry[+].fullUrl = "http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60" -* entry[=].resource.resourceType = "Coverage" -* entry[=].resource.id = "e51239e1-ba74-48e0-97fb-9754d2b05c60" -* entry[=].resource.meta.profile = "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0" -* entry[=].resource.extension[0].url = "http://fhir.de/StructureDefinition/gkv/besondere-personengruppe" -* entry[=].resource.extension[=].valueCoding = https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE#00 -* entry[=].resource.extension[+].url = "http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen" -* entry[=].resource.extension[=].valueCoding = https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP#00 -* entry[=].resource.extension[+].url = "http://fhir.de/StructureDefinition/gkv/wop" -* entry[=].resource.extension[=].valueCoding = https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP#01 -* entry[=].resource.extension[+].url = "http://fhir.de/StructureDefinition/gkv/versichertenart" -* entry[=].resource.extension[=].valueCoding = https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS#1 -* entry[=].resource.status = #active -* entry[=].resource.type = http://fhir.de/CodeSystem/versicherungsart-de-basis#SEL -* entry[=].resource.beneficiary.reference = "Patient/30635f5d-c233-4500-94e8-6414940236aa" -* entry[=].resource.payor.identifier.system = "http://fhir.de/sid/arge-ik/iknr" -* entry[=].resource.payor.identifier.value = "108018347" -* entry[=].resource.payor.display = "AOK Baden-Württemberg" -* signature.type = urn:iso-astm:E1762-95:2013#1.2.840.10065.1.12.1.1 -* signature.when = "2022-03-18T15:28:00+00:00" -* signature.who = Reference(https://erp.zentral.erp.splitdns.ti-dienste.de/Device/1) -* signature.sigFormat = #application/pkcs7-mime -* signature.data = "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" - -Instance: AbgabedatenBundleExample -InstanceOf: Bundle -Usage: #inline -* id = "f548dde3-a319-486b-8624-6176ff41ad90" -* meta.profile = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle|1.1" -* meta.tag[0].display = "Beispiel RezeptAbgabedatenPKV Bundle (FAM + Noctu + Rezeptänderung)" -* type = #document -* identifier.system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* identifier.value = "200.086.824.605.539.20" -* timestamp = "2022-03-25T23:40:00Z" -* entry[0].resource.resourceType = "Composition" -* entry[=].resource.id = "4dc5f425-b9b6-4e39-9166-42668ead6c86" -* entry[=].resource.meta.profile = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenComposition|1.1" -* entry[=].resource.status = #final -* entry[=].resource.type = http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-CompositionTypes#ERezeptAbgabedaten -* entry[=].resource.title = "ERezeptAbgabedaten" -* entry[=].resource.section[0].title = "Abgabeinformationen" -* entry[=].resource.section[=].entry.reference = "urn:uuid:37a647b8-cb89-491a-af0f-f9bffc2b386c" -* entry[=].resource.section[+].title = "Apotheke" -* entry[=].resource.section[=].entry.reference = "urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" -* entry[=].resource.date = "2022-03-25T23:40:00Z" -* entry[=].resource.author.reference = "urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" -* entry[=].fullUrl = "urn:uuid:4dc5f425-b9b6-4e39-9166-42668ead6c86" -* entry[+].fullUrl = "urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" -* entry[=].resource.resourceType = "Organization" -* entry[=].resource.id = "1fa57d53-812b-4cab-a42e-94a12481108a" -* entry[=].resource.meta.profile = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Apotheke|1.1" -* entry[=].resource.identifier.system = "http://fhir.de/sid/arge-ik/iknr" -* entry[=].resource.identifier.value = "123456789" -* entry[=].resource.address.type = #physical -* entry[=].resource.address.line = "Taunusstraße 89" -* entry[=].resource.address.line.extension[0].url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName" -* entry[=].resource.address.line.extension[=].valueString = "Taunusstraße" -* entry[=].resource.address.line.extension[+].url = "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber" -* entry[=].resource.address.line.extension[=].valueString = "89" -* entry[=].resource.address.city = "Langen" -* entry[=].resource.address.postalCode = "63225" -* entry[=].resource.address.country = "D" -* entry[=].resource.name = "Adler-Apotheke" -* entry[+].fullUrl = "urn:uuid:37a647b8-cb89-491a-af0f-f9bffc2b386c" -* entry[=].resource.resourceType = "MedicationDispense" -* entry[=].resource.id = "37a647b8-cb89-491a-af0f-f9bffc2b386c" -* entry[=].resource.meta.profile = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Abgabeinformationen|1.1" -* entry[=].resource.status = #completed -* entry[=].resource.medicationCodeableConcept = http://terminology.hl7.org/CodeSystem/data-absent-reason#not-applicable -* entry[=].resource.type = http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-MedicationDispenseTyp#Abgabeinformationen -* entry[=].resource.extension[0].url = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Abrechnungszeilen" -* entry[=].resource.extension[=].valueReference.reference = "urn:uuid:8a99bfa5-f7aa-4741-99d8-f1abbd301ae1" -* entry[=].resource.extension[+].url = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-EX-ERP-AbrechnungsTyp" -* entry[=].resource.extension[=].valueCodeableConcept = http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-AbrechnungsTyp#1 -* entry[=].resource.authorizingPrescription.identifier.system = "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" -* entry[=].resource.authorizingPrescription.identifier.value = "200.086.824.605.539.20" -* entry[=].resource.substitution.extension.extension[0].url = "ArtRezeptaenderung" -* entry[=].resource.substitution.extension.extension[=].valueCodeableConcept = http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-ArtRezeptaenderung#21 -* entry[=].resource.substitution.extension.extension[+].url = "RueckspracheArzt" -* entry[=].resource.substitution.extension.extension[=].valueCodeableConcept = http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-RueckspracheArzt#2 -* entry[=].resource.substitution.extension.url = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Rezeptaenderung" -* entry[=].resource.substitution.wasSubstituted = true -* entry[=].resource.performer.actor.reference = "urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" -* entry[=].resource.whenHandedOver = "2022-03-25" -* entry[+].fullUrl = "urn:uuid:8a99bfa5-f7aa-4741-99d8-f1abbd301ae1" -* entry[=].resource.resourceType = "Invoice" -* entry[=].resource.id = "8a99bfa5-f7aa-4741-99d8-f1abbd301ae1" -* entry[=].resource.meta.profile = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Abrechnungszeilen|1.1" -* entry[=].resource.status = #issued -* entry[=].resource.type = http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-InvoiceTyp#Abrechnungszeilen -* entry[=].resource.lineItem[0].priceComponent.type = #informational -* entry[=].resource.lineItem[=].priceComponent.extension[0].url = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz" -* entry[=].resource.lineItem[=].priceComponent.extension[=].valueDecimal = 19.00 -* entry[=].resource.lineItem[=].priceComponent.extension[+].url = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter" -* entry[=].resource.lineItem[=].priceComponent.extension[=].extension[0].url = "Kategorie" -* entry[=].resource.lineItem[=].priceComponent.extension[=].extension[=].valueCodeableConcept = http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-KostenVersicherterKategorie#0 -* entry[=].resource.lineItem[=].priceComponent.extension[=].extension[+].url = "Kostenbetrag" -* entry[=].resource.lineItem[=].priceComponent.extension[=].extension[=].valueMoney.currency = #EUR -* entry[=].resource.lineItem[=].priceComponent.extension[=].extension[=].valueMoney.value = 0.00 -* entry[=].resource.lineItem[=].priceComponent.amount.currency = #EUR -* entry[=].resource.lineItem[=].priceComponent.amount.value = 48.98 -* entry[=].resource.lineItem[=].priceComponent.factor = 2 -* entry[=].resource.lineItem[=].sequence = 1 -* entry[=].resource.lineItem[=].chargeItemCodeableConcept = http://fhir.de/CodeSystem/ifa/pzn#11514676 -* entry[=].resource.lineItem[+].priceComponent.type = #informational -* entry[=].resource.lineItem[=].priceComponent.extension[0].url = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz" -* entry[=].resource.lineItem[=].priceComponent.extension[=].valueDecimal = 19.00 -* entry[=].resource.lineItem[=].priceComponent.extension[+].url = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter" -* entry[=].resource.lineItem[=].priceComponent.extension[=].extension[0].url = "Kategorie" -* entry[=].resource.lineItem[=].priceComponent.extension[=].extension[=].valueCodeableConcept = http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-KostenVersicherterKategorie#0 -* entry[=].resource.lineItem[=].priceComponent.extension[=].extension[+].url = "Kostenbetrag" -* entry[=].resource.lineItem[=].priceComponent.extension[=].extension[=].valueMoney.currency = #EUR -* entry[=].resource.lineItem[=].priceComponent.extension[=].extension[=].valueMoney.value = 0.00 -* entry[=].resource.lineItem[=].priceComponent.amount.currency = #EUR -* entry[=].resource.lineItem[=].priceComponent.amount.value = 2.50 -* entry[=].resource.lineItem[=].priceComponent.factor = 1 -* entry[=].resource.lineItem[=].extension.extension.extension[0].url = "Gruppe" -* entry[=].resource.lineItem[=].extension.extension.extension[=].valueCodeableConcept = http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe#11 -* entry[=].resource.lineItem[=].extension.extension.extension[+].url = "DatumUhrzeit" -* entry[=].resource.lineItem[=].extension.extension.extension[=].valueDateTime = "2022-03-25T23:30:00.0Z" -* entry[=].resource.lineItem[=].extension.extension.extension[+].url = "Schluessel" -* entry[=].resource.lineItem[=].extension.extension.extension[=].valueBoolean = true -* entry[=].resource.lineItem[=].extension.extension.url = "ZusatzattributAbgabeNoctu" -* entry[=].resource.lineItem[=].extension.url = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute" -* entry[=].resource.lineItem[=].sequence = 2 -* entry[=].resource.lineItem[=].chargeItemCodeableConcept = http://fhir.de/CodeSystem/ifa/pzn#02567018 -* entry[=].resource.totalGross.currency = #EUR -* entry[=].resource.totalGross.extension.url = "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Gesamtzuzahlung" -* entry[=].resource.totalGross.extension.valueMoney.currency = #EUR -* entry[=].resource.totalGross.extension.valueMoney.value = 0.00 -* entry[=].resource.totalGross.value = 51.48 -* signature.type = urn:iso-astm:E1762-95:2013#1.2.840.10065.1.12.1.1 -* signature.when = "2022-03-18T15:28:00+00:00" -* signature.who = Reference(https://pharmacy-konn/Device/1) -* signature.onBehalfOf.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* signature.onBehalfOf.identifier.value = "3-SMC-B-Testkarte-883110000129070" -* signature.sigFormat = #application/pkcs7-mime -* signature.data = "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" - -Instance: QuittungsBundleExample -InstanceOf: Bundle -Usage: #inline -* id = "dffbfd6a-5712-4798-bdc8-07201eb77ab8" -* meta.profile = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Bundle|1.2" -* meta.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" -* identifier.value = "200.086.824.605.539.20" -* timestamp = "2022-03-18T15:28:00+00:00" -* entry[0].fullUrl = "urn:uuid:c624cf47-e235-4624-af71-0a09dc9254dc" -* entry[=].resource.resourceType = "Composition" -* entry[=].resource.id = "c624cf47-e235-4624-af71-0a09dc9254dc" -* entry[=].resource.meta.profile = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Composition|1.2" -* entry[=].resource.status = #final -* entry[=].resource.title = "Quittung" -* entry[=].resource.extension.url = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_Beneficiary" -* entry[=].resource.extension.valueIdentifier.system = "https://gematik.de/fhir/sid/telematik-id" -* entry[=].resource.extension.valueIdentifier.value = "3-SMC-B-Testkarte-883110000129070" -* entry[=].resource.type = https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_DocumentType#3 "Receipt" -* entry[=].resource.date = "2022-03-18T15:29:00+00:00" -* entry[=].resource.author.reference = "https://erp.zentral.erp.splitdns.ti-dienste.de/Device/1" -* entry[=].resource.event.period.start = "2022-03-18T15:28:00+00:00" -* entry[=].resource.event.period.end = "2022-03-18T15:29:00+00:00" -* entry[=].resource.section.entry.reference = "Binary/PrescriptionDigest-200.086.824.605.539.20" -* entry[+].fullUrl = "https://erp.zentral.erp.splitdns.ti-dienste.de/Device/1" -* entry[=].resource.resourceType = "Device" -* entry[=].resource.id = "1" -* entry[=].resource.meta.profile = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Device|1.2" -* entry[=].resource.status = #active -* entry[=].resource.serialNumber = "1.4.0" -* entry[=].resource.deviceName.name = "E-Rezept-Fachdienst" -* entry[=].resource.deviceName.type = #user-friendly-name -* entry[=].resource.version.value = "1.4.0" -* entry[=].resource.contact.system = #email -* entry[=].resource.contact.value = "betrieb@gematik.de" -* entry[+].fullUrl = "https://erp.zentral.erp.splitdns.ti-dienste.de/Binary/PrescriptionDigest-200.086.824.605.539.20" -* entry[=].resource.resourceType = "Binary" -* entry[=].resource.id = "PrescriptionDigest-200.086.824.605.539.20" -* entry[=].resource.meta.profile = "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Digest|1.2" -* entry[=].resource.contentType = #application/octet-stream -* entry[=].resource.data = "tJg8c5ZtdhzEEhJ0ZpAsUVFx5dKuYgQFs5oKgthi17M=" -* signature.type = urn:iso-astm:E1762-95:2013#1.2.840.10065.1.12.1.1 -* signature.when = "2022-03-18T15:28:00+00:00" -* signature.who = Reference(https://erp.zentral.erp.splitdns.ti-dienste.de/Device/1) -* signature.sigFormat = #application/pkcs7-mime -* signature.data = "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh index 17106b5..399e4a7 100644 --- a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh +++ b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReply.fsh @@ -15,42 +15,10 @@ Description: "Ressource used for the communication to reply to a change request * received MS * recipient 1..1 * recipient.identifier 1..1 -* recipient.identifier only $identifier-pkv or $identifier-kvid-10 +* recipient.identifier only IdentifierKvid10 or KBV_PR_FOR_Identifier_PkvID_10 * recipient.identifier.assigner.display 0..1 * sender 1..1 * sender.identifier 1..1 * sender.identifier only IdentifierTelematikId * payload 0..1 -* payload.content[x] only string - -Instance: Communication_ChargChangeReply_Gkv -InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReply -Title: "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" -Usage: #example -* id = "3bbc2209-9c23-4553-986e-a5c9f69a39fb" -* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReply|1.0" -* meta.tag.display = "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" -* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90a8" -* status = #unknown -* sender.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* sender.identifier.value = "3-SMC-B-Testkarte-883110000123465" -* recipient[+].identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* recipient[=].identifier.value = "X234567890" -* sent = "2022-04-29T13:46:30.128+02:00" -* payload.contentString = "Erledigt." - -Instance: Communication_ChargChangeReply_Pkv -InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReply -Title: "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" -Usage: #example -* id = "7bbc2209-9c23-4553-986e-a5c9f69a39fp" -* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReply|1.0" -* meta.tag.display = "Communication message sent by pharmacy to patient in response to a previous ChargeItem-related message" -* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90ap" -* status = #unknown -* sender.identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* sender.identifier.value = "3-SMC-B-Testkarte-883110000123465" -* recipient[+].identifier.system = "http://fhir.de/sid/pkv/kvid-10" -* recipient[=].identifier.value = "X234567890" -* sent = "2022-07-04T13:46:30.128+02:00" -* payload.contentString = "Erledigt." \ No newline at end of file +* payload.content[x] only string \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh index da6ee73..cb19a41 100644 --- a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh +++ b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Communication_ChargChangeReq.fsh @@ -21,39 +21,7 @@ Description: "Ressource used for the communication of Change Request on an exist * recipient.identifier only IdentifierTelematikId * sender MS * sender.identifier 1..1 -* sender.identifier only $identifier-kvid-10 or $identifier-pkv +* sender.identifier only IdentifierKvid10 or KBV_PR_FOR_Identifier_PkvID_10 * payload 0..1 * payload.content[x] only string -Instance: Communication_ChargChangeRequest_Gkv -InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReq -Title: "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" -Usage: #example -* id = "b4cf7f71-3ade-40ab-97a9-929f95af29f2" -* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReq|1.0" -* meta.tag.display = "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" -* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90a8?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #unknown -* recipient[+].identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" -* sender.identifier.system = "http://fhir.de/sid/gkv/kvid-10" -* sender.identifier.value = "X234567890" -* sent = "2020-04-29T13:43:30.128+02:00" -* payload.contentString = "Bitte meinen Namen in Günther ändern, Waltraud ist falsch." - - -Instance: Communication_ChargChangeRequest_Pkv -InstanceOf: GEM_ERPCHRG_PR_Communication_ChargChangeReq -Title: "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" -Usage: #example -* id = "b4cf7f71-3ade-40ab-97a9-929f95af29fp" -* meta.profile[+] = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReq|1.0" -* meta.tag.display = "Communication message sent by patient to pharmacy to request the change of an existing ChargeItem by providing the AccessCode" -* basedOn.reference = "ChargeItem/a51520ec-0899-404f-bb97-fe7d461f90a8?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea" -* status = #unknown -* recipient[+].identifier.system = "https://gematik.de/fhir/sid/telematik-id" -* recipient[=].identifier.value = "3-SMC-B-Testkarte-883110000123465" -* sender.identifier.system = "http://fhir.de/sid/pkv/kvid-10" -* sender.identifier.value = "X234567890" -* sent = "2020-07-04T13:43:30.128+02:00" -* payload.contentString = "Bitte meinen Namen in Günther ändern, Waltraud ist falsch." \ No newline at end of file diff --git a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh index db8079f..6dfe436 100644 --- a/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh +++ b/Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh @@ -11,28 +11,8 @@ Id: GEM-ERPCHRG-PR-Consent * category from GEM_ERPCHRG_VS_ConsentType (extensible) * patient 1.. * patient.identifier 1..1 -* patient.identifier only $identifier-pkv or $identifier-kvid-10 +* patient.identifier only IdentifierKvid10 or KBV_PR_FOR_Identifier_PkvID_10 * patient.identifier.assigner.display 0..1 * dateTime 1.. * policyRule MS -* policyRule from http://terminology.hl7.org/ValueSet/v3-ActCode - - - -Instance: ChargeItemConsent -InstanceOf: GEM_ERPCHRG_PR_Consent -Title: "Consent to store digital ChargeItem" -Usage: #example -* id = "0dcc5d4c-bf24-4c06-b02e-be5bc24587e2" -* meta.profile = "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Consent|1.0" -* status = #active -* scope = http://terminology.hl7.org/CodeSystem/consentscope#patient-privacy "Privacy Consent" -* category = https://gematik.de/fhir/erpchrg/CodeSystem/GEM_ERPCHRG_CS_ConsentType#CHARGCONS "Consent for saving electronic charge item" -* patient[+].identifier.type.coding[+].system = "http://fhir.de/CodeSystem/identifier-type-de-basis" -* patient[=].identifier.type.coding[=].code = #PKV -* patient[=].identifier.system = "http://fhir.de/sid/pkv/kvid-10" -* patient[=].identifier.value = "X234567890" -* patient[=].identifier.assigner.identifier.system = "http://fhir.de/sid/arge-ik/iknr" -* patient[=].identifier.assigner.identifier.value = "168140950" -* dateTime = "2022-06-01T07:13:00+05:00" -* policyRule = http://terminology.hl7.org/CodeSystem/v3-ActCode#OPTIN \ No newline at end of file +* policyRule from http://terminology.hl7.org/ValueSet/v3-ActCode \ No newline at end of file diff --git a/Resources/sushi-config.yaml b/Resources/sushi-config.yaml index 62de784..88b3ce7 100644 --- a/Resources/sushi-config.yaml +++ b/Resources/sushi-config.yaml @@ -3,9 +3,8 @@ fhirVersion: 4.0.1 FSHOnly: true applyExtensionMetadataToRoot: false -version: "1.0.3" +version: "1.0.4" dependencies: hl7.fhir.r4.core: 4.0.1 de.basisprofil.r4: 1.3.2 - de.gematik.erezept-workflow.r4: 1.3.x kbv.ita.for: 1.1.0 \ No newline at end of file diff --git a/corrected_decimal_values_bundles/Bundle-Response-Apotheker-GETChargeItemById.json b/corrected_decimal_values_bundles/Bundle-Response-Apotheker-GETChargeItemById.json deleted file mode 100644 index 00eadab..0000000 --- a/corrected_decimal_values_bundles/Bundle-Response-Apotheker-GETChargeItemById.json +++ /dev/null @@ -1,474 +0,0 @@ -{ - "resourceType": "Bundle", - "id": "Response-Apotheker-GETChargeItemById", - "meta": { - "lastUpdated": "2021-09-02T11:38:42.557+00:00" - }, - "type": "searchset", - "total": 2, - "entry": [ - { - "fullUrl": "https://prescriptionserver.telematik/ChargeItem/abc825bc-bc30-45f8-b109-1b343fff5c45", - "resource": { - "resourceType": "ChargeItem", - "id": "Apotheker-ChargeItem-abc825bc-bc30-45f8-b109-1b343fff5c45", - "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" - } - ], - "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/f548dde3-a319-486b-8624-6176ff41ad90", - "display": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenBundle" - } - ] - } - }, - { - "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.1" - ], - "tag": [ - { - "display": "Beispiel RezeptAbgabedatenPKV Bundle (FAM + Noctu + Rezeptänderung)" - } - ] - }, - "type": "document", - "identifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "200.086.824.605.539.20" - }, - "timestamp": "2022-03-25T23:40:00Z", - "entry": [ - { - "resource": { - "resourceType": "Composition", - "id": "4dc5f425-b9b6-4e39-9166-42668ead6c86", - "meta": { - "profile": [ - "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenComposition|1.1" - ] - }, - "status": "final", - "type": { - "coding": [ - { - "code": "ERezeptAbgabedaten", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-CompositionTypes" - } - ] - }, - "title": "ERezeptAbgabedaten", - "section": [ - { - "title": "Abgabeinformationen", - "entry": [ - { - "reference": "urn:uuid:37a647b8-cb89-491a-af0f-f9bffc2b386c" - } - ] - }, - { - "title": "Apotheke", - "entry": [ - { - "reference": "urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" - } - ] - } - ], - "date": "2022-03-25T23:40:00Z", - "author": [ - { - "reference": "urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" - } - ] - }, - "fullUrl": "urn:uuid:4dc5f425-b9b6-4e39-9166-42668ead6c86" - }, - { - "fullUrl": "urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a", - "resource": { - "resourceType": "Organization", - "id": "1fa57d53-812b-4cab-a42e-94a12481108a", - "meta": { - "profile": [ - "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Apotheke|1.1" - ] - }, - "identifier": [ - { - "system": "http://fhir.de/sid/arge-ik/iknr", - "value": "123456789" - } - ], - "address": [ - { - "type": "physical", - "line": [ - "Taunusstraße 89" - ], - "_line": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName", - "valueString": "Taunusstraße" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber", - "valueString": "89" - } - ] - } - ], - "city": "Langen", - "postalCode": "63225", - "country": "D" - } - ], - "name": "Adler-Apotheke" - } - }, - { - "fullUrl": "urn:uuid:37a647b8-cb89-491a-af0f-f9bffc2b386c", - "resource": { - "resourceType": "MedicationDispense", - "id": "37a647b8-cb89-491a-af0f-f9bffc2b386c", - "meta": { - "profile": [ - "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Abgabeinformationen|1.1" - ] - }, - "status": "completed", - "medicationCodeableConcept": { - "coding": [ - { - "code": "not-applicable", - "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason" - } - ] - }, - "type": { - "coding": [ - { - "code": "Abgabeinformationen", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-MedicationDispenseTyp" - } - ] - }, - "extension": [ - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Abrechnungszeilen", - "valueReference": { - "reference": "urn:uuid:8a99bfa5-f7aa-4741-99d8-f1abbd301ae1" - } - }, - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-EX-ERP-AbrechnungsTyp", - "valueCodeableConcept": { - "coding": [ - { - "code": "1", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-AbrechnungsTyp" - } - ] - } - } - ], - "authorizingPrescription": [ - { - "identifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "200.086.824.605.539.20" - } - } - ], - "substitution": { - "extension": [ - { - "extension": [ - { - "url": "ArtRezeptaenderung", - "valueCodeableConcept": { - "coding": [ - { - "code": "21", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-ArtRezeptaenderung" - } - ] - } - }, - { - "url": "RueckspracheArzt", - "valueCodeableConcept": { - "coding": [ - { - "code": "2", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-RueckspracheArzt" - } - ] - } - } - ], - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Rezeptaenderung" - } - ], - "wasSubstituted": true - }, - "performer": [ - { - "actor": { - "reference": "urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" - } - } - ], - "whenHandedOver": "2022-03-25" - } - }, - { - "fullUrl": "urn:uuid:8a99bfa5-f7aa-4741-99d8-f1abbd301ae1", - "resource": { - "resourceType": "Invoice", - "id": "8a99bfa5-f7aa-4741-99d8-f1abbd301ae1", - "meta": { - "profile": [ - "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Abrechnungszeilen|1.1" - ] - }, - "status": "issued", - "type": { - "coding": [ - { - "code": "Abrechnungszeilen", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-InvoiceTyp" - } - ] - }, - "lineItem": [ - { - "priceComponent": [ - { - "type": "informational", - "extension": [ - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz", - "valueDecimal": 19.00 - }, - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter", - "extension": [ - { - "url": "Kategorie", - "valueCodeableConcept": { - "coding": [ - { - "code": "0", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-KostenVersicherterKategorie" - } - ] - } - }, - { - "url": "Kostenbetrag", - "valueMoney": { - "currency": "EUR", - "value": 0.00 - } - } - ] - } - ], - "amount": { - "currency": "EUR", - "value": 48.98 - }, - "factor": 2 - } - ], - "sequence": 1, - "chargeItemCodeableConcept": { - "coding": [ - { - "code": "11514676", - "system": "http://fhir.de/CodeSystem/ifa/pzn" - } - ] - } - }, - { - "priceComponent": [ - { - "type": "informational", - "extension": [ - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz", - "valueDecimal": 19.00 - }, - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter", - "extension": [ - { - "url": "Kategorie", - "valueCodeableConcept": { - "coding": [ - { - "code": "0", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-KostenVersicherterKategorie" - } - ] - } - }, - { - "url": "Kostenbetrag", - "valueMoney": { - "currency": "EUR", - "value": 0.00 - } - } - ] - } - ], - "amount": { - "currency": "EUR", - "value": 2.50 - }, - "factor": 1 - } - ], - "extension": [ - { - "extension": [ - { - "extension": [ - { - "url": "Gruppe", - "valueCodeableConcept": { - "coding": [ - { - "code": "11", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe" - } - ] - } - }, - { - "url": "DatumUhrzeit", - "valueDateTime": "2022-03-25T23:30:00.0Z" - }, - { - "url": "Schluessel", - "valueBoolean": true - } - ], - "url": "ZusatzattributAbgabeNoctu" - } - ], - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute" - } - ], - "sequence": 2, - "chargeItemCodeableConcept": { - "coding": [ - { - "code": "02567018", - "system": "http://fhir.de/CodeSystem/ifa/pzn" - } - ] - } - } - ], - "totalGross": { - "currency": "EUR", - "extension": [ - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Gesamtzuzahlung", - "valueMoney": { - "currency": "EUR", - "value": 0.00 - } - } - ], - "value": 51.48 - } - } - } - ], - "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://pharmacy-konn/Device/1" - }, - "onBehalfOf": { - "identifier": { - "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "3-SMC-B-Testkarte-883110000129070" - } - }, - "sigFormat": "application/pkcs7-mime", - "data": "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" - } - } - } - ] -} diff --git a/corrected_decimal_values_bundles/Bundle-Response-Apotheker-GetChargeIItemById.xml b/corrected_decimal_values_bundles/Bundle-Response-Apotheker-GetChargeIItemById.xml deleted file mode 100644 index cac6860..0000000 --- a/corrected_decimal_values_bundles/Bundle-Response-Apotheker-GetChargeIItemById.xml +++ /dev/null @@ -1,349 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <section> - <title value="Abgabeinformationen" /> - <entry> - <reference value="urn:uuid:37a647b8-cb89-491a-af0f-f9bffc2b386c" /> - </entry> - </section> - <section> - <title value="Apotheke" /> - <entry> - <reference value="urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" /> - </entry> - </section> - </Composition> - </resource> - </entry> - <entry> - <fullUrl value="urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" /> - <resource> - <Organization> - <id value="1fa57d53-812b-4cab-a42e-94a12481108a" /> - <meta> - <profile value="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Apotheke|1.1" /> - </meta> - <identifier> - <system value="http://fhir.de/sid/arge-ik/iknr" /> - <value value="123456789" /> - </identifier> - <name value="Adler-Apotheke" /> - <address> - <type value="physical" /> - <line value="Taunusstraße 89"> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"> - <valueString value="Taunusstraße" /> - </extension> - <extension url="http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"> - <valueString value="89" /> - </extension> - </line> - <city value="Langen" /> - <postalCode value="63225" /> - <country value="D" /> - </address> - </Organization> - </resource> - </entry> - <entry> - <fullUrl value="urn:uuid:37a647b8-cb89-491a-af0f-f9bffc2b386c" /> - <resource> - <MedicationDispense> - <id value="37a647b8-cb89-491a-af0f-f9bffc2b386c" /> - <meta> - <profile value="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Abgabeinformationen|1.1" /> - </meta> - <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Abrechnungszeilen"> - <valueReference> - <reference value="urn:uuid:8a99bfa5-f7aa-4741-99d8-f1abbd301ae1" /> - </valueReference> - </extension> - <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-EX-ERP-AbrechnungsTyp"> - <valueCodeableConcept> - <coding> - <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-AbrechnungsTyp" /> - <code value="1" /> - </coding> - </valueCodeableConcept> - </extension> - <status value="completed" /> - <medicationCodeableConcept> - <coding> - <system value="http://terminology.hl7.org/CodeSystem/data-absent-reason" /> - <code value="not-applicable" /> - </coding> - </medicationCodeableConcept> - <performer> - <actor> - <reference value="urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" /> - </actor> - </performer> - <authorizingPrescription> - <identifier> - <system value="https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" /> - <value value="200.086.824.605.539.20" /> - </identifier> - </authorizingPrescription> - <type> - <coding> - <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-MedicationDispenseTyp" /> - <code value="Abgabeinformationen" /> - </coding> - </type> - <whenHandedOver value="2022-03-25" /> - <substitution> - <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Rezeptaenderung"> - <extension url="ArtRezeptaenderung"> - <valueCodeableConcept> - <coding> - <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-ArtRezeptaenderung" /> - <code value="21" /> - </coding> - </valueCodeableConcept> - </extension> - <extension url="RueckspracheArzt"> - <valueCodeableConcept> - <coding> - <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-RueckspracheArzt" /> - <code value="2" /> - </coding> - </valueCodeableConcept> - </extension> - </extension> - <wasSubstituted value="true" /> - </substitution> - </MedicationDispense> - </resource> - </entry> - <entry> - <fullUrl value="urn:uuid:8a99bfa5-f7aa-4741-99d8-f1abbd301ae1" /> - <resource> - <Invoice> - <id value="8a99bfa5-f7aa-4741-99d8-f1abbd301ae1" /> - <meta> - <profile value="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Abrechnungszeilen|1.1" /> - </meta> - <status value="issued" /> - <type> - <coding> - <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-InvoiceTyp" /> - <code value="Abrechnungszeilen" /> - </coding> - </type> - <lineItem> - <sequence value="1" /> - <chargeItemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn" /> - <code value="11514676" /> - </coding> - </chargeItemCodeableConcept> - <priceComponent> - <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz"> - <valueDecimal value="19.00" /> - </extension> - <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter"> - <extension url="Kategorie"> - <valueCodeableConcept> - <coding> - <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-KostenVersicherterKategorie" /> - <code value="0" /> - </coding> - </valueCodeableConcept> - </extension> - <extension url="Kostenbetrag"> - <valueMoney> - <value value="0.00" /> - <currency value="EUR" /> - </valueMoney> - </extension> - </extension> - <type value="informational" /> - <factor value="2" /> - <amount> - <value value="48.98" /> - <currency value="EUR" /> - </amount> - </priceComponent> - </lineItem> - <lineItem> - <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute"> - <extension url="ZusatzattributAbgabeNoctu"> - <extension url="Gruppe"> - <valueCodeableConcept> - <coding> - <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe" /> - <code value="11" /> - </coding> - </valueCodeableConcept> - </extension> - <extension url="DatumUhrzeit"> - <valueDateTime value="2022-03-25T23:30:00.0Z" /> - </extension> - <extension url="Schluessel"> - <valueBoolean value="true" /> - </extension> - </extension> - </extension> - <sequence value="2" /> - <chargeItemCodeableConcept> - <coding> - <system value="http://fhir.de/CodeSystem/ifa/pzn" /> - <code value="02567018" /> - </coding> - </chargeItemCodeableConcept> - <priceComponent> - <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz"> - <valueDecimal value="19.00" /> - </extension> - <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter"> - <extension url="Kategorie"> - <valueCodeableConcept> - <coding> - <system value="http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-KostenVersicherterKategorie" /> - <code value="0" /> - </coding> - </valueCodeableConcept> - </extension> - <extension url="Kostenbetrag"> - <valueMoney> - <value value="0.00" /> - <currency value="EUR" /> - </valueMoney> - </extension> - </extension> - <type value="informational" /> - <factor value="1" /> - <amount> - <value value="2.50" /> - <currency value="EUR" /> - </amount> - </priceComponent> - </lineItem> - <totalGross> - <extension url="http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Gesamtzuzahlung"> - <valueMoney> - <value value="0.00" /> - <currency value="EUR" /> - </valueMoney> - </extension> - <value value="51.48" /> - <currency value="EUR" /> - </totalGross> - </Invoice> - </resource> - </entry> - <signature> - <type> - <system value="urn:iso-astm:E1762-95:2013" /> - <code value="1.2.840.10065.1.12.1.1" /> - </type> - <when value="2022-03-18T15:28:00+00:00" /> - <who> - <reference value="https://pharmacy-konn/Device/1" /> - </who> - <onBehalfOf> - <identifier> - <system value="https://gematik.de/fhir/sid/telematik-id" /> - <value value="3-SMC-B-Testkarte-883110000129070" /> - </identifier> - </onBehalfOf> - <sigFormat value="application/pkcs7-mime" /> - <data value="dGhpcyBibG9iIGlzIHNuaXBwZWQ=" /> - </signature> - </Bundle> - </resource> - </entry> -</Bundle> \ No newline at end of file diff --git a/corrected_decimal_values_bundles/Bundle-Response-App-GETChargeItemById.json b/corrected_decimal_values_bundles/Bundle-Response-App-GETChargeItemById.json deleted file mode 100644 index 74aeba3..0000000 --- a/corrected_decimal_values_bundles/Bundle-Response-App-GETChargeItemById.json +++ /dev/null @@ -1,1121 +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/abc825bc-bc30-45f8-b109-1b343fff5c45", - "resource": { - "resourceType": "ChargeItem", - "id": "App-ChargeItem-abc825bc-bc30-45f8-b109-1b343fff5c45", - "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" - } - ], - "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" - }, - "type": "document", - "timestamp": "2022-05-20T08:30:00Z", - "entry": [ - { - "fullUrl": "http://pvs.praxis.local/fhir/Composition/1e33b2b8-770b-4dc2-8d73-74c1989540c4", - "resource": { - "resourceType": "Composition", - "id": "1e33b2b8-770b-4dc2-8d73-74c1989540c4", - "meta": { - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Composition|1.1.0" - ] - }, - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_Legal_basis", - "valueCoding": { - "code": "00", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_STATUSKENNZEICHEN" - } - } - ], - "status": "final", - "type": { - "coding": [ - { - "code": "e16A", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_FORMULAR_ART" - } - ] - }, - "subject": { - "reference": "Patient/30635f5d-c233-4500-94e8-6414940236aa" - }, - "date": "2022-05-20T08:00:00Z", - "author": [ - { - "reference": "Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c", - "type": "Practitioner" - }, - { - "type": "Device", - "identifier": { - "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_FOR_Pruefnummer", - "value": "Y/400/2107/36/999" - } - } - ], - "title": "elektronische Arzneimittelverordnung", - "custodian": { - "reference": "Organization/2a555cd3-0543-483c-88b3-f68647620962" - }, - "section": [ - { - "code": { - "coding": [ - { - "code": "Prescription", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type" - } - ] - }, - "entry": [ - { - "reference": "MedicationRequest/c40ede18-da4b-11eb-8d19-0242ac130003" - } - ] - }, - { - "code": { - "coding": [ - { - "code": "Coverage", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Section_Type" - } - ] - }, - "entry": [ - { - "reference": "Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60" - } - ] - } - ] - } - }, - { - "fullUrl": "http://pvs.praxis.local/fhir/MedicationRequest/c40ede18-da4b-11eb-8d19-0242ac130003", - "resource": { - "resourceType": "MedicationRequest", - "id": "c40ede18-da4b-11eb-8d19-0242ac130003", - "meta": { - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Prescription|1.1.0" - ] - }, - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_FOR_StatusCoPayment", - "valueCoding": { - "code": "0", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_StatusCoPayment" - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_EmergencyServicesFee", - "valueBoolean": false - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_BVG", - "valueBoolean": false - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Multiple_Prescription", - "extension": [ - { - "url": "Kennzeichen", - "valueBoolean": false - } - ] - } - ], - "status": "active", - "intent": "order", - "medicationReference": { - "reference": "Medication/125115cc-da48-11eb-8d19-0242ac130003" - }, - "subject": { - "reference": "Patient/30635f5d-c233-4500-94e8-6414940236aa" - }, - "authoredOn": "2022-05-20", - "requester": { - "reference": "Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c" - }, - "insurance": [ - { - "reference": "Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60" - } - ], - "dispenseRequest": { - "quantity": { - "value": 1, - "code": "{Package}", - "system": "http://unitsofmeasure.org" - } - }, - "substitution": { - "allowedBoolean": false - } - } - }, - { - "fullUrl": "http://pvs.praxis.local/fhir/Medication/125115cc-da48-11eb-8d19-0242ac130003", - "resource": { - "resourceType": "Medication", - "id": "125115cc-da48-11eb-8d19-0242ac130003", - "meta": { - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0" - ] - }, - "extension": [ - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Medication_Type", - "valueCodeableConcept": { - "coding": [ - { - "version": "http://snomed.info/sct/900000000000207008/version/20220331", - "code": "763158003", - "system": "http://snomed.info/sct", - "display": "Medicinal product (product)" - } - ] - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category", - "valueCoding": { - "code": "00", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category" - } - }, - { - "url": "https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine", - "valueBoolean": false - }, - { - "url": "http://fhir.de/StructureDefinition/normgroesse", - "valueCode": "N2" - } - ], - "code": { - "coding": [ - { - "code": "10203603", - "system": "http://fhir.de/CodeSystem/ifa/pzn" - } - ], - "text": "ASPIRIN 500MG UEBERZ TABL, 20 St" - }, - "form": { - "coding": [ - { - "code": "UTA", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" - } - ] - } - } - }, - { - "fullUrl": "http://pvs.praxis.local/fhir/Patient/30635f5d-c233-4500-94e8-6414940236aa", - "resource": { - "resourceType": "Patient", - "id": "30635f5d-c233-4500-94e8-6414940236aa", - "meta": { - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.1.0" - ] - }, - "identifier": [ - { - "type": { - "coding": [ - { - "code": "GKV", - "system": "http://fhir.de/CodeSystem/identifier-type-de-basis" - } - ] - }, - "system": "http://fhir.de/sid/gkv/kvid-10", - "value": "K220645122" - } - ], - "name": [ - { - "use": "official", - "family": "Schuhmann", - "_family": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-name", - "valueString": "Schuhmann" - } - ] - }, - "given": ["Sahra"] - } - ], - "birthDate": "1970-12-24", - "address": [ - { - "type": "both", - "line": ["Berliner Straße 1"], - "_line": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber", - "valueString": "1" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName", - "valueString": "Berliner Straße" - } - ] - } - ], - "city": "Husum", - "postalCode": "25813", - "country": "D" - } - ] - } - }, - { - "fullUrl": "http://pvs.praxis.local/fhir/Practitioner/d6f3b55d-3095-4655-96dc-da3bec21271c", - "resource": { - "resourceType": "Practitioner", - "id": "d6f3b55d-3095-4655-96dc-da3bec21271c", - "meta": { - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.1.0" - ] - }, - "identifier": [ - { - "type": { - "coding": [ - { - "code": "LANR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_ANR", - "value": "754236701" - } - ], - "name": [ - { - "use": "official", - "family": "Schulz", - "_family": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-name", - "valueString": "Schulz" - } - ] - }, - "given": ["Ben"] - } - ], - "qualification": [ - { - "code": { - "coding": [ - { - "code": "00", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Qualification_Type" - } - ] - } - }, - { - "code": { - "coding": [ - { - "code": "Berufsbezeichnung", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_FOR_Berufsbezeichnung" - } - ], - "text": "Facharzt für Allgemeinmedizin" - } - } - ] - } - }, - { - "fullUrl": "http://pvs.praxis.local/fhir/Organization/2a555cd3-0543-483c-88b3-f68647620962", - "resource": { - "resourceType": "Organization", - "id": "2a555cd3-0543-483c-88b3-f68647620962", - "meta": { - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Organization|1.1.0" - ] - }, - "identifier": [ - { - "type": { - "coding": [ - { - "code": "BSNR", - "system": "http://terminology.hl7.org/CodeSystem/v2-0203" - } - ] - }, - "system": "https://fhir.kbv.de/NamingSystem/KBV_NS_Base_BSNR", - "value": "724444400" - } - ], - "name": "Hausarztpraxis", - "telecom": [ - { - "system": "phone", - "value": "030321654987" - }, - { - "system": "email", - "value": "hausarztpraxis@e-mail.de" - } - ], - "address": [ - { - "type": "both", - "line": ["Herbert-Lewin-Platz 2", "Erdgeschoss"], - "_line": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber", - "valueString": "2" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName", - "valueString": "Herbert-Lewin-Platz" - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator", - "valueString": "Erdgeschoss" - } - ] - } - ], - "city": "Berlin", - "postalCode": "10623", - "country": "D" - } - ] - } - }, - { - "fullUrl": "http://pvs.praxis.local/fhir/Coverage/e51239e1-ba74-48e0-97fb-9754d2b05c60", - "resource": { - "resourceType": "Coverage", - "id": "e51239e1-ba74-48e0-97fb-9754d2b05c60", - "meta": { - "profile": [ - "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.1.0" - ] - }, - "extension": [ - { - "url": "http://fhir.de/StructureDefinition/gkv/besondere-personengruppe", - "valueCoding": { - "code": "00", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_PERSONENGRUPPE" - } - }, - { - "url": "http://fhir.de/StructureDefinition/gkv/dmp-kennzeichen", - "valueCoding": { - "code": "00", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DMP" - } - }, - { - "url": "http://fhir.de/StructureDefinition/gkv/wop", - "valueCoding": { - "code": "01", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_ITA_WOP" - } - }, - { - "url": "http://fhir.de/StructureDefinition/gkv/versichertenart", - "valueCoding": { - "code": "1", - "system": "https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_VERSICHERTENSTATUS" - } - } - ], - "status": "active", - "type": { - "coding": [ - { - "code": "SEL", - "system": "http://fhir.de/CodeSystem/versicherungsart-de-basis" - } - ] - }, - "beneficiary": { - "reference": "Patient/30635f5d-c233-4500-94e8-6414940236aa" - }, - "payor": [ - { - "identifier": { - "system": "http://fhir.de/sid/arge-ik/iknr", - "value": "108018347" - }, - "display": "AOK Baden-Württemberg" - } - ] - } - } - ], - "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=" - } - } - }, - { - "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.1" - ], - "tag": [ - { - "display": "Beispiel RezeptAbgabedatenPKV Bundle (FAM + Noctu + Rezeptänderung)" - } - ] - }, - "type": "document", - "identifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "200.086.824.605.539.20" - }, - "timestamp": "2022-03-25T23:40:00Z", - "entry": [ - { - "resource": { - "resourceType": "Composition", - "id": "4dc5f425-b9b6-4e39-9166-42668ead6c86", - "meta": { - "profile": [ - "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-AbgabedatenComposition|1.1" - ] - }, - "status": "final", - "type": { - "coding": [ - { - "code": "ERezeptAbgabedaten", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-CompositionTypes" - } - ] - }, - "title": "ERezeptAbgabedaten", - "section": [ - { - "title": "Abgabeinformationen", - "entry": [ - { - "reference": "urn:uuid:37a647b8-cb89-491a-af0f-f9bffc2b386c" - } - ] - }, - { - "title": "Apotheke", - "entry": [ - { - "reference": "urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" - } - ] - } - ], - "date": "2022-03-25T23:40:00Z", - "author": [ - { - "reference": "urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" - } - ] - }, - "fullUrl": "urn:uuid:4dc5f425-b9b6-4e39-9166-42668ead6c86" - }, - { - "fullUrl": "urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a", - "resource": { - "resourceType": "Organization", - "id": "1fa57d53-812b-4cab-a42e-94a12481108a", - "meta": { - "profile": [ - "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Apotheke|1.1" - ] - }, - "identifier": [ - { - "system": "http://fhir.de/sid/arge-ik/iknr", - "value": "123456789" - } - ], - "address": [ - { - "type": "physical", - "line": ["Taunusstraße 89"], - "_line": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName", - "valueString": "Taunusstraße" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber", - "valueString": "89" - } - ] - } - ], - "city": "Langen", - "postalCode": "63225", - "country": "D" - } - ], - "name": "Adler-Apotheke" - } - }, - { - "fullUrl": "urn:uuid:37a647b8-cb89-491a-af0f-f9bffc2b386c", - "resource": { - "resourceType": "MedicationDispense", - "id": "37a647b8-cb89-491a-af0f-f9bffc2b386c", - "meta": { - "profile": [ - "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Abgabeinformationen|1.1" - ] - }, - "status": "completed", - "medicationCodeableConcept": { - "coding": [ - { - "code": "not-applicable", - "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason" - } - ] - }, - "type": { - "coding": [ - { - "code": "Abgabeinformationen", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-MedicationDispenseTyp" - } - ] - }, - "extension": [ - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Abrechnungszeilen", - "valueReference": { - "reference": "urn:uuid:8a99bfa5-f7aa-4741-99d8-f1abbd301ae1" - } - }, - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-EX-ERP-AbrechnungsTyp", - "valueCodeableConcept": { - "coding": [ - { - "code": "1", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-AbrechnungsTyp" - } - ] - } - } - ], - "authorizingPrescription": [ - { - "identifier": { - "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId", - "value": "200.086.824.605.539.20" - } - } - ], - "substitution": { - "extension": [ - { - "extension": [ - { - "url": "ArtRezeptaenderung", - "valueCodeableConcept": { - "coding": [ - { - "code": "21", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-ArtRezeptaenderung" - } - ] - } - }, - { - "url": "RueckspracheArzt", - "valueCodeableConcept": { - "coding": [ - { - "code": "2", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-RueckspracheArzt" - } - ] - } - } - ], - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Rezeptaenderung" - } - ], - "wasSubstituted": true - }, - "performer": [ - { - "actor": { - "reference": "urn:uuid:1fa57d53-812b-4cab-a42e-94a12481108a" - } - } - ], - "whenHandedOver": "2022-03-25" - } - }, - { - "fullUrl": "urn:uuid:8a99bfa5-f7aa-4741-99d8-f1abbd301ae1", - "resource": { - "resourceType": "Invoice", - "id": "8a99bfa5-f7aa-4741-99d8-f1abbd301ae1", - "meta": { - "profile": [ - "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-PKV-PR-ERP-Abrechnungszeilen|1.1" - ] - }, - "status": "issued", - "type": { - "coding": [ - { - "code": "Abrechnungszeilen", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-InvoiceTyp" - } - ] - }, - "lineItem": [ - { - "priceComponent": [ - { - "type": "informational", - "extension": [ - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz", - "valueDecimal": 19.00 - }, - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter", - "extension": [ - { - "url": "Kategorie", - "valueCodeableConcept": { - "coding": [ - { - "code": "0", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-KostenVersicherterKategorie" - } - ] - } - }, - { - "url": "Kostenbetrag", - "valueMoney": { - "currency": "EUR", - "value": 0.00 - } - } - ] - } - ], - "amount": { - "currency": "EUR", - "value": 48.98 - }, - "factor": 2 - } - ], - "sequence": 1, - "chargeItemCodeableConcept": { - "coding": [ - { - "code": "11514676", - "system": "http://fhir.de/CodeSystem/ifa/pzn" - } - ] - } - }, - { - "priceComponent": [ - { - "type": "informational", - "extension": [ - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz", - "valueDecimal": 19.00 - }, - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter", - "extension": [ - { - "url": "Kategorie", - "valueCodeableConcept": { - "coding": [ - { - "code": "0", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-PKV-CS-ERP-KostenVersicherterKategorie" - } - ] - } - }, - { - "url": "Kostenbetrag", - "valueMoney": { - "currency": "EUR", - "value": 0.00 - } - } - ] - } - ], - "amount": { - "currency": "EUR", - "value": 2.50 - }, - "factor": 1 - } - ], - "extension": [ - { - "extension": [ - { - "extension": [ - { - "url": "Gruppe", - "valueCodeableConcept": { - "coding": [ - { - "code": "11", - "system": "http://fhir.abda.de/eRezeptAbgabedaten/CodeSystem/DAV-CS-ERP-ZusatzattributGruppe" - } - ] - } - }, - { - "url": "DatumUhrzeit", - "valueDateTime": "2022-03-25T23:30:00.0Z" - }, - { - "url": "Schluessel", - "valueBoolean": true - } - ], - "url": "ZusatzattributAbgabeNoctu" - } - ], - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Zusatzattribute" - } - ], - "sequence": 2, - "chargeItemCodeableConcept": { - "coding": [ - { - "code": "02567018", - "system": "http://fhir.de/CodeSystem/ifa/pzn" - } - ] - } - } - ], - "totalGross": { - "currency": "EUR", - "extension": [ - { - "url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-Gesamtzuzahlung", - "valueMoney": { - "currency": "EUR", - "value": 0.00 - } - } - ], - "value": 51.48 - } - } - } - ], - "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://pharmacy-konn/Device/1" - }, - "onBehalfOf": { - "identifier": { - "system": "https://gematik.de/fhir/sid/telematik-id", - "value": "3-SMC-B-Testkarte-883110000129070" - } - }, - "sigFormat": "application/pkcs7-mime", - "data": "dGhpcyBibG9iIGlzIHNuaXBwZWQ=" - } - } - }, - { - "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=" - } - } - } - ] -} diff --git a/fhirpkg.lock.json b/fhirpkg.lock.json index fab43c6..6f85bfc 100644 --- a/fhirpkg.lock.json +++ b/fhirpkg.lock.json @@ -1,12 +1,10 @@ { - "updated": "2024-05-03T09:58:23.475808+02:00", + "updated": "2024-07-26T10:40:01.063762+02:00", "dependencies": { "hl7.fhir.r4.core": "4.0.1", "de.basisprofil.r4": "1.3.2", - "de.gematik.erezept-workflow.r4": "1.3.0", - "kbv.ita.erp": "1.1.2", - "KBV.Basis": "1.3.0", - "kbv.ita.for": "1.1.0" + "kbv.ita.for": "1.1.0", + "KBV.Basis": "1.3.0" }, "missing": {} } diff --git a/install_fhir_tools.sh b/install_fhir_tools.sh deleted file mode 100644 index 9c97dc1..0000000 --- a/install_fhir_tools.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -echo "##### Installing Java" -sudo apt install openjdk-17-jre-headless -y - -echo "##### Installing Sushi" -sudo npm install -g fsh-sushi - -echo "##### Installing dotnet-sdk-3.1" -wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb -sudo dpkg -i packages-microsoft-prod.deb -rm packages-microsoft-prod.deb -sudo apt-get update; \ - sudo apt-get install -y apt-transport-https && \ - sudo apt-get update && \ - sudo apt-get install -y dotnet-sdk-3.1 - -echo "##### Installing firely.terminal" -sudo dotnet tool install --global firely.terminal --version 2.5.0-beta-7 - -echo "##### Installing yq yaml-parser" -sudo snap install yq - -echo "##### Installing rename" -sudo apt install rename \ No newline at end of file diff --git a/package.json b/package.json index dabad04..f563600 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fhir-profiles-erpchrg", - "version": "1.0.3", + "version": "1.0.4", "description": "German fhir profiles on ePrescription patient receipt", "fhirVersions": [ "4.0.1" @@ -8,7 +8,6 @@ "dependencies": { "hl7.fhir.r4.core": "4.0.1", "de.basisprofil.r4": "1.3.2", - "de.gematik.erezept-workflow.r4": "1.3.x", "kbv.ita.for": "1.1.0" } } diff --git a/validate.sh b/validate.sh deleted file mode 100755 index 28d420d..0000000 --- a/validate.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -clear -# This script will download the latest validation script from the template source save it -# to the scripts_folder and execute it to validate your fhir ressources. -script_name=downloaded_validation_script.sh -script_path=./scripts/$script_name - -parentdir="$(dirname "$script_path")" -mkdir -p "$parentdir" - -curl https://raw.githubusercontent.com/gematik/spec-TemplateForSimplifierProjects/master/scripts/$script_name -o $script_path -chmod a+x $script_path -$script_path "$@"