Class PharmaAOM

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

public class PharmaAOM extends AppointmentOutcomeManager
The PharmaAOM class manages appointment outcomes specific to pharmacists. It extends AppointmentOutcomeManager to provide functionalities for viewing and updating appointment outcomes.
  • Constructor Details

  • Method Details

    • viewOutcome

      public boolean viewOutcome(String appointmentId)
      Views the outcome of a specific appointment by its ID.
      Parameters:
      appointmentId - the unique identifier of the appointment
      Returns:
      true if the outcome was successfully viewed; false if not found or not pending
    • viewAllOutcome

      public boolean viewAllOutcome()
      Views all pending appointment outcomes.
      Returns:
      true if any pending outcomes were successfully viewed; false if none found
    • updateOutcomeStatus

      public boolean updateOutcomeStatus(String appointmentId)
      Updates the status of a specific appointment outcome to DISPERSED.
      Parameters:
      appointmentId - the unique identifier of the appointment
      Returns:
      true if the status was successfully updated; false if not found or not pending