diff --git a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json index 7beaf4eb..4828d816 100644 --- a/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json +++ b/Resources/fsh-generated/resources/StructureDefinition-GEM-ERP-PR-MedicationDispense.json @@ -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 }, { diff --git a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh index 7a93eb25..034a834c 100644 --- a/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh +++ b/Resources/input/fsh/profiles/GEM_ERP_PR_MedicationDispense.fsh @@ -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