Skip to content

Commit

Permalink
Fix URL for constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
florianschoffke committed Aug 20, 2024
1 parent b8d78f5 commit 1425180
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@
"key": "workflow-medicationdispense-redeemcode-1",
"severity": "error",
"human": "A note was not found, but is mandatory if no redeem code is provided.",
"expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').empty() implies note.exists()",
"expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode').empty() implies note.exists()",
"source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA"
},
{
"key": "workflow-medicationdispense-redeemcode-2",
"severity": "error",
"human": "The data absent reason was not found, but is mandatory if no redeem code is provided.",
"expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').empty() implies medicationReference.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()",
"expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode').empty() implies medicationReference.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()",
"source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA"
},
{
"key": "workflow-medicationdispense-redeemcode-3",
"severity": "error",
"human": "Name and identifier of the DiGA was not found, but is mandatory if a redeem code is provided.",
"expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').exists() implies (medicationReference.display.exists() and medicationReference.identifier.exists())",
"expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode').exists() implies (medicationReference.display.exists() and medicationReference.identifier.exists())",
"source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ Description: "Handles information about the dispensed DiGA"

Invariant: workflow-medicationdispense-redeemcode-1
Description: "A note was not found, but is mandatory if no redeem code is provided."
Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').empty() implies note.exists()"
Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode').empty() implies note.exists()"
Severity: #error

Invariant: workflow-medicationdispense-redeemcode-2
Description: "The data absent reason was not found, but is mandatory if no redeem code is provided."
Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').empty() implies medicationReference.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()"
Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode').empty() implies medicationReference.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()"
Severity: #error

Invariant: workflow-medicationdispense-redeemcode-3
Description: "Name and identifier of the DiGA was not found, but is mandatory if a redeem code is provided."
Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM-ERP-EX-RedeemCode').exists() implies (medicationReference.display.exists() and medicationReference.identifier.exists())"
Expression: "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode').exists() implies (medicationReference.display.exists() and medicationReference.identifier.exists())"
Severity: #error

0 comments on commit 1425180

Please sign in to comment.