Skip to main content

RevertPrescriptionStatusInput

Reverts exactly one status step backward (REQ-CP-022.15). When reverting from ENDED, newEndDate is mandatory; the backend rejects the mutation otherwise.

input RevertPrescriptionStatusInput {
newEndDate: Date
prescriptionId: PrescriptionID!
}

Fields​

RevertPrescriptionStatusInput.newEndDate ● Date scalar​

Mandatory when reverting from ENDED; must be strictly in the future.

RevertPrescriptionStatusInput.prescriptionId ● PrescriptionID! non-null scalar​

ID of the prescription whose status is being reverted.

Member Of​

revertPrescriptionStatus mutation