diff --git a/packages/specification/schemas/components/MedicationRequest/CancelRequestMedicationRequest.yaml b/packages/specification/schemas/components/MedicationRequest/CancelRequestMedicationRequest.yaml index e7904ec00b..6f3e562780 100644 --- a/packages/specification/schemas/components/MedicationRequest/CancelRequestMedicationRequest.yaml +++ b/packages/specification/schemas/components/MedicationRequest/CancelRequestMedicationRequest.yaml @@ -146,7 +146,10 @@ properties: example: "2022-10-21" end: type: string - description: For eRD prescriptions only. The end date of a prescription. + description: | + For eRD prescriptions only. The end date of a prescription. + Must be in date-time format with the time set to 23:59:59 on the last valid day of the prescription, including for single-day prescriptions. + Example: "2022-10-21T23:59:59Z" format: date-time example: "2022-10-21T23:59:59Z" expectedSupplyDuration: diff --git a/packages/specification/schemas/components/MedicationRequest/DispenseNotificationMedicationRequest.yaml b/packages/specification/schemas/components/MedicationRequest/DispenseNotificationMedicationRequest.yaml index 7f793d3900..51a796a838 100644 --- a/packages/specification/schemas/components/MedicationRequest/DispenseNotificationMedicationRequest.yaml +++ b/packages/specification/schemas/components/MedicationRequest/DispenseNotificationMedicationRequest.yaml @@ -160,8 +160,10 @@ properties: description: | End date of an issue; capped at 12 months and cannot exceed the prescription's end date. Overall validity of the drug. - format: date-time - example: "2022-10-21T23:59:59Z" + Must be in date-time format with the time set to 23:59:59 on the last valid day of the prescription, including for single-day prescriptions. + Example: "2022-10-21T23:59:59Z" + format: date-time + example: "2022-10-21T23:59:59Z" expectedSupplyDuration: type: object description: | diff --git a/packages/specification/schemas/components/MedicationRequest/MedicationRequest.yaml b/packages/specification/schemas/components/MedicationRequest/MedicationRequest.yaml index 6d6dfe0d49..7e2cff48d0 100644 --- a/packages/specification/schemas/components/MedicationRequest/MedicationRequest.yaml +++ b/packages/specification/schemas/components/MedicationRequest/MedicationRequest.yaml @@ -156,6 +156,8 @@ properties: description: | End date of an issue; capped at 12 months and cannot exceed the prescription's end date. Overall validity of the drug. + Must be in date-time format with the time set to 23:59:59 on the last valid day of the prescription, including for single-day prescriptions. + Example: "2022-10-21T23:59:59Z" format: date-time example: "2022-10-21T23:59:59Z" expectedSupplyDuration: diff --git a/packages/specification/schemas/components/MedicationRequest/ReleaseMedicationRequest.yaml b/packages/specification/schemas/components/MedicationRequest/ReleaseMedicationRequest.yaml index 6c5613c3f4..f793d067a2 100644 --- a/packages/specification/schemas/components/MedicationRequest/ReleaseMedicationRequest.yaml +++ b/packages/specification/schemas/components/MedicationRequest/ReleaseMedicationRequest.yaml @@ -153,6 +153,8 @@ properties: description: | End date of an issue; capped at 12 months and cannot exceed the prescription's end date. Overall validity of the drug. + Must be in date-time format with the time set to 23:59:59 on the last valid day of the prescription, including for single-day prescriptions. + Example: "2022-10-21T23:59:59Z" format: date-time example: "2022-10-21T23:59:59Z" expectedSupplyDuration: