Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for Package 1.4.2 #60

Merged
merged 22 commits into from
Sep 10, 2024
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
827ebd3
Improve description for MedicationDispense
florianschoffke Sep 2, 2024
2b61736
Fix constraints for DiGA
florianschoffke Sep 3, 2024
501b86b
Set constraints for Parameters and add invalid example
florianschoffke Sep 3, 2024
6f6f863
add simple medication example
florianschoffke Sep 3, 2024
5ce0d8c
rename parameters examples
florianschoffke Sep 3, 2024
d3b7e70
set constraints
florianschoffke Sep 3, 2024
b70762c
build
florianschoffke Sep 3, 2024
9e3786d
Fix constraint for Communcation
florianschoffke Sep 3, 2024
2d7e0e4
Better implementation of FHIR Constraint
florianschoffke Sep 5, 2024
e6845f0
Add constraint to dispense input paramters
florianschoffke Sep 5, 2024
31a82d2
Remove invalid examples
florianschoffke Sep 6, 2024
23eccdc
Merge pull request #57 from gematik:bugfix/diga-constraints
florianschoffke Sep 6, 2024
e4d6e4b
Merge pull request #58 from gematik:feature/parameters-constraints
florianschoffke Sep 6, 2024
a428285
Fix examples totalQuantity Extension
florianschoffke Sep 6, 2024
d31b218
Merge pull request #59 from gematik:bugfix/packaging-examples
florianschoffke Sep 6, 2024
d9f5870
Better comment for Communication.sent
florianschoffke Sep 9, 2024
d542385
Add more invalid examples
florianschoffke Sep 9, 2024
f1e4969
Add more dispense input invalid examples
florianschoffke Sep 9, 2024
c958f8e
Add jurisdiction to package json
florianschoffke Sep 10, 2024
54de4a9
Fix LotNumber Placement in Kombipackung
florianschoffke Sep 10, 2024
a930433
set epa medication dependency to 1.0.3
florianschoffke Sep 10, 2024
172dc45
Set Package-Version to 1.4.2
florianschoffke Sep 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build
florianschoffke committed Sep 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit b70762c3190bf49e3cc78d9118548e6f0e7bfcc0
110 changes: 55 additions & 55 deletions Resources/fsh-generated/fsh-index.json
Original file line number Diff line number Diff line change
@@ -124,16 +124,16 @@
"fshName": "Medication-Without-Strength-Code",
"fshType": "Instance",
"fshFile": "examples/Example_Medication.fsh",
"startLine": 26,
"endLine": 43
"startLine": 33,
"endLine": 50
},
{
"outputFile": "Medication-Medication-Without-Strength-Numerator.json",
"fshName": "Medication-Without-Strength-Numerator",
"fshType": "Instance",
"fshFile": "examples/Example_Medication.fsh",
"startLine": 45,
"endLine": 63
"startLine": 52,
"endLine": 70
},
{
"outputFile": "Medication-MedicationDexpanthenol-FD.json",
@@ -175,6 +175,14 @@
"startLine": 39,
"endLine": 57
},
{
"outputFile": "Medication-SimpleMedication.json",
"fshName": "SimpleMedication",
"fshType": "Instance",
"fshFile": "examples/Example_Medication.fsh",
"startLine": 25,
"endLine": 30
},
{
"outputFile": "Medication-SumatripanMedication.json",
"fshName": "SumatripanMedication",
@@ -340,8 +348,8 @@
"fshName": "ExampleOperationCloseError",
"fshType": "Instance",
"fshFile": "examples/Example_Operation_Close.fsh",
"startLine": 81,
"endLine": 89
"startLine": 1,
"endLine": 9
},
{
"outputFile": "OperationOutcome-ExampleOperationCreateError.json",
@@ -359,6 +367,46 @@
"startLine": 1,
"endLine": 8
},
{
"outputFile": "Parameters-ExampleCloseInputParameters.json",
"fshName": "ExampleCloseInputParameters",
"fshType": "Instance",
"fshFile": "examples/parameters_examples/Example_Parameters_CloseInput.fsh",
"startLine": 1,
"endLine": 12
},
{
"outputFile": "Parameters-ExampleCloseInputParametersDiGA.json",
"fshName": "ExampleCloseInputParametersDiGA",
"fshType": "Instance",
"fshFile": "examples/parameters_examples/Example_Parameters_CloseInput.fsh",
"startLine": 61,
"endLine": 69
},
{
"outputFile": "Parameters-ExampleCloseInputParametersKombipackung.json",
"fshName": "ExampleCloseInputParametersKombipackung",
"fshType": "Instance",
"fshFile": "examples/parameters_examples/Example_Parameters_CloseInput.fsh",
"startLine": 35,
"endLine": 46
},
{
"outputFile": "Parameters-ExampleCloseInputParametersMultipleMedicationDispenses.json",
"fshName": "ExampleCloseInputParametersMultipleMedicationDispenses",
"fshType": "Instance",
"fshFile": "examples/parameters_examples/Example_Parameters_CloseInput.fsh",
"startLine": 14,
"endLine": 33
},
{
"outputFile": "Parameters-ExampleCloseInputParametersRezeptur.json",
"fshName": "ExampleCloseInputParametersRezeptur",
"fshType": "Instance",
"fshFile": "examples/parameters_examples/Example_Parameters_CloseInput.fsh",
"startLine": 48,
"endLine": 59
},
{
"outputFile": "Parameters-ExampleDispenseInputParameters.json",
"fshName": "ExampleDispenseInputParameters",
@@ -407,54 +455,6 @@
"startLine": 1,
"endLine": 6
},
{
"outputFile": "Parameters-ExampleOperationCloseInputParameters.json",
"fshName": "ExampleOperationCloseInputParameters",
"fshType": "Instance",
"fshFile": "examples/Example_Operation_Close.fsh",
"startLine": 1,
"endLine": 12
},
{
"outputFile": "Parameters-ExampleOperationCloseInputParametersDiGA.json",
"fshName": "ExampleOperationCloseInputParametersDiGA",
"fshType": "Instance",
"fshFile": "examples/Example_Operation_Close.fsh",
"startLine": 61,
"endLine": 69
},
{
"outputFile": "Parameters-ExampleOperationCloseInputParametersKombipackung.json",
"fshName": "ExampleOperationCloseInputParametersKombipackung",
"fshType": "Instance",
"fshFile": "examples/Example_Operation_Close.fsh",
"startLine": 35,
"endLine": 46
},
{
"outputFile": "Parameters-ExampleOperationCloseInputParametersMultipleMedicationDispenses.json",
"fshName": "ExampleOperationCloseInputParametersMultipleMedicationDispenses",
"fshType": "Instance",
"fshFile": "examples/Example_Operation_Close.fsh",
"startLine": 14,
"endLine": 33
},
{
"outputFile": "Parameters-ExampleOperationCloseInputParametersRezeptur.json",
"fshName": "ExampleOperationCloseInputParametersRezeptur",
"fshType": "Instance",
"fshFile": "examples/Example_Operation_Close.fsh",
"startLine": 48,
"endLine": 59
},
{
"outputFile": "Parameters-INVALID-ExampleOperationCloseInputParametersWithoutMedication.json",
"fshName": "INVALID-ExampleOperationCloseInputParametersWithoutMedication",
"fshType": "Instance",
"fshFile": "examples/Example_Operation_Close.fsh",
"startLine": 71,
"endLine": 79
},
{
"outputFile": "Parameters-OperationCreateParametersInputExample.json",
"fshName": "OperationCreateParametersInputExample",
@@ -725,7 +725,7 @@
"fshType": "Profile",
"fshFile": "parameters/GEM_ERP_PR_PAR_CloseOperation_Input.fsh",
"startLine": 1,
"endLine": 42
"endLine": 43
},
{
"outputFile": "StructureDefinition-GEM-ERP-PR-PAR-Close-Operation-Output.json",
228 changes: 114 additions & 114 deletions Resources/fsh-generated/fsh-index.txt

Large diffs are not rendered by default.

This file was deleted.

80 changes: 0 additions & 80 deletions Resources/input/fsh/examples/Example_Operation_Close.fsh
Original file line number Diff line number Diff line change
@@ -1,83 +1,3 @@
Instance: ExampleOperationCloseInputParameters
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense
* part[medication]
* name = "medication"
* resource = SumatripanMedication

Instance: ExampleOperationCloseInputParametersMultipleMedicationDispenses
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation][+]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense
* part[medication]
* name = "medication"
* resource = SumatripanMedication
* parameter[rxDispensation][+]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense-2
* part[medication]
* name = "medication"
* resource = Medication-Without-Strength-Code

