--------------Patient---------------------------
Patient Class: Pid Pname PEmail PContact PWD
User Story and Views Action Method: Login(Email and Pwd) Register(Patient) ViewSpecialization ViewDoctor(specialization:string) BookAppointment(DoctorId) ViewPrescrption(AppointmentId) AddRating (AppoinmentId)
Services: Patient
Components: Patient Login Register ViewSpecialization ViewDoctor BookAppointment ViewPrescrption AddRating
--------------Doctor--------------------------- APIs:
1st API: Doctor Registration Fields: DoctorID (auto generated) FirstName Last Name Phone No Email Speciality Password
Doctor Login Fields: Email Password
2 API: Appointment API (Get), 3 API: Do Online Consulation 4 API:Post Prescription 5 API: View Ratings
Services:
- Doctor Registration Service, Login
- Appointment Service.
- Prescription
- Ratings
Component:
- Registration (POST), Login
- Appointment List(Get),
- Prescription (POST),
- Patient's Review(Get)
------------------------------Patient------------------------------------------------------- Feature 1:
- I as Patient I should be able to view registration page.
- I as Patient I should be able to register by entering Name,Contact,Email,Password and confirm password fields
- I as Patient I should be able to navigate to login page after succesfull registration.
- I as Patient I should be able to view login page.
- I as Patient I should be able to login using emailId and password.
- I as Patient I should be able to view patient home page after successfull login.
Feature 2:
- I as Patient I should be able to view all the specialization.
- I as Patient I should be able to select the specific specialization.
- I as Patient I should be able to view all the available doctors in the selected specializzation.
- I as Patient I should be able to select the doctor.
Feature 3:
-
I as Patient I should be able to view the book appoinment page.
-
I as Patient I should be able to book appoinment by giving date,time and health issue fields.
-
I as Patient I should be able to able view my appoinment after succesfully booking an appoinment.
-
I as Patient I should be able to to view my prescription after succesfull consultaion.
-
I as Patient I should be able to click on add rating.
-
I as Patient I shold be able to view the add prescrpition page.
-
I as Patient should be able to fill the respective fields and submit.
---------------------------------------Doctor-------------------------------------------------------- Feature 1:
- I as Doctor I should be able to view registration page.
- I as Doctor I should be able to register by entering Name,Contact,Email,Specialization,Password and confirm password fields
- I as Doctor I should be able to navigate to login page after succesfull registration
- I as Doctor I should be able to view login page.
- I as Doctor I should be able to login using emailId and password.
- I as Doctor I should be able to view Doctor home page after successfull login.
Feature 2:
1.I as Doctor I should be able to view all My Appointments 2.I as Doctor I should be able to Accept/Cancel the Appointment
Feature 3:
1.I as Doctor I should be able to have the consultation session with Patient 2.I as Doctor I should be able to Submit the Prescription 3.I as Doctor I should be able to view the Reviews given by the patient.