Skip to content

Commit

Permalink
Merge pull request #44 from gematik/feature/whenprepared-constraint
Browse files Browse the repository at this point in the history
Add constraint for whenprepared
  • Loading branch information
florianschoffke authored Jun 14, 2024
2 parents 349fcf3 + ce830eb commit 3e137c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@
{
"id": "MedicationDispense.whenPrepared",
"path": "MedicationDispense.whenPrepared",
"constraint": [
{
"key": "workflow-abgabeDatumsFormat",
"human": "Wert muss ein Datum in der Form: YYYY-MM-DD sein.",
"source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense",
"severity": "error",
"expression": "toString().length()=10"
}
],
"mustSupport": false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Description: "Handles information about the redeem of the prescription and the s
* performer.actor.identifier 1..
* performer.actor.identifier only IdentifierTelematikId
* whenPrepared ^mustSupport = false
* whenPrepared obeys workflow-abgabeDatumsFormat
* whenHandedOver 1..
* whenHandedOver obeys workflow-abgabeDatumsFormat
* dosageInstruction MS
Expand Down

0 comments on commit 3e137c2

Please sign in to comment.