Skip to content

Commit

Permalink
Merge pull request #22 from gematik/bugfix/examples
Browse files Browse the repository at this point in the history
Add missing trailing zeros
  • Loading branch information
florianschoffke authored Feb 28, 2023
2 parents e96c0ae + 6920f72 commit 171924e
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 1,665 deletions.

This file was deleted.

1,132 changes: 0 additions & 1,132 deletions Resources/fsh-generated/resources/Bundle-Response-App-GETChargeItemById.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
{
"resourceType": "StructureDefinition",
"id": "GEM-ERPCHRG-PR-ChargeItem",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Financial.General"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "patient"
}
],
"url": "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem",
"version": "1.0",
"name": "GEM_ERPCHRG_PR_ChargeItem",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
{
"resourceType": "StructureDefinition",
"id": "GEM-ERPCHRG-PR-Communication-ChargChangeReply",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Clinical.Request & Response"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "patient"
}
],
"url": "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReply",
"version": "1.0",
"name": "GEM_ERPCHRG_PR_Communication_ChargChangeReply",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
{
"resourceType": "StructureDefinition",
"id": "GEM-ERPCHRG-PR-Communication-ChargChangeReq",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Clinical.Request & Response"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "patient"
}
],
"url": "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Communication_ChargChangeReq",
"version": "1.0",
"name": "GEM_ERPCHRG_PR_Communication_ChargChangeReq",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
{
"resourceType": "StructureDefinition",
"id": "GEM-ERPCHRG-PR-Consent",
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Foundation.Security"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "patient"
}
],
"url": "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Consent",
"version": "1.0",
"name": "GEM_ERPCHRG_PR_Consent",
Expand Down
17 changes: 16 additions & 1 deletion Resources/input/fsh/profiles/GEM_ERPCHRG_PR_ChargeItem.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ Usage: #example
* 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
Expand All @@ -141,6 +148,8 @@ Usage: #example
* 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
Expand All @@ -166,6 +175,12 @@ Usage: #inline
* 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
Expand Down Expand Up @@ -200,7 +215,7 @@ Usage: #inline
* 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,18 +341,14 @@
}
]
},
"given": [
"Sahra"
]
"given": ["Sahra"]
}
],
"birthDate": "1970-12-24",
"address": [
{
"type": "both",
"line": [
"Berliner Straße 1"
],
"line": ["Berliner Straße 1"],
"_line": [
{
"extension": [
Expand Down Expand Up @@ -410,9 +406,7 @@
}
]
},
"given": [
"Ben"
]
"given": ["Ben"]
}
],
"qualification": [
Expand Down Expand Up @@ -478,10 +472,7 @@
"address": [
{
"type": "both",
"line": [
"Herbert-Lewin-Platz 2",
"Erdgeschoss"
],
"line": ["Herbert-Lewin-Platz 2", "Erdgeschoss"],
"_line": [
{
"extension": [
Expand Down Expand Up @@ -678,9 +669,7 @@
"address": [
{
"type": "physical",
"line": [
"Taunusstraße 89"
],
"line": ["Taunusstraße 89"],
"_line": [
{
"extension": [
Expand Down Expand Up @@ -826,7 +815,7 @@
"extension": [
{
"url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-MwStSatz",
"valueDecimal": 19
"valueDecimal": 19.00
},
{
"url": "http://fhir.abda.de/eRezeptAbgabedaten/StructureDefinition/DAV-EX-ERP-KostenVersicherter",
Expand Down Expand Up @@ -1129,4 +1118,4 @@
}
}
]
}
}

0 comments on commit 171924e

Please sign in to comment.