Instance: ExampleOperationCloseInputParametersKombipackung
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense-Kombipackung
* part[medication]
* name = "medication"
* resource = Medication-Kombipackung

Instance: ExampleOperationCloseInputParametersRezeptur
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense-Rezeptur
* part[medication]
* name = "medication"
* resource = Medication-Rezeptur

Instance: ExampleOperationCloseInputParametersDiGA
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense-DiGA-Name-And-PZN

Instance: INVALID-ExampleOperationCloseInputParametersWithoutMedication
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense-Without-Medication

Instance: ExampleOperationCloseError
InstanceOf: OperationOutcome
Title: "Example Close operation error response"
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
Instance: ExampleCloseInputParameters
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense
* part[medication]
* name = "medication"
* resource = SumatripanMedication

Instance: ExampleCloseInputParametersMultipleMedicationDispenses
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation][+]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense
* part[medication]
* name = "medication"
* resource = SumatripanMedication
* parameter[rxDispensation][+]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense-2
* part[medication]
* name = "medication"
* resource = Medication-Without-Strength-Code

Instance: ExampleCloseInputParametersKombipackung
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense-Kombipackung
* part[medication]
* name = "medication"
* resource = Medication-Kombipackung

Instance: ExampleCloseInputParametersRezeptur
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense-Rezeptur
* part[medication]
* name = "medication"
* resource = Medication-Rezeptur

Instance: ExampleCloseInputParametersDiGA
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense-DiGA-Name-And-PZN

/*
Instance: INVALID-ExampleCloseInputParametersWithoutMedication
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense-Without-Medication
Instance: INVALID-ExampleCloseInputParametersReferenceWrong
InstanceOf: GEM_ERP_PR_PAR_CloseOperation_Input
Usage: #example
Title: "Example Close Parameters"
* parameter[rxDispensation]
* name = "rxDispensation"
* part[medicationDispense]
* name = "medicationDispense"
* resource = Example-MedicationDispense
* part[medication]
* name = "medication"
* resource = SimpleMedication
*/