Question: I NEED JAVA CODE For Phase(2) , Phase(1) already solved, i can put phase1 solved in comments Phase(1) A clinic information system aims to help

I NEED JAVA CODE For Phase(2) , Phase(1) already solved, i can put phase1 solved in comments

Phase(1) A clinic information system aims to help clinics manage their doctors, patients and appointments.

There are many aspects of such a hospital software system to develop. However, in this iteration of the project, you will only address interactions between doctors and patients and store relevant information in flies.

For now, we have the three main entities: Doctor, Patient, and Appointment.

A Doctor has a unique employee number, name, phone, and a specialty.

A Patient a unique patient number, name, phone, patient e-mail, patient address, allergies, and

the employee number of the doctor treating the patient (each patient is treated by one main doctor).

Patients requests appointments for treatment. An Appointment has a unique identifier, appointment date, doctor number and patient number.

The administrator has username root and a password (you decide on the password) and can do the following

Login

add, modify, or delete any patient or doctor

add, modify, or delete any appointment

Doctors can login to the system a password and their employee number as a username. Doctors can do the following

Login

Change their passwords

add or modify any appointment

Design and implement an interactive menu based system that allows different users to interact with the system. Add other functions as necessary.

Phase(2)-

Modify the system built in phase 1 to implement a commanded-line database- version of the project with the following additional behaviours (behaviour described in iteration 1 should either stay the same or improved as necessary)

During the appointment, the doctor my prescribe a medicine. This information should be recorded in the PatientMedicine table. Possible medicine information should be recorded in the Medicine table

Add the following tables/ entities

Medicine: with two attributes: medicine ID, and Medicine Name PatientMedicine: with two attributes: Appointment ID and medicine ID.

Modify the Appointment to include an attribute for notes

In this phase of the project any Patient can

Register (for the first time). During the registration process, the system assigns an

identification number to each patient

Login

Change his/here password

Navigate available doctors

Navigate available dates for appointment

Request/ reserve an appointment

In addition to the functionality of Doctors in phase 1, doctors can

add or modify any Medicine

add or modify any prescribe medicine through an appointment if necessary In addition to the functionality of the administrator in phase 1, the administrator can

add, modify, or delete any Medicine

add, modify, or delete any prescribed medicine through an appointment

Change his/here password

Design and implement an interactive menu based system that allows different users to interact with the system. Add other functions as necessary.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!