== Application Scenarios for DB Access == === Actors === 1. `Patient` - A registered user who manages their own medical records and appointments. * UC01 - Patient Login, authenticates into the system. * UC03 - View Medical Records, views their complete medical history. * UC10 - Schedule Appointment, schedules appointments with doctors. * UC14 - View Patient Allergies, views their recorded allergies. 2. `Doctor` - A registered healthcare provider who manages patient care. * UC02 - Doctor Login, authenticates into the system. * UC04 - View Patient Medical Records, reviews patient medical history. * UC05 - Record Symptoms and Creates Diagnosis, documents symptoms and diagnoses. * UC06 - Request Lab Test, orders laboratory tests for patients. * UC08 - Request Procedure, orders medical procedures for patients. * UC09 - Record Procedure Outcome, documents procedure results and findings. * UC11 - Create Referral, refers patients to specialist doctors. * UC12 - Create Medical Report, creates comprehensive clinical reports. * UC14 - View Patient Allergies, views patient allergies before treatment. * UC15 - Create Prescription, prescribes medications to patients. 3. `Lab Technician` - A registered laboratory staff member who performs tests. * UC07 - Submit Lab Results, records and submits laboratory test results. * UC14 - View Patient Allergies, views patient allergies for safety reference. * UC16 - Lab Technician Login, authenticates into the system. 4. `System Administrator` - A registered user with full system management access. * UC17 - Admin Login, authenticates into the system. * UC18 - Admin Manages Users, creates and manages all user accounts. 5. `Billing Administrator` - A registered user who manages billing and payments. * UC19 - Update Payment Status, reviews and updates patient billing records. 6. `Guest` - An unregistered user without system access. * Cannot perform any operations (authentication required). === Use Cases === * [wiki:UseCase01 UseCase01] - Patient Login * [wiki:UseCase02 UseCase02] - Doctor Login * [wiki:UseCase03 UseCase03] - Patient Views Medical Records * [wiki:UseCase04 UseCase04] - Doctor Views Patient Medical Records * [wiki:UseCase05 UseCase05] - Record Symptoms and Creates Diagnosis * [wiki:UseCase06 UseCase06] - Request Lab Test * [wiki:UseCase07 UseCase07] - Submit Lab Results * [wiki:UseCase08 UseCase08] - Request Procedure * [wiki:UseCase09 UseCase09] - Record Procedure Outcome * [wiki:UseCase10 UseCase10] - Schedule Appointment * [wiki:UseCase11 UseCase11] - Create Referral * [wiki:UseCase12 UseCase12] - Create Medical Report * [wiki:UseCase13 UseCase13] - CreateUpdate Billing Record * [wiki:UseCase14 UseCase14] - View Patient Allergies * [wiki:UseCase15 UseCase15] - Create Prescription * [wiki:UseCase16 UseCase16] - Lab Technician Login * [wiki:UseCase17 UseCase17] - Admin Login * [wiki:UseCase18 UseCase18] - Admin Manages Users * [wiki:UseCase19 UseCase19] - Update Payment Status === Essential Use Cases === * [wiki:UseCase01 UseCase01] - Patient Login * [wiki:UseCase02 UseCase02] - Doctor Login * [wiki:UseCase03 UseCase03] - Patient Views Medical Records * [wiki:UseCase04 UseCase04] - Doctor Views Patient Medical Records * [wiki:UseCase05 UseCase05] - Record Symptoms and Creates Diagnosis * [wiki:UseCase06 UseCase06] - Request Lab Test * [wiki:UseCase07 UseCase07] - Submit Lab Results * [wiki:UseCase10 UseCase10] - Schedule Appointment * [wiki:UseCase13 UseCase13] - CreateUpdate Billing Record * [wiki:UseCase18 UseCase18] - Admin Manages Users