Interface Definition
TheAppointmentData interface represents a scheduled appointment in the clinic system.
Properties
Unique identifier for the appointment
Appointment date in format D/M/YYYY
Appointment time in format HH:MM (24-hour format)
Patient’s full name
Type of treatment or procedure scheduled
Name of the assigned doctor (e.g., “Dr. Rodríguez”, “Dra. Martínez”)
Expected duration of the appointment (e.g., “30 min”, “60 min”, “90 min”)
Current status of the appointment:
confirmada: Appointment is confirmedpendiente: Appointment is pending confirmationcompletada: Appointment has been completed
Patient attendance status:
sí: Patient attendedno: Patient did not attend (no-show)pendiente: Appointment has not occurred yet