Prenoting icon

Prenoting

Gestisci prenotazioni tramite API Prenoting. Utilizzabile come nodo normale o AI Tool. Supporta operazioni admin e utente.

Admin: Cancel Patient Appointment

AI-generated

Overview

This node operation allows an admin to cancel a patient's appointment using the Prenoting API. It requires the appointment ID and the patient's fiscal code, with an optional cancellation reason. This is useful in healthcare or service management scenarios where administrators need to manage patient appointments programmatically, such as canceling appointments due to scheduling conflicts or patient requests.

Use Case Examples

  1. An admin cancels a patient's appointment by providing the appointment ID and the patient's fiscal code.
  2. An admin cancels a patient's appointment and provides a reason for the cancellation, which is recorded for audit or communication purposes.

Properties

Name Meaning
Appointment ID The unique identifier of the appointment to be canceled.
Patient Fiscal Code The fiscal code of the patient whose appointment is to be canceled, used for identification.
Cancellation Reason Optional reason for the cancellation, which can be recorded for reference or communication.

Output

JSON

  • app_lid - The appointment ID that was canceled.
  • fiscal_code - The fiscal code of the patient whose appointment was canceled.
  • cancellation_reason - The reason provided for the cancellation, if any.

Dependencies

  • Prenoting API with authentication credentials

Troubleshooting

  • Ensure the appointment ID and patient fiscal code are correctly provided and valid; otherwise, the API call will fail.
  • If the fiscal code is not exactly 16 characters, the operation may not proceed correctly.
  • Network or authentication issues with the Prenoting API can cause request failures; verify API credentials and connectivity.

Discussion