Delete prescription
Objective
Delete a prescription from the system. This action is destructive and should only be used in exceptional cases (wrongly created prescription, obvious duplicate, capture error).
Before starting
- Have
PRESCRIPTIONS: ADMIN. - Confirm that the prescription has not been delivered to the patient or used as legal support.
Step by step
- Enter the Prescriptions module.
- Search for the patient and expand their row.
- Locate the prescription to delete.
- Click the Delete icon (trash can).
- Confirm the deletion in the dialog.
Expected result
- The prescription disappears from the TreeTable.
- The system shows a success message.
- The action is recorded in the audit log with the key
PRESCRIPTIONS.DELETE(or equivalent depending on configuration).
Pending: add screenshot of
recetas-eliminar-01-confirmacion.png.
Common errors
| Situation | What to do |
|---|---|
| The Delete icon does not appear | The user does not have PRESCRIPTIONS: ADMIN. |
| The prescription is not deleted | Check the connection. If it persists, report to administration. |
| A prescription that had already been sent was deleted | Coordinate with the patient and, if necessary, issue a new prescription. |
Suggested permissions
PRESCRIPTIONS: ADMIN.
Operational recommendations
- Avoid deleting prescriptions that have already been delivered or sent. Preserve the history. If you need to correct, create a new one or use the edit.
Relation with other modules
- Patients: the prescription is unlinked from the patient.
- Notifications and audit log: the deletion is recorded for audit.