Index

A B C D E F G H I L M N O P R S U V W 
All Classes and Interfaces|All Packages

A

A_NEGATIVE - Enum constant in enum class Common.BloodType
Represents A negative blood type.
A_POSITIVE - Enum constant in enum class Common.BloodType
Represents A positive blood type.
AB_NEGATIVE - Enum constant in enum class Common.BloodType
Represents AB negative blood type.
AB_POSITIVE - Enum constant in enum class Common.BloodType
Represents AB positive blood type.
acceptRequest(AppointmentSlot) - Method in class Controllers.AMManagers.DoctorAM
Accepts an appointment slot request and updates its status to CONFIRMED.
account - Variable in class Common.AppManager
 
Account - Class in DatabaseItems
Represents an account in the system.
Account(String...) - Constructor for class DatabaseItems.Account
Constructs an Account by deserializing from a set of parameters.
Account(String, String, Role, Gender, int) - Constructor for class DatabaseItems.Account
Constructs an Account with the specified details.
Account(String, String, String, Role, Gender, int) - Constructor for class DatabaseItems.Account
Constructs an Account with specified details including a custom password.
accountDatabase - Variable in class Common.AppManager
 
AccountDatabase - Class in Databases
The AccountDatabase class manages a collection of Account objects, providing functionalities to create, search, print, and remove accounts from the database.
AccountDatabase() - Constructor for class Databases.AccountDatabase
Constructs an AccountDatabase with a default CSV path for account credentials.
AccountDatabase(String) - Constructor for class Databases.AccountDatabase
Constructs an AccountDatabase with a specified CSV path for account credentials.
accountManager - Variable in class Common.AppManager
 
AccountManager - Class in Controllers
The AccountManager class provides functionalities for managing user account details, including changing passwords, emails, and phone numbers.
AccountManager(Account, AccountDatabase, MedicalRecordDatabase) - Constructor for class Controllers.AccountManager
Constructs an AccountManager with the specified account and databases.
addDiagnoses(String, String) - Method in class Controllers.MRManagers.DoctorMRM
Adds a diagnosis to a specific patient record.
addItem(DatabaseItems) - Method in class Common.Database
Adds a new item to the database records.
addMedicine(String, int, int) - Method in class Controllers.InventoryManager
Adds a new medicine to the inventory.
addOutcome(AppointmentOutcome, DoctorSchedule) - Method in class Common.AppointmentOutcomeManager
Adds a new appointment outcome to the database if it does not already exist.
addRequest(String, int) - Method in class Controllers.InventoryRequestManager
Adds a new inventory request.
addStaff(Account) - Method in class Controllers.StaffManager
Adds a new staff member to the database.
addStock(String, int) - Method in class Controllers.InventoryManager
Adds stock to an existing medicine in the inventory.
addTreatments(String, String) - Method in class Controllers.MRManagers.DoctorMRM
Adds a treatment to a specific patient record.
ADM - Enum constant in enum class Common.Role
Represents an Administrator role.
AdminAM - Class in Controllers.AMManagers
The AdminAM class serves as the Appointment Manager for administrators.
AdminAM(AccountDatabase) - Constructor for class Controllers.AMManagers.AdminAM
Constructs an AdminAM instance with the specified account database.
AdminAOM - Class in Controllers.AOManagers
The AdminAOM class serves as the Appointment Outcome Manager for administrators.
AdminAOM(AppointmentOutcomeDatabase) - Constructor for class Controllers.AOManagers.AdminAOM
Constructs an AdminAOM instance with the specified appointment outcome database.
AdminAppMgr - Class in Controllers.AppManagers
The AdminAppMgr class is responsible for managing the administrative operations of the hospital system.
AdminAppMgr() - Constructor for class Controllers.AppManagers.AdminAppMgr
 
AGE - Enum constant in enum class Common.FilterParam
Represents the age filter parameter.
AppManager - Class in Common
The AppManager class serves as an abstract base class for managing application-level functionalities.
AppManager() - Constructor for class Common.AppManager
 
AppointmentOutcome - Class in DatabaseItems
The AppointmentOutcome class represents the outcome of a medical appointment.
AppointmentOutcome(String...) - Constructor for class DatabaseItems.AppointmentOutcome
Constructs an AppointmentOutcome by deserializing from a set of parameters.
AppointmentOutcome(String, String, String, String, String, String, String, AppointmentOutcomeStatus) - Constructor for class DatabaseItems.AppointmentOutcome
Constructs an AppointmentOutcome with specified details.
appointmentOutcomeDatabase - Variable in class Common.AppManager
 
AppointmentOutcomeDatabase - Class in Databases
The AppointmentOutcomeDatabase class manages a collection of AppointmentOutcome objects, providing functionalities to extract, search, remove, and create appointment outcomes from a CSV file.
AppointmentOutcomeDatabase() - Constructor for class Databases.AppointmentOutcomeDatabase
Constructs an AppointmentOutcomeDatabase with a default CSV path for storing appointment outcome records.
AppointmentOutcomeDatabase(String) - Constructor for class Databases.AppointmentOutcomeDatabase
Constructs an AppointmentOutcomeDatabase with a specified CSV path for storing appointment outcome records.
AppointmentOutcomeManager - Class in Common
The AppointmentOutcomeManager class provides functionalities for managing appointment outcomes.
AppointmentOutcomeManager(AppointmentOutcomeDatabase) - Constructor for class Common.AppointmentOutcomeManager
Constructs an AppointmentOutcomeManager with the specified database.
AppointmentOutcomeStatus - Enum Class in Common
The AppointmentOutcomeStatus enum represents the possible statuses for an appointment outcome.
AppointmentSlot - Class in DatabaseItems
The AppointmentSlot class represents a time slot for an appointment.
AppointmentSlot(String...) - Constructor for class DatabaseItems.AppointmentSlot
Constructs an AppointmentSlot by deserializing from a set of parameters.
AppointmentSlot(String, String, String, String, AppointmentStatus) - Constructor for class DatabaseItems.AppointmentSlot
Constructs an AppointmentSlot with specified details when both patient ID and appointment ID are not provided.
AppointmentSlot(String, String, String, String, String, AppointmentStatus) - Constructor for class DatabaseItems.AppointmentSlot
Constructs an AppointmentSlot with specified details when only patient ID is provided.
AppointmentSlot(String, String, String, String, String, String, AppointmentStatus) - Constructor for class DatabaseItems.AppointmentSlot
Constructs an AppointmentSlot with specified details when both patient ID and appointment ID are provided.
AppointmentStatus - Enum Class in Common
The AppointmentStatus enum represents the various statuses that an appointment can have in the system.
ApproveReplenishRequestPage - Class in UI.InventoryPages
The ApproveReplenishRequestPage class provides functionality for approving inventory replenishment requests.
ApproveReplenishRequestPage(InventoryRequestManager) - Constructor for class UI.InventoryPages.ApproveReplenishRequestPage
Constructs an ApproveReplenishRequestPage with the specified InventoryRequestManager instance.
approveRequest(String, int) - Method in class Controllers.InventoryRequestManager
Approves an existing inventory request and updates the stock accordingly.

B

B_NEGATIVE - Enum constant in enum class Common.BloodType
Represents B negative blood type.
B_POSITIVE - Enum constant in enum class Common.BloodType
Represents B positive blood type.
BloodType - Enum Class in Common
The BloodType enum represents different blood types.

C

