Actions11
Admin: Create Appointment for Patient
AI-generatedOverview
This node operation allows an admin to create an appointment for a patient using the Prenoting API. It requires the patient's fiscal code, the service ID to book, and the slot data as a JSON string representing the complete slot object. Optionally, admin notes can be added to the booking. This operation is useful in healthcare or service management systems where administrators need to schedule appointments on behalf of patients.
Use Case Examples
- An admin schedules a medical appointment for a patient by providing the patient's fiscal code, selecting the desired service, and specifying the available time slot.
- A clinic administrator uses this node to book a follow-up appointment for a patient, including notes for internal use.
Properties
| Name | Meaning |
|---|---|
| Service ID | The ID of the service to book for the appointment. |
| Slot | The slot data as a JSON string representing the complete slot object from the available slots response. |
| Patient Fiscal Code | The patient's fiscal code, which must be exactly 16 characters long. |
| Admin Notes | Optional notes from the admin related to the booking. |
Output
JSON
fiscal_code- The fiscal code of the patient for whom the appointment was created.servizio- The service ID booked for the appointment.slot- The slot data as a JSON string representing the booked appointment time.note_admin- Optional admin notes included in the booking.response- The full response from the Prenoting API after creating the booking.
Dependencies
- Prenoting API with appropriate API key credentials
Troubleshooting
- Ensure the fiscal code is exactly 16 characters long; otherwise, the node will throw an error.
- The 'Service ID' and 'Slot' parameters are required and cannot be empty; missing these will cause the node to fail.
- The slot parameter must be a valid JSON string or object representing the slot; invalid JSON will cause errors.
- API request failures may occur if the Prenoting API credentials are incorrect or the API is unreachable.