Interface Definition
ThePatientData interface represents a comprehensive patient record in the system.
Properties
Unique identifier for the patient
Patient’s full name
Patient’s age in years
Contact phone number
Patient’s email address
Patient’s physical address
Known medication allergies or “Ninguna” if none
Insurance or billing information
Current dental health status and notes
Relevant family medical history
Date of last visit in format DD/MM/YYYY
Date of next scheduled appointment in format DD/MM/YYYY
Patient status: “activo”, “pendiente”, or “urgente”
Array of scheduled appointments for this patient. See Cita interface below.
Array of treatments received by this patient. See Tratamiento interface below.
Cita Interface
Represents an appointment within a patient’s record.Appointment title or description
Appointment date in format DD/MM/YYYY
Appointment time in format HH:MM
Name of the doctor for this appointment
Appointment status: “confirmada”, “pendiente”, etc.
Tratamiento Interface
Represents a treatment within a patient’s record.Treatment title or name
Treatment cost in euros
Treatment date in format DD/MM/YYYY
Name of the doctor who performed the treatment
Detailed description of the treatment