CancelAppointmentPage - Class in UI.AppointmentPages
The CancelAppointmentPage class provides functionality for canceling scheduled appointments for a patient.
CancelAppointmentPage(PatientAM) - Constructor for class UI.AppointmentPages.CancelAppointmentPage
Constructs a CancelAppointmentPage with the specified PatientAM instance.
cancelSlot(String) - Method in class Controllers.AMManagers.PatientAM
Cancels an appointment slot by its ID.
changeEmail(String) - Method in class Controllers.AccountManager
Changes the email address associated with the user's medical record.
changePassword(String) - Method in class Controllers.AccountManager
Changes the password of the associated account.
changePhone(String) - Method in class Controllers.AccountManager
Changes the phone number associated with the user's medical record.
checkDoctor(String) - Method in class Controllers.AMManagers.PatientAM
Checks if a doctor exists in the database by their ID.
checkPassword(String) - Method in class DatabaseItems.Account
Checks if a given password matches this account's stored password.
checkSlotAvailable(String) - Method in class Controllers.AMManagers.PatientAM
Checks whether a specific appointment slot is available.
checkSlotCancellable(String) - Method in class Controllers.AMManagers.PatientAM
Checks whether a specific appointment slot can be canceled by this patient.
clearOutput() - Static method in class Common.ClearOutput
Clears the console output by executing the appropriate command for the current operating system.
ClearOutput - Class in Common
The ClearOutput class provides a utility method for clearing the console output.
ClearOutput() - Constructor for class Common.ClearOutput
 
Common - package Common
 
COMPLETED - Enum constant in enum class Common.AppointmentStatus
Indicates that the appointment has been completed.
CONFIRMED - Enum constant in enum class Common.AppointmentStatus
Indicates that the appointment has been confirmed.
Controllers - package Controllers
 
Controllers.AMManagers - package Controllers.AMManagers
 
Controllers.AOManagers - package Controllers.AOManagers
 
Controllers.AppManagers - package Controllers.AppManagers
 
Controllers.MRManagers - package Controllers.MRManagers
 
convertHours(int) - Method in class Controllers.AMManagers.DoctorAM
Converts an hour to a time format string (HH:00).
createDatabaseItem(String[]) - Method in class Common.Database
Creates a specific DatabaseItems object from an array of values.
createDatabaseItem(String[]) - Method in class Databases.AccountDatabase
Creates a new Account object from the provided values.
createDatabaseItem(String[]) - Method in class Databases.AppointmentOutcomeDatabase
Creates a new AppointmentOutcome object from an array of values.
createDatabaseItem(String[]) - Method in class Databases.DoctorSchedule
Creates a new AppointmentSlot instance from an array of values.
createDatabaseItem(String[]) - Method in class Databases.InventoryDatabase
Creates a new Medicines instance from an array of values.
createDatabaseItem(String[]) - Method in class Databases.InventoryRequestDatabase
Creates a new InventoryRequest instance from an array of values.
createDatabaseItem(String[]) - Method in class Databases.MedicalRecordDatabase
Creates a new MedicalRecord instance from an array of values.
createManagers() - Method in class Common.AppManager
Creates instances of managers specific to the application context.
createManagers() - Method in class Controllers.AppManagers.AdminAppMgr
Creates instances of various managers used in the application, including account management, staff management, inventory management, and appointment outcome management.
createManagers() - Method in class Controllers.AppManagers.DoctorAppMgr
Creates instances of managers used in the doctor application.
createManagers() - Method in class Controllers.AppManagers.PatientAppMgr
Creates instances of managers used in the patient application.
createManagers() - Method in class Controllers.AppManagers.PharmaAppMgr
Creates instances of managers used in the pharmacist application.
createPages() - Method in class Common.AppManager
Creates instances of pages specific to the application context.
createPages() - Method in class Controllers.AppManagers.AdminAppMgr
Creates instances of various pages used in the application, including pages for managing staff, updating details, viewing appointments, and managing inventory.
createPages() - Method in class Controllers.AppManagers.DoctorAppMgr
Creates instances of UI pages used in the doctor application.
createPages() - Method in class Controllers.AppManagers.PatientAppMgr
Creates instances of UI pages used in the patient application.
createPages() - Method in class Controllers.AppManagers.PharmaAppMgr
Creates instances of UI pages used in the pharmacist application.
csvPath - Variable in class Common.Database
 
CustomTimer - Class in Common
The CustomTimer class provides utility methods for managing time-related operations, such as pausing execution of the current thread for a specified duration.
CustomTimer() - Constructor for class Common.CustomTimer
 

D

database - Variable in class Common.AppointmentOutcomeManager
 
Database - Class in Common
The Database class serves as an abstract base class for managing collections of DatabaseItems.
Database() - Constructor for class Common.Database
 
DatabaseItems - package DatabaseItems
 
DatabaseItems - Interface in Common
The DatabaseItems interface defines the methods that any database item should implement.
Databases - package Databases
 
