This assignment is concerned with developing a Hospital Information System in Java. A set of Object-Oriented approaches should be applied.A hospital information system can be described as follows, A hospital has doctors and patients. Each patient is assigned to one doctor, but a doctor can have any number of patients. Patients check in to the hospital and assigned a doctor if they don't already have one. While in the hospital, doctors record various observations about each patient at various times. Examples of observations are blood pressure and temperature. The hospital keeps track of all the observations for a given patient until they check out of the [login to view URL] observation data sent from the handheld device to the main computer consists of ASCII text, with one observation per line: observation Examples: observation 87 390111 heart-rate 130 observation 87 390111 blood-pressure 180 110 The history request and response is also ASCII text: history where is the ID of the relevant Patient record. The response is also ASCII text, one observation per line, sorted by time: | | Examples: 1/12/01 2:20pm | Bob | Blood Pressure 120/80 1/12/01 2:35pm | Bob | Heart Rate at 110 Hint:The scenario for the system can be described as follows. 1. Patient checks in to hospital. 2. Hospital assigns doctor to the patient. 3. The doctor records a blood pressure measurement for the patient. 4. The doctor records a temperature for the patient. 5. The doctor records a heart rate for the patient. 6. The doctor prescribes medicine for the patient's condition. 7. The patient checks out of the hospital. You may consider following classes and related variables and methods (not limited to) in developing the hospital information system. Hospital Information System Assign doctor, add patient, find doctor, find patient Patient Each patient has his/her name, ID, sex, date of birth, address, phone number, and GP. Patient’s Address Includes flat, street, city, county, postal code. Doctor Each doctor has name, ID, and specialty. Patient’s history History of patient for a given admission date. Observation Time and doctor of the observation Blood pressure observation Systolic and diastolic blood pressure Temperature observation Degrees of the patient’s temperature Heart rate observation bpm of the patient
## Deliverables
Controller Controller is responsible for doing the I/O and command line parsing for the application. The design is intended to allow the addition of new Observation subclasses with minimal code changes. The Hospital Information System has the main routine and a system test method, test(), which tests out the scenario described in the assignment. Test routines let you build a system incrementally, testing each scenario as you implement it, even if the rest of the system isn't implemented or only partially implemented. The idea is to start small and work your way through the scenarios, implementing each as you go. This reduces the risk of ending up with a nonworking system (you are always extending a working system). Informal Requirements Description Patient Alice is already checked into the hospital and has been assigned to Doctor Bob. Bob checks her blood pressure at 2:20pm and heart rate at 2:35pm. He records each observation using a small handheld device which has a form for the data. The device sends the observation data via radio link to the clinic's central computer. Going to consult with Doctor Carol, Bob shows her the patient's history thus far. To do this, he pushes a button on his handheld device which causes it to request patient history data from the clinic's central computer and display it. After the consultation, Bob scrawls a prescription on a paper form and gives it to Alice. Reference Code and Data The reference code [login to view URL] and [login to view URL] are provided. Learning outcomes On completion of this assignment you should have:  Classes diagram (inheritance relationships)  Executable Java code.  A menu embedded in the HospitalInfoSys class.  All functionality described above.  File I/O for reading/writing the records for 10 patients and 2 doctors.  Performed exception handling.
## Platform
not needed. just a word version of the solution would be o.k