As a programmer, you have been asked to write a Java application, using OOP concepts, for a Hospital with the following requirements:
• The Hospital has several employees and each one of them has an ID (int), name (string), address (string), mobile phone number (string), email (string) and salary (double) with suitable data types. • The employees are divided into:
o Administration staff: who have in addition to the previous information their position (string). o Doctor: who have also a rank (string) and specialty (string).
• The Hospital also has a set of patients. Each patient is identified by his ID (int), name (string), address (string), mobile phone number (string), email (string), type (A or B) (char) and a set of hospital services (vector or arraylist). • The Hospital has a set of services to be provided to the patients. Each service is identified by ID (int), name (string) and price (double). The patient who is from type A will have a discount 25% of the service price. Assume that all doctors could provide all possible services.
• Every patient could be treated by one doctor and every doctor could treat zero or more patients • Each patient receives one or more services from the doctor who treats him.