DECLINED - Enum constant in enum class Common.AppointmentStatus
Indicates that the appointment has been declined.
deleteDoctorFile(String) - Static method in class Databases.DoctorSchedule
Deletes the CSV file associated with a specific doctor.
deserialise(String...) - Method in interface Common.DatabaseItems
Deserializes the database item from a set of parameters.
deserialise(String...) - Method in class DatabaseItems.Account
Deserializes account details from a string array.
deserialise(String...) - Method in class DatabaseItems.AppointmentOutcome
Deserializes appointment details from a string array.
deserialise(String...) - Method in class DatabaseItems.AppointmentSlot
Deserializes appointment details from a string array.
deserialise(String...) - Method in class DatabaseItems.InventoryRequest
Deserializes parameters into an InventoryRequest object.
deserialise(String...) - Method in class DatabaseItems.MedicalRecord
Deserializes parameters into a MedicalRecord object.
deserialise(String...) - Method in class DatabaseItems.Medicines
Deserializes parameters into a Medicines object.
DISPENSED - Enum constant in enum class Common.AppointmentOutcomeStatus
Indicates that the medication has been dispensed.
display(InventoryDatabase) - Method in class UI.InventoryPages.ViewInventoryPage
Displays the contents of the specified inventory database.
displayAdminMenu() - Static method in class UI.UserMenu
Displays the admin menu and prompts the user to select an option.
displayAllRequests() - Method in class Controllers.InventoryRequestManager
Displays all current inventory requests.
displayAllStaff() - Method in class Controllers.StaffManager
Displays all staff members who are doctors or pharmacists.
displayAppointmentOutcome(String) - Method in class UI.AppointmentPages.ViewAppointmentsDetailsPage
Displays the outcome of a specific appointment based on its ID.
displayDocTimeSlot(Account, List<DatabaseItems>) - Method in class UI.AppointmentPages.ViewPersonalSchedulePage
Displays the doctor's personal schedule, including time slots and their statuses.
displayDoctorMenu() - Static method in class UI.UserMenu
Displays the doctor menu and prompts the user to select an option.
displayError(String) - Static method in class Common.UserInterface
Displays an error message to the console.
displayFarewellText() - Static method in class HomePage
Displays a farewell message when the application is closing.
displayInventory() - Method in class Controllers.InventoryManager
Displays all items in the current inventory.
displayMainPage() - Method in class Common.AppManager
Displays the main page of the application, providing access to various functionalities.
displayMainPage() - Method in class Controllers.AppManagers.AdminAppMgr
Displays the main administrative menu and handles user selections until the user chooses to log out.
displayMainPage() - Method in class Controllers.AppManagers.DoctorAppMgr
Displays the main menu for doctors and handles user selections.
displayMainPage() - Method in class Controllers.AppManagers.PatientAppMgr
Displays the main menu for patients and handles user selections.
displayMainPage() - Method in class Controllers.AppManagers.PharmaAppMgr
Displays the main menu for the pharmacist and handles user selections.
displayMedicalRecord() - Method in class UI.MedicalRecordPages.PatientViewMedicalRecordPage
Displays the current medical record of the patient.
displayOption() - Method in class UI.InventoryPages.StockRequestPage
Displays options for submitting a stock request.
displayOptions() - Method in class UI.AccountManagementPages.ManageStaffPage
Displays the main menu options for managing staff and handles user input.
displayOptions() - Method in class UI.AOMUI.DoctorOutcomeInterface
Prompts the user to select an option for managing appointment outcomes.
displayOptions() - Method in class UI.AOMUI.PharmaOutcomeInterface
Displays options for managing appointment outcomes.
displayOptions() - Method in class UI.AppointmentPages.RescheduleAppointmentPage
Displays the patient's scheduled appointments and allows the user to select an appointment to reschedule.
displayOptions() - Method in class UI.AppointmentPages.ScheduleAppointmentPage
Displays a list of doctors and allows the user to select a doctor to schedule an appointment.
displayOptions() - Method in class UI.InventoryPages.ApproveReplenishRequestPage
Displays options for approving replenishment requests.
displayOptions() - Method in class UI.InventoryPages.InventoryManagementPage
Displays options for managing the inventory and handles user input.
displayOptions() - Method in class UI.MedicalRecordPages.ManageMedicalRecordPage
Displays options for managing medical records and handles user input.
displayOptions(Account) - Method in class UI.AccountManagementPages.UpdateDetailsPage
Displays options for updating account details based on the user's role.
displayOptions(String) - Method in class UI.AOMUI.PatientOutcomeInterface
Prompts the user to select an option for managing appointment outcomes.
displayOutcome(String) - Method in class Controllers.AOManagers.PatientAOM
Displays the outcome of a specific appointment for the patient.
displayPastOutcomes() - Method in class Controllers.AOManagers.PatientAOM
Displays all past appointment outcomes for the specific patient.
displayPatientMenu() - Static method in class UI.UserMenu
Displays the patient menu and prompts the user to select an option.
displayPharmacistMenu() - Static method in class UI.UserMenu
Displays the pharmacist menu and prompts the user to select an option.
displaySlots() - Method in class UI.AppointmentPages.CancelAppointmentPage
Displays the patient's scheduled appointments.
displaySlots() - Method in class UI.AppointmentPages.ViewAppointmentsDetailsPage
Displays all scheduled appointments and their details.
displaySlots() - Method in class UI.AppointmentPages.ViewScheduledAppointmentsPage
Displays the scheduled appointments for the patient.
displayStaffs(FilterParam, int, int) - Method in class Controllers.StaffManager
Displays all staff members filtered by age range.
displayStaffs(FilterParam, String) - Method in class Controllers.StaffManager
Displays all staff members filtered by specified parameter and value.
displaySuccess(String) - Static method in class Common.UserInterface
Displays a success message to the console.
displayWelcomeText() - Static method in class HomePage
Displays a welcome message with a typing effect and a pulsing animation.
DOC - Enum constant in enum class Common.Role
Represents a Doctor role.
DoctorAM - Class in Controllers.AMManagers
The DoctorAM class manages appointment-related functionalities for doctors.
DoctorAM(DoctorSchedule) - Constructor for class Controllers.AMManagers.DoctorAM
Constructs a DoctorAM with the specified doctor's schedule.
DoctorAOM - Class in Controllers.AOManagers
The DoctorAOM class manages appointment outcomes specific to doctors.
DoctorAOM(AppointmentOutcomeDatabase, String, DoctorSchedule) - Constructor for class Controllers.AOManagers.DoctorAOM
Constructs a DoctorAOM with the specified appointment outcome database, doctor ID, and doctor's schedule.
DoctorAppMgr - Class in Controllers.AppManagers
The DoctorAppMgr class manages the functionalities available to doctors within the Hospital X System.
DoctorAppMgr() - Constructor for class Controllers.AppManagers.DoctorAppMgr
 
DoctorMRM - Class in Controllers.MRManagers
The DoctorMRM class extends MedicalRecordsManager to provide functionalities specific to managing medical records for patients by doctors.
DoctorMRM(MedicalRecordDatabase, AccountDatabase) - Constructor for class Controllers.MRManagers.DoctorMRM
Constructs a DoctorMRM with the specified medical record database and account database.
DoctorOutcomeInterface - Class in UI.AOMUI
The DoctorOutcomeInterface class provides functionality for managing appointment outcomes for doctors.
DoctorOutcomeInterface(DoctorAOM, DoctorSchedule) - Constructor for class UI.AOMUI.DoctorOutcomeInterface
Constructs a DoctorOutcomeInterface with the specified DoctorAOM and DoctorSchedule instances.
doctorSchedule - Variable in class Common.AppManager
 
DoctorSchedule - Class in Databases
The DoctorSchedule class manages the schedule of a specific doctor.
DoctorSchedule(String) - Constructor for class Databases.DoctorSchedule
Constructs a DoctorSchedule for a specific doctor.

E

editAge(String, int) - Method in class Controllers.StaffManager
Edits the age of a staff member by user ID.
editDiagnoses(String, int, String) - Method in class Controllers.MRManagers.DoctorMRM
Edits an existing diagnosis in a specific patient record.
editGender(String, Gender) - Method in class Controllers.StaffManager
Edits the gender of a staff member by user ID.
editName(String, String) - Method in class Controllers.StaffManager
Edits the name of a staff member by user ID.
editPassword(String, String) - Method in class Controllers.StaffManager
Edits the password of a staff member by user ID.
editTreatments(String, int, String) - Method in class Controllers.MRManagers.DoctorMRM
Edits an existing treatment in a specific patient record.
extractFromCSV() - Method in class Common.Database
Extracts database items from the specified CSV file.

F

FEMALE - Enum constant in enum class Common.Gender
Represents female gender.
FilterParam - Enum Class in Common
The FilterParam enum represents the different parameters that can be used for filtering data in the system.
FREE - Enum constant in enum class Common.AppointmentStatus
Indicates that the appointment slot is currently free.
fromString(String) - Static method in enum class Common.AppointmentOutcomeStatus
Converts a string representation of a status to its corresponding AppointmentOutcomeStatus enum value.
fromString(String) - Static method in enum class Common.AppointmentStatus
Converts a string representation of an appointment status to its corresponding AppointmentStatus enum value.
fromString(String) - Static method in enum class Common.BloodType
Converts a string representation of a blood type to its corresponding BloodType enum value.
fromString(String) - Static method in enum class Common.FilterParam
Converts a string representation of a filter parameter to its corresponding FilterParam enum value.
fromString(String) - Static method in enum class Common.Gender
Converts a string representation of gender to its corresponding Gender enum value.
fromString(String) - Static method in enum class Common.Role
Converts a string representation of a role to its corresponding Role enum value.

G

