Class DoctorAOM

java.lang.Object
Common.AppointmentOutcomeManager
Controllers.AOManagers.DoctorAOM

public class DoctorAOM extends AppointmentOutcomeManager
The DoctorAOM class manages appointment outcomes specific to doctors. It extends AppointmentOutcomeManager to provide functionalities for writing and managing appointment outcomes for a specific doctor.
  • Constructor Details

  • Method Details

    • getDoctorId

      public String getDoctorId()
      Returns the unique identifier of the doctor.
      Returns:
      the doctor's ID
    • writeOutcome

      public boolean writeOutcome(String appointmentId, String patientId, String newDate, String newTypeOfService, String newMedication, String newConsultationNotes)
      Writes a new outcome for an appointment.
      Parameters:
      appointmentId - the unique identifier of the appointment
      patientId - the unique identifier of the patient
      newDate - the new date for the appointment outcome
      newTypeOfService - the type of service provided during the appointment
      newMedication - any medication prescribed during the appointment
      newConsultationNotes - notes from the consultation
      Returns:
      true if the outcome was successfully added; false otherwise