Gender - Enum Class in Common
The Gender enum represents the possible gender values for users in the system.
GENDER - Enum constant in enum class Common.FilterParam
Represents the gender filter parameter.
generateTimeSlot(String, LocalDate, String, String) - Method in class Controllers.AMManagers.DoctorAM
Generates hourly appointment slots for a doctor between specified start and end times.
getAge() - Method in class DatabaseItems.Account
Returns the age of the account holder.
getAlertLevel() - Method in class DatabaseItems.Medicines
Returns the alert level for low stock.
getAllOutcomes() - Method in class Common.AppointmentOutcomeManager
Retrieves all appointment outcomes from the database.
getAppointmentId() - Method in class DatabaseItems.AppointmentOutcome
Returns the unique identifier for the appointment.
getAppointmentId() - Method in class DatabaseItems.AppointmentSlot
Returns the unique identifier for the appointment.
getAppointments() - Method in class Controllers.AMManagers.AdminAM
Gets a list of appointments for all doctors managed by this appointment manager.
getAppointments() - Method in class Controllers.AMManagers.PatientAM
Retrieves all appointments associated with this patient across all doctors.
getAvailableSlots() - Method in class Controllers.AMManagers.DoctorAM
Retrieves all available appointment slots from the doctor's schedule.
getAvailableSlots(String) - Method in class Controllers.AMManagers.PatientAM
Retrieves available appointment slots for a specific doctor by their ID.
getBloodType() - Method in class DatabaseItems.MedicalRecord
Returns the blood type of the patient.
getConsultationNotes() - Method in class DatabaseItems.AppointmentOutcome
Returns notes from the consultation.
getDate() - Method in class DatabaseItems.AppointmentOutcome
Returns the date of the appointment.
getDate() - Method in class DatabaseItems.AppointmentSlot
Returns the date of the appointment.
getDiagnoses() - Method in class DatabaseItems.MedicalRecord
Returns a list of diagnoses associated with this medical record.
getDob() - Method in class DatabaseItems.MedicalRecord
Returns the date of birth of the patient.
getDocList() - Method in class Controllers.AMManagers.PatientAM
Returns the list of doctors available to the patient.
getDoctorId() - Method in class Controllers.AOManagers.DoctorAOM
Returns the unique identifier of the doctor.
getDoctorId() - Method in class DatabaseItems.AppointmentOutcome
Returns the unique identifier for the doctor associated with this outcome.
getDoctorId() - Method in class DatabaseItems.AppointmentSlot
Returns unique identifier for associated doctor.
getDoctorSchedule(String) - Method in class Controllers.AMManagers.PatientAM
Retrieves the schedule for a specific doctor by their ID.
getEmail() - Method in class DatabaseItems.MedicalRecord
Returns the email address of the patient.
getGender() - Method in class DatabaseItems.Account
Returns the gender of the account holder.
getGender() - Method in class DatabaseItems.MedicalRecord
Returns the gender of the patient.
getid() - Method in class DatabaseItems.Account
Returns the unique identifier for the account.
getId() - Method in class DatabaseItems.MedicalRecord
Returns the unique identifier of the medical record.
getIntInput(int) - Static method in class Common.UserInterface
Gets an integer input from the user and checks for input errors.
getMedication() - Method in class DatabaseItems.AppointmentOutcome
Returns the prescribed medication.
getMedicine() - Method in class DatabaseItems.InventoryRequest
Returns the name of the requested medicine.
getMedicine() - Method in class DatabaseItems.Medicines
Returns the name of the medicine.
getName() - Method in class DatabaseItems.Account
Returns the name of the account holder.
getName() - Method in class DatabaseItems.MedicalRecord
Returns the name of the patient.
getNumericString() - Static method in class Common.UserInterface
Gets a numeric string input from the user.
getOutcome(String) - Method in class Common.AppointmentOutcomeManager
Retrieves an appointment outcome by its unique identifier.
getpassword() - Method in class DatabaseItems.Account
Returns the password for the account.
getPassword() - Static method in class UI.LoginPage
Prompts the user to enter their password.
getPatientId() - Method in class DatabaseItems.AppointmentOutcome
Returns the unique identifier for the patient associated with this outcome.
getPatientId() - Method in class DatabaseItems.AppointmentSlot
Returns the unique identifier for the patient associated with this slot.
getPhone() - Method in class DatabaseItems.MedicalRecord
Returns the phone number of the patient.
getRecord(String) - Method in class Common.MedicalRecordsManager
Retrieves a medical record by user ID.
getRecords() - Method in class Common.Database
Returns a list of all database items.
getRequestValue() - Method in class DatabaseItems.InventoryRequest
Returns the quantity requested for the medicine.
getrole() - Method in class DatabaseItems.Account
Returns the role of the account holder.
getRole() - Method in class Common.AppManager
Returns the role of the currently logged-in user.
getSlots(String) - Method in class Controllers.AMManagers.PatientAM
Retrieves all appointment slots for a specific doctor by their ID.
getSlotWithAppID(String) - Method in class Controllers.AMManagers.DoctorAM
Retrieves a specific appointment slot by its ID.
getStatus() - Method in class DatabaseItems.AppointmentOutcome
Returns the status of the appointment outcome.
getStatus() - Method in class DatabaseItems.AppointmentSlot
Returns current status of appointment.
getStock() - Method in class DatabaseItems.Medicines
Returns the current stock level of the medicine.
getTimeend() - Method in class DatabaseItems.AppointmentSlot
Returns end time of appointment.
getTimestart() - Method in class DatabaseItems.AppointmentSlot
Returns the start time of the appointment.
getTreatments() - Method in class DatabaseItems.MedicalRecord
Returns a list of treatments associated with this medical record.
getTypeOfService() - Method in class DatabaseItems.AppointmentOutcome
Returns the type of service provided during the appointment.
getUserId() - Static method in class UI.LoginPage
Prompts the user to enter their user ID.
getUserInfo(String) - Method in class Controllers.StaffManager
Retrieves user information by user ID.
getValidatedInt(String) - Method in class Common.UserInterface
Prompts the user for a positive integer value.
getValidatedString(String) - Method in class Common.UserInterface
Prompts the user for a string input and checks for null or empty values.

H

handleAddMedicine() - Method in class UI.InventoryPages.InventoryManagementPage
Prompts the user to add a new medicine to the inventory.
handleAddStock(String) - Method in class UI.InventoryPages.InventoryManagementPage
Prompts the user to add stock for a specified medicine.
handleAppointmentRequests() - Method in class UI.AppointmentPages.HandleAppointmentRequestsPage
Displays requested appointment slots and allows the doctor to accept or reject appointments.
HandleAppointmentRequestsPage - Class in UI.AppointmentPages
The HandleAppointmentRequestsPage class provides functionality for handling appointment requests for a doctor.
HandleAppointmentRequestsPage(DoctorAM, Account) - Constructor for class UI.AppointmentPages.HandleAppointmentRequestsPage
Constructs a HandleAppointmentRequestsPage with the specified DoctorAM and Account instances.
handleEditStock(String) - Method in class UI.InventoryPages.InventoryManagementPage
Prompts the user to change the stock value of a specified medicine.
handleRemoveMedicine() - Method in class UI.InventoryPages.InventoryManagementPage
Prompts the user to remove a medicine from the inventory.
handleRemoveStock(String) - Method in class UI.InventoryPages.InventoryManagementPage
Prompts the user to remove stock from a specified medicine.
handleUpdateAlertLevel(String) - Method in class UI.InventoryPages.InventoryManagementPage
Prompts the user to update the alert level for a specified medicine.
handleUpdateStock() - Method in class UI.InventoryPages.InventoryManagementPage
Allows updating of stock levels for medicines in the inventory.
handleViewInventory() - Method in class UI.InventoryPages.InventoryManagementPage
Displays all items in the inventory.
headerFormat - Variable in class Common.Database
 
HomePage - Class in Unnamed Package
The HomePage class serves as the entry point for the Hospital X System application.
HomePage() - Constructor for class HomePage
 

I

inventoryDatabase - Variable in class Common.AppManager
 
InventoryDatabase - Class in Databases
The InventoryDatabase class manages a collection of medicines in inventory.
InventoryDatabase() - Constructor for class Databases.InventoryDatabase
Constructs an InventoryDatabase with a default CSV path.
InventoryDatabase(String) - Constructor for class Databases.InventoryDatabase
Constructs an InventoryDatabase with a specified CSV path.
InventoryManagementPage - Class in UI.InventoryPages
The InventoryManagementPage class provides functionality for managing the inventory of medicines.
InventoryManagementPage(InventoryManager) - Constructor for class UI.InventoryPages.InventoryManagementPage
Constructs an InventoryManagementPage with the specified InventoryManager instance.
InventoryManager - Class in Controllers
The InventoryManager class manages the inventory of medicines.
InventoryManager(InventoryDatabase) - Constructor for class Controllers.InventoryManager
Constructs an InventoryManager with the specified inventory database.
InventoryRequest - Class in DatabaseItems
The InventoryRequest class represents a request for inventory items.
InventoryRequest(String...) - Constructor for class DatabaseItems.InventoryRequest
Constructs an InventoryRequest instance by deserializing from an array of parameters.
InventoryRequest(String, int) - Constructor for class DatabaseItems.InventoryRequest
Constructs an InventoryRequest instance with specified medicine name and request value.
inventoryRequestDatabase - Variable in class Common.AppManager
 
InventoryRequestDatabase - Class in Databases
The InventoryRequestDatabase class manages a collection of inventory requests.
InventoryRequestDatabase() - Constructor for class Databases.InventoryRequestDatabase
Constructs an InventoryRequestDatabase with a default CSV path.
InventoryRequestDatabase(String) - Constructor for class Databases.InventoryRequestDatabase
Constructs an InventoryRequestDatabase with a specified CSV path.
InventoryRequestManager - Class in Controllers
The InventoryRequestManager class manages inventory requests.
InventoryRequestManager(InventoryRequestDatabase) - Constructor for class Controllers.InventoryRequestManager
Constructs an InventoryRequestManager for handling requests only.
InventoryRequestManager(InventoryRequestDatabase, InventoryManager) - Constructor for class Controllers.InventoryRequestManager
Constructs an InventoryRequestManager for handling both requests and approvals.
isAppIDExist(String) - Method in class Controllers.AMManagers.DoctorAM
Checks if an appointment ID exists in the doctor's schedule.
isEndTimeAfterStart(int, int) - Method in class Controllers.AMManagers.DoctorAM
Checks if the end hour is after the start hour.
isValidDate(int, int, int) - Method in class Controllers.AMManagers.DoctorAM
Checks if the provided date is valid.
isValidHour(int) - Method in class Controllers.AMManagers.DoctorAM
Checks if the provided hour is within valid working hours (8 AM to 6 PM).

L

ListConverter - Class in Common
The ListConverter class provides utility methods for converting between strings and lists of strings, as well as replacing specific characters within those strings.
ListConverter() - Constructor for class Common.ListConverter
 
listToString(List<String>) - Static method in class Common.ListConverter
Converts a list of strings into a single string joined by ';'.
loadDatabases() - Method in class Common.AppManager
Loads necessary databases for managing application data.
loadDatabases() - Method in class Controllers.AppManagers.AdminAppMgr
Loads the necessary databases for managing accounts, inventory, medical records, and appointment outcomes.
loadDatabases() - Method in class Controllers.AppManagers.DoctorAppMgr
Loads necessary databases for the application.
loadDatabases() - Method in class Controllers.AppManagers.PatientAppMgr
Loads necessary databases for the application.
loadDatabases() - Method in class Controllers.AppManagers.PharmaAppMgr
Loads necessary databases for the application.
logIn() - Method in class Controllers.LoginManager
Manages the login process for users.
logIn(Account) - Method in class Common.AppManager
Logs in the specified account and initializes the application state.
LoginManager - Class in Controllers
The LoginManager class handles user login functionality.
LoginManager() - Constructor for class Controllers.LoginManager
Constructs a LoginManager and initializes the account database.
LoginPage - Class in UI
The LoginPage class provides methods for user login functionality.
LoginPage() - Constructor for class UI.LoginPage
 
logOut() - Method in class Common.AppManager
Logs out the current user and saves any changes made to the databases.

M

main(String[]) - Static method in class HomePage
The main method that runs the application.
MALE - Enum constant in enum class Common.Gender
Represents male gender.
ManageMedicalRecordPage - Class in UI.MedicalRecordPages
The ManageMedicalRecordPage class provides functionality for managing a patient's medical records.
ManageMedicalRecordPage(DoctorMRM) - Constructor for class UI.MedicalRecordPages.ManageMedicalRecordPage
Constructs a ManageMedicalRecordPage with the specified DoctorMRM instance.
ManageStaffPage - Class in UI.AccountManagementPages
Represents the staff management page in the user interface.
ManageStaffPage(StaffManager) - Constructor for class UI.AccountManagementPages.ManageStaffPage
Constructs a new instance of the ManageStaffPage with the specified StaffManager.
MedicalRecord - Class in DatabaseItems
The MedicalRecord class represents a patient's medical record.
MedicalRecord(String...) - Constructor for class DatabaseItems.MedicalRecord
Constructs a MedicalRecord instance by deserializing from an array of parameters.
MedicalRecord(String, String, String, Gender, String, String, BloodType, List<String>, List<String>) - Constructor for class DatabaseItems.MedicalRecord
Constructs a MedicalRecord instance with specified attributes.
medicalRecordDatabase - Variable in class Common.AppManager
 
medicalRecordDatabase - Variable in class Common.MedicalRecordsManager
 
MedicalRecordDatabase - Class in Databases
The MedicalRecordDatabase class manages a collection of medical records.
MedicalRecordDatabase() - Constructor for class Databases.MedicalRecordDatabase
Constructs a MedicalRecordDatabase with a default CSV path.
MedicalRecordDatabase(String) - Constructor for class Databases.MedicalRecordDatabase
Constructs a MedicalRecordDatabase with a specified CSV path.
MedicalRecordsManager - Class in Common
The MedicalRecordsManager class provides functionalities for managing medical records.
MedicalRecordsManager(MedicalRecordDatabase) - Constructor for class Common.MedicalRecordsManager
Constructs a MedicalRecordsManager with the specified medical record database.
Medicines - Class in DatabaseItems
The Medicines class represents a medicine item in the inventory.
Medicines(String) - Constructor for class DatabaseItems.Medicines
Constructs a Medicines instance with specified medicine name.
Medicines(String...) - Constructor for class DatabaseItems.Medicines
Constructs a Medicines instance by deserializing from an array of parameters.
Medicines(String, int, int) - Constructor for class DatabaseItems.Medicines
Constructs a Medicines instance with specified medicine name, stock level, and alert level.

N

NA - Enum constant in enum class Common.BloodType
Represents a non-applicable blood type.
NA - Enum constant in enum class Common.Gender
Represents a non-applicable gender.
newDoctor(String) - Static method in class Databases.DoctorSchedule
Creates a new CSV file for a new doctor with the specified ID.

O

O_NEGATIVE - Enum constant in enum class Common.BloodType
Represents O negative blood type.
O_POSITIVE - Enum constant in enum class Common.BloodType
Represents O positive blood type.

P

PAT - Enum constant in enum class Common.Role
Represents a Patient role.
PatientAM - Class in Controllers.AMManagers
The PatientAM class manages appointment-related functionalities for patients.
PatientAM(String, AccountDatabase) - Constructor for class Controllers.AMManagers.PatientAM
Constructs a PatientAM with the specified patient ID and account database.
PatientAOM - Class in Controllers.AOManagers
The PatientAOM class manages appointment outcomes specific to patients.
PatientAOM(AppointmentOutcomeDatabase, String) - Constructor for class Controllers.AOManagers.PatientAOM
Constructs a PatientAOM with the specified appointment outcome database and patient ID.
PatientAppMgr - Class in Controllers.AppManagers
The PatientAppMgr class manages the functionalities available to patients within the Hospital X System.
PatientAppMgr() - Constructor for class Controllers.AppManagers.PatientAppMgr
 
PatientMRM - Class in Controllers.MRManagers
The PatientMRM class extends MedicalRecordsManager to provide functionalities specific to managing a patient's medical records.
PatientMRM(MedicalRecordDatabase, String) - Constructor for class Controllers.MRManagers.PatientMRM
Constructs a PatientMRM with the specified medical record database and user ID.
PatientOutcomeInterface - Class in UI.AOMUI
The PatientOutcomeInterface class provides functionality for managing appointment outcomes for patients.
PatientOutcomeInterface(PatientAOM) - Constructor for class UI.AOMUI.PatientOutcomeInterface
Constructs a PatientOutcomeInterface with the specified PatientAOM instance.
PatientViewMedicalRecordPage - Class in UI.MedicalRecordPages
The PatientViewMedicalRecordPage class provides functionality for displaying a patient's medical record.
PatientViewMedicalRecordPage(PatientMRM) - Constructor for class UI.MedicalRecordPages.PatientViewMedicalRecordPage
Constructs a PatientViewMedicalRecordPage with the specified PatientMRM instance.
pause(long) - Static method in class Common.CustomTimer
Pauses the execution of the current thread for a specified amount of time.
pauseAndView() - Method in class Common.UserInterface
Pauses execution and waits for the user to press ENTER before returning to menu.
PENDING - Enum constant in enum class Common.AppointmentOutcomeStatus
Indicates that the appointment outcome is pending.
PHA - Enum constant in enum class Common.Role
Represents a Pharmacist role.
PharmaAOM - Class in Controllers.AOManagers
The PharmaAOM class manages appointment outcomes specific to pharmacists.
PharmaAOM(AppointmentOutcomeDatabase) - Constructor for class Controllers.AOManagers.PharmaAOM
Constructs a PharmaAOM with the specified appointment outcome database.
PharmaAppMgr - Class in Controllers.AppManagers
The PharmaAppMgr class manages the pharmacist's application functionalities.
PharmaAppMgr() - Constructor for class Controllers.AppManagers.PharmaAppMgr
 
PharmaOutcomeInterface - Class in UI.AOMUI
The PharmaOutcomeInterface class provides functionality for managing appointment outcomes related to medicine dispensing.
PharmaOutcomeInterface(PharmaAOM) - Constructor for class UI.AOMUI.PharmaOutcomeInterface
Constructs a PharmaOutcomeInterface with the specified PharmaAOM instance.
printDiagnoses() - Method in class DatabaseItems.MedicalRecord
Prints all diagnoses associated with this medical record.
printItem() - Method in interface Common.DatabaseItems
Prints the details of the database item to standard output.
printItem() - Method in class DatabaseItems.Account
Prints account details to standard output.
printItem() - Method in class DatabaseItems.AppointmentOutcome
Prints the details of the appointment outcome to standard output.
printItem() - Method in class DatabaseItems.AppointmentSlot
Prints the details of the appointment slot to standard output.
printItem() - Method in class DatabaseItems.InventoryRequest
Prints details of the inventory request to the console.
printItem() - Method in class DatabaseItems.MedicalRecord
Prints details of the medical record to the console.
printItem() - Method in class DatabaseItems.Medicines
Prints details of the medicine item to the console.
printItems() - Method in class Common.Database
Prints all items in this database.
printItems() - Method in class Databases.AccountDatabase
Prints all items in the account database with a specified header.
printItems() - Method in class Databases.AppointmentOutcomeDatabase
Prints all items in the appointment outcome database with a specified title.
printItems() - Method in class Databases.DoctorSchedule
Prints all items in the doctor's schedule.
printItems() - Method in class Databases.InventoryDatabase
Prints all items in the inventory database.
printItems() - Method in class Databases.InventoryRequestDatabase
Prints all items in the inventory request database.
printItems() - Method in class Databases.MedicalRecordDatabase
Prints all items in the medical records database.
printItems(String) - Method in class Common.Database
Prints all items in the database with a specified title.
printTreatments() - Method in class DatabaseItems.MedicalRecord
Prints all treatments associated with this medical record.

R

recordOutcome(String, String, String, String) - Method in class UI.AOMUI.DoctorOutcomeInterface
Records the outcome of an appointment based on provided details.
records - Variable in class Common.Database
 
rejectRequest(AppointmentSlot) - Method in class Controllers.AMManagers.DoctorAM
Rejects an appointment slot request and updates its status to DECLINED.
removeItem(String) - Method in class Common.Database
Removes an item from the database using its unique identifier.
removeItem(String) - Method in class Databases.AccountDatabase
Removes an account from the database using the specified user ID.
removeItem(String) - Method in class Databases.AppointmentOutcomeDatabase
Removes an appointment outcome from the database using its unique identifier.
removeItem(String) - Method in class Databases.DoctorSchedule
Removes an appointment slot by its ID.
removeItem(String) - Method in class Databases.InventoryDatabase
Removes a medicine from the inventory by its name.
removeItem(String) - Method in class Databases.InventoryRequestDatabase
Removes an inventory request by medicine name.
removeItem(String) - Method in class Databases.MedicalRecordDatabase
Removes a medical record by its unique identifier (ID).
removeItem(String, int) - Method in class Databases.InventoryRequestDatabase
Removes an inventory request by medicine name and request value.
removeMedicine(String) - Method in class Controllers.InventoryManager
Removes a medicine from the inventory.
removeOutcome(String) - Method in class Common.AppointmentOutcomeManager
Removes an appointment outcome from the database by its unique identifier.
removeStaff(String) - Method in class Controllers.StaffManager
Removes a staff member from the database by user ID.
removeStock(String, int) - Method in class Controllers.InventoryManager
Removes a specified amount of stock from an existing medicine.
replaceWithComma(String) - Static method in class Common.ListConverter
Replaces all occurrences of '~' with ',' in the input string.
replaceWithComma(List<String>) - Static method in class Common.ListConverter
Replaces all occurrences of '~' with ',' in a list of strings.
replaceWithCurly(String) - Static method in class Common.ListConverter
Replaces all occurrences of ',' with '~' in the input string.
replaceWithCurly(List<String>) - Static method in class Common.ListConverter
Replaces all occurrences of ',' with '~' in a list of strings.
REQUESTED - Enum constant in enum class Common.AppointmentStatus
Indicates that the appointment has been requested but not yet confirmed.
requestSlot(String) - Method in class Controllers.AMManagers.PatientAM
Requests an appointment slot by its ID.
RescheduleAppointmentPage - Class in UI.AppointmentPages
The RescheduleAppointmentPage class provides functionality for rescheduling appointments for a patient.
RescheduleAppointmentPage(PatientAM, Account) - Constructor for class UI.AppointmentPages.RescheduleAppointmentPage
Constructs a RescheduleAppointmentPage with the specified PatientAM and Account instances.
role - Variable in class Common.AppManager
 
Role - Enum Class in Common
The Role enum represents the different roles that users can have in the system.
ROLE - Enum constant in enum class Common.FilterParam
Represents the role filter parameter.

S

saveDatabases() - Method in class Common.AppManager
Saves changes made to databases back to their respective CSV files.
saveDatabases() - Method in class Controllers.AppManagers.AdminAppMgr
Saves all changes made to the databases back to their respective CSV files.
saveDatabases() - Method in class Controllers.AppManagers.DoctorAppMgr
Saves all databases to their respective storage formats (e.g., CSV).
saveDatabases() - Method in class Controllers.AppManagers.PatientAppMgr
Saves all databases to their respective storage formats (e.g., CSV).
saveDatabases() - Method in class Controllers.AppManagers.PharmaAppMgr
Saves all databases to their respective storage formats (e.g., CSV).
scanner - Static variable in class Common.UserInterface
 
ScheduleAppointmentPage - Class in UI.AppointmentPages
The ScheduleAppointmentPage class provides functionality for scheduling appointments with doctors.
ScheduleAppointmentPage(PatientAM) - Constructor for class UI.AppointmentPages.ScheduleAppointmentPage
Constructs a ScheduleAppointmentPage with the specified PatientAM instance.
searchItem(String) - Method in class Common.Database
Searches for an item in the database using its unique identifier.
searchItem(String) - Method in class Databases.AccountDatabase
Searches for an account in the database using the specified user ID.
searchItem(String) - Method in class Databases.AppointmentOutcomeDatabase
Searches for an appointment outcome by its unique identifier.
searchItem(String) - Method in class Databases.DoctorSchedule
Searches for an appointment slot by its ID.
searchItem(String) - Method in class Databases.InventoryDatabase
Searches for a medicine by its name.
searchItem(String) - Method in class Databases.InventoryRequestDatabase
Searches for an inventory request by medicine name.
searchItem(String) - Method in class Databases.MedicalRecordDatabase
Searches for a medical record by its unique identifier (ID).
searchItem(String, int) - Method in class Databases.InventoryRequestDatabase
Searches for an inventory request by medicine name and request value.
searchItems(String) - Method in class Databases.InventoryRequestDatabase
Searches for all inventory requests associated with a specific medicine.
selectAppointment() - Method in class UI.AOMUI.DoctorOutcomeInterface
Prompts the user to select a confirmed appointment and record its outcome.
serialise() - Method in interface Common.DatabaseItems
Serializes the database item into a string representation.
serialise() - Method in class DatabaseItems.Account
Serializes account details into a comma-separated string.
serialise() - Method in class DatabaseItems.AppointmentOutcome
Serializes the appointment outcome into a comma-separated string.
serialise() - Method in class DatabaseItems.AppointmentSlot
Serializes the appointment slot into a comma-separated string.
serialise() - Method in class DatabaseItems.InventoryRequest
Serializes the InventoryRequest object into a CSV format string.
serialise() - Method in class DatabaseItems.MedicalRecord
Serializes the MedicalRecord object into a CSV format string.
serialise() - Method in class DatabaseItems.Medicines
Serializes the Medicines object into a CSV format string.
setAge(int) - Method in class DatabaseItems.Account
Sets a new age for this account.
setAlertLevel(int) - Method in class DatabaseItems.Medicines
Sets a new alert level for low stock.
setAvailability() - Method in class UI.AppointmentPages.SetAvailabilityPage
Allows the doctor to set their availability by specifying a date and time range.
SetAvailabilityPage - Class in UI.AppointmentPages
The SetAvailabilityPage class provides functionality for setting the availability schedule of a doctor.
SetAvailabilityPage(Account, DoctorSchedule, DoctorAM) - Constructor for class UI.AppointmentPages.SetAvailabilityPage
Constructs a SetAvailabilityPage with the specified Account, DoctorSchedule, and DoctorAM instances.
setBloodType(BloodType) - Method in class DatabaseItems.MedicalRecord
Sets a new blood type for the patient.
setBloodType(String, BloodType) - Method in class Controllers.MRManagers.DoctorMRM
Sets the blood type for a specific patient record.
setConsultationNotes(String) - Method in class DatabaseItems.AppointmentOutcome
Sets new consultation notes for the appointment outcome.
setcsvPath(String) - Method in class Common.Database
Sets the path to the CSV file used for storing and retrieving data.
setDate(String) - Method in class DatabaseItems.AppointmentOutcome
Sets a new date for the appointment outcome.
setDate(String) - Method in class DatabaseItems.AppointmentSlot
Sets a new date for this slot.
setDiagnoses(List<String>) - Method in class DatabaseItems.MedicalRecord
Sets new diagnoses for the patient's medical record.
setDoctorId(String) - Method in class DatabaseItems.AppointmentOutcome
Sets a new doctor ID for this outcome.
setDoctorId(String) - Method in class DatabaseItems.AppointmentSlot
Sets a new doctor ID for this slot.
setEmail(String) - Method in class DatabaseItems.MedicalRecord
Sets a new email address for the patient.
setGender(Gender) - Method in class DatabaseItems.Account
Sets a new gender for this account.
setHeaderFormat(String) - Method in class Common.Database
Sets the header format for the CSV file.
setId(String) - Method in class DatabaseItems.Account
Sets a new unique identifier for this account.
setMedication(String) - Method in class DatabaseItems.AppointmentOutcome
Sets a new medication for the appointment outcome.
setMedicine(String) - Method in class DatabaseItems.InventoryRequest
Sets a new name for the requested medicine.
setMedicine(String) - Method in class DatabaseItems.Medicines
Sets a new name for the medicine.
setName(String) - Method in class DatabaseItems.Account
Sets a new name for the account holder.
setPassword(String) - Method in class DatabaseItems.Account
Sets a new password for this account.
setPatientId(String) - Method in class DatabaseItems.AppointmentOutcome
Sets a new patient ID for this outcome.
setPatientId(String) - Method in class DatabaseItems.AppointmentSlot
Sets a new patient ID for this slot.
setPhone(String) - Method in class DatabaseItems.MedicalRecord
Sets a new phone number for the patient.
setRequestValue(int) - Method in class DatabaseItems.InventoryRequest
Sets a new request value for the quantity of requested medicine.
setRole(Role) - Method in class DatabaseItems.Account
Sets a new role for this account.
setStatus(AppointmentOutcomeStatus) - Method in class DatabaseItems.AppointmentOutcome
Sets a new status for the appointment outcome.
setStatus(AppointmentStatus) - Method in class DatabaseItems.AppointmentSlot
Sets a new status for this slot.
setStock(int) - Method in class DatabaseItems.Medicines
Sets a new stock level for the medicine.
setTimeend(String) - Method in class DatabaseItems.AppointmentSlot
Sets a new end time for this slot.
setTimestart(String) - Method in class DatabaseItems.AppointmentSlot
Sets a new start time for this slot.
settings() - Method in class Common.AppManager
Displays settings options for updating user details.
setTreatments(List<String>) - Method in class DatabaseItems.MedicalRecord
Sets new treatments for the patient's medical record.
setTypeOfService(String) - Method in class DatabaseItems.AppointmentOutcome
Sets a new type of service for the appointment outcome.
sortAppointments() - Method in class Databases.DoctorSchedule
Sorts appointment slots in ascending order based on date and start time.
sortAppointments(List<AppointmentSlot>) - Static method in class DatabaseItems.AppointmentSlot
Sorts a list of appointment slots by date and start time.
StaffManager - Class in Controllers
The StaffManager class provides functionalities for managing staff accounts.
StaffManager(AccountDatabase) - Constructor for class Controllers.StaffManager
Constructs a StaffManager with the specified account database.
StockRequestPage - Class in UI.InventoryPages
The StockRequestPage class provides functionality for submitting stock requests for medicines.
StockRequestPage(InventoryRequestManager) - Constructor for class UI.InventoryPages.StockRequestPage
Constructs a StockRequestPage with the specified InventoryRequestManager instance.
storeToCSV() - Method in class Common.Database
Stores all database items to the specified CSV file.
storeToCSV() - Method in class Databases.DoctorSchedule
Overrides the storing function to sort appointment slots before saving to CSV.
stringToList(String) - Static method in class Common.ListConverter
Converts a string to a list of strings by splitting it using ';'.

U

UI - package UI
 
UI.AccountManagementPages - package UI.AccountManagementPages
 
UI.AOMUI - package UI.AOMUI
 
UI.AppointmentPages - package UI.AppointmentPages
 
UI.InventoryPages - package UI.InventoryPages
 
UI.MedicalRecordPages - package UI.MedicalRecordPages
 
updateAlertLine(String, int) - Method in class Controllers.InventoryManager
Updates the alert level for low stock of an existing medicine.
updateDetailsPage - Variable in class Common.AppManager
 
UpdateDetailsPage - Class in UI.AccountManagementPages
The UpdateDetailsPage class provides functionality for updating account details such as password, phone number, and email.
UpdateDetailsPage(AccountManager) - Constructor for class UI.AccountManagementPages.UpdateDetailsPage
Constructs an UpdateDetailsPage with the specified AccountManager instance.
updateOutcomeStatus(String) - Method in class Controllers.AOManagers.PharmaAOM
Updates the status of a specific appointment outcome to DISPERSED.
updateStock(String, int) - Method in class Controllers.InventoryManager
Updates the stock level of an existing medicine.
userId - Variable in class Controllers.MRManagers.PatientMRM
 
UserInterface - Class in Common
The UserInterface class provides methods for user input handling, including validation of integer and string inputs.
UserInterface() - Constructor for class Common.UserInterface
 
UserMenu - Class in UI
The UserMenu class provides static methods for displaying menus to different types of users (patients, doctors, pharmacists, and administrators) in the Hospital X System.
UserMenu() - Constructor for class UI.UserMenu
 

V

valueOf(String) - Static method in enum class Common.AppointmentOutcomeStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class Common.AppointmentStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class Common.BloodType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class Common.FilterParam
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class Common.Gender
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class Common.Role
Returns the enum constant of this class with the specified name.
values() - Static method in enum class Common.AppointmentOutcomeStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class Common.AppointmentStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class Common.BloodType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class Common.FilterParam
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class Common.Gender
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class Common.Role
Returns an array containing the constants of this enum class, in the order they are declared.
viewAllOutcome() - Method in class Controllers.AOManagers.AdminAOM
Views all appointment outcomes in the database.
viewAllOutcome() - Method in class Controllers.AOManagers.PharmaAOM
Views all pending appointment outcomes.
viewAllRecords() - Method in class Controllers.MRManagers.DoctorMRM
Views all patient medical records managed by the doctor.
ViewAppointmentsDetailsPage - Class in UI.AppointmentPages
The ViewAppointmentsDetailsPage class provides functionality for viewing details of appointments.
ViewAppointmentsDetailsPage(AdminAM, AdminAOM) - Constructor for class UI.AppointmentPages.ViewAppointmentsDetailsPage
Constructs a ViewAppointmentsDetailsPage with the specified AdminAM and AdminAOM instances.
viewAvailableAppointments() - Method in class UI.AppointmentPages.ViewAvailableAppointmentsPage
Displays a list of available appointments for doctors.
ViewAvailableAppointmentsPage - Class in UI.AppointmentPages
The ViewAvailableAppointmentsPage class provides functionality for viewing available appointments for doctors.
ViewAvailableAppointmentsPage(PatientAM) - Constructor for class UI.AppointmentPages.ViewAvailableAppointmentsPage
Constructs a ViewAvailableAppointmentsPage with the specified PatientAM instance.
viewConfirmedAppointments() - Method in class UI.AOMUI.DoctorOutcomeInterface
Displays all confirmed appointments from the doctor's schedule.
viewDiagnoses(String) - Method in class Common.MedicalRecordsManager
Views diagnoses associated with a user's medical record.
ViewInventoryPage - Class in UI.InventoryPages
The ViewInventoryPage class provides functionality for displaying the inventory of medicines.
ViewInventoryPage() - Constructor for class UI.InventoryPages.ViewInventoryPage
 
viewOutcome(String) - Method in class Controllers.AOManagers.AdminAOM
Views an appointment outcome by its unique identifier.
viewOutcome(String) - Method in class Controllers.AOManagers.PharmaAOM
Views the outcome of a specific appointment by its ID.
viewPastOutcomes() - Method in class UI.AOMUI.PatientOutcomeInterface
Displays all past outcomes for appointments associated with the patient.
ViewPersonalSchedulePage - Class in UI.AppointmentPages
The ViewPersonalSchedulePage class provides functionality for viewing a doctor's personal schedule.
ViewPersonalSchedulePage() - Constructor for class UI.AppointmentPages.ViewPersonalSchedulePage
 
viewRecord() - Method in class Controllers.MRManagers.PatientMRM
Views the medical record of the patient associated with this instance.
viewRecord(String) - Method in class Common.MedicalRecordsManager
Views a medical record by user ID and prints its details.
ViewScheduledAppointmentsPage - Class in UI.AppointmentPages
The ViewScheduledAppointmentsPage class provides functionality for viewing scheduled appointments for a patient.
ViewScheduledAppointmentsPage(PatientAM) - Constructor for class UI.AppointmentPages.ViewScheduledAppointmentsPage
Constructs a ViewScheduledAppointmentsPage with the specified PatientAM instance.
viewSpecificOutcome() - Method in class UI.AOMUI.PatientOutcomeInterface
Prompts the user to enter an appointment ID and displays its outcome.
viewTreatments(String) - Method in class Common.MedicalRecordsManager
Views treatments associated with a user's medical record.
viewUpcomingAppointments() - Method in class UI.AppointmentPages.ViewUpcomingAppointmentsPage
Displays upcoming appointments for the doctor.
ViewUpcomingAppointmentsPage - Class in UI.AppointmentPages
The ViewUpcomingAppointmentsPage class provides functionality for viewing upcoming appointments for a doctor.
ViewUpcomingAppointmentsPage(DoctorAM) - Constructor for class UI.AppointmentPages.ViewUpcomingAppointmentsPage
Constructs a ViewUpcomingAppointmentsPage with the specified DoctorAM instance.

W

writeOutcome(String, String, String, String, String, String) - Method in class Controllers.AOManagers.DoctorAOM
Writes a new outcome for an appointment.
A B C D E F G H I L M N O P R S U V W 
All Classes and Interfaces|All Packages