I am creating a program that implements a system to manage a skin consultation centre. Can you
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Design and classes implementation (Phase 1) The design of your system should be consistent with the Object Oriented principles and easy to understand by an independent programmer. You are required to design your program using UML diagrams. In particular you have to draw: A UML use case diagram for the system (6 marks). A UML class diagram (6 marks) According to the Inheritance principle you have to design and implement a super class Person and the subclasses Doctor and Patient. The classes Person should include appropriate methods in order to comply with the encapsulation principle and hold information about the name, surname, date of birth and mobile number (4 marks). (You can add any other information that you consider appropriate and you can implement additional classes with justification to make the code more robust or user friendly). In particular: The Doctor subclass should hold specific information and methods. You should add the medical licence number and the specialisation (e.g. cosmetic dermatology, medical dermatology, paediatric dermatology, etc.) as instance variables and the relative get/set methods (4 marks). The Patient subclass should hold specific information and methods. You should add a patient unique id as instance variables (attribute) and the relative get/set methods (4 marks). You should implement a class Consultation to represent the booked consultation with a specific doctor from a patient. The class should hold information about: date and time slot for the consultation (to represent the date you can use either the class provided during tutorials or you can use any java API), the cost, notes, and the relative get/set methods (4 marks). Design and implement a class called WestminsterSkinConsultation Manager, which implements the interface SkinConsultation Manager (2 marks). WestminsterSkinConsultation Manager maintains the list of the doctors and provides all the methods for the system manager. 2. Console Menu Implementation (Phase 2) The class WestminsterSkinConsultation Manager should display in the console a menu, containing the following management actions from which the user can select one. Add a new doctor in the system. It should be possible to add a new doctor, with all the relevant information. You should consider that the centre can allocate a maximum of 10 doctors (5 marks). Delete a doctor from the system, selecting the medical licence number. Display a message with the information of the doctor that has been deleted and the total number of doctors in the centre (5 marks). Print the list of the doctors in the consultation centre. For each doctor, print on the screen all the stored information. The list should be ordered alphabetically according to the doctor surname (5 marks). Save in a file all the information entered by the user so far. The next time the application starts it should be able to read back all the information saved in the file and continue to use the system (5 marks). 1. Design and classes implementation (Phase 1) The design of your system should be consistent with the Object Oriented principles and easy to understand by an independent programmer. You are required to design your program using UML diagrams. In particular you have to draw: A UML use case diagram for the system (6 marks). A UML class diagram (6 marks) According to the Inheritance principle you have to design and implement a super class Person and the subclasses Doctor and Patient. The classes Person should include appropriate methods in order to comply with the encapsulation principle and hold information about the name, surname, date of birth and mobile number (4 marks). (You can add any other information that you consider appropriate and you can implement additional classes with justification to make the code more robust or user friendly). In particular: The Doctor subclass should hold specific information and methods. You should add the medical licence number and the specialisation (e.g. cosmetic dermatology, medical dermatology, paediatric dermatology, etc.) as instance variables and the relative get/set methods (4 marks). The Patient subclass should hold specific information and methods. You should add a patient unique id as instance variables (attribute) and the relative get/set methods (4 marks). You should implement a class Consultation to represent the booked consultation with a specific doctor from a patient. The class should hold information about: date and time slot for the consultation (to represent the date you can use either the class provided during tutorials or you can use any java API), the cost, notes, and the relative get/set methods (4 marks). Design and implement a class called WestminsterSkinConsultation Manager, which implements the interface SkinConsultation Manager (2 marks). WestminsterSkinConsultation Manager maintains the list of the doctors and provides all the methods for the system manager. 2. Console Menu Implementation (Phase 2) The class WestminsterSkinConsultation Manager should display in the console a menu, containing the following management actions from which the user can select one. Add a new doctor in the system. It should be possible to add a new doctor, with all the relevant information. You should consider that the centre can allocate a maximum of 10 doctors (5 marks). Delete a doctor from the system, selecting the medical licence number. Display a message with the information of the doctor that has been deleted and the total number of doctors in the centre (5 marks). Print the list of the doctors in the consultation centre. For each doctor, print on the screen all the stored information. The list should be ordered alphabetically according to the doctor surname (5 marks). Save in a file all the information entered by the user so far. The next time the application starts it should be able to read back all the information saved in the file and continue to use the system (5 marks).
Expert Answer:
Answer rating: 100% (QA)
Here is the Java code for a skin consultation center management sys... View the full answer
Related Book For
Accounting Information Systems
ISBN: 9780132871938
11th Edition
Authors: George H. Bodnar, William S. Hopwood
Posted Date:
Students also viewed these programming questions
-
Case Study: Quick Fix Dental Practice Technology requirements Application must be built using Visual Studio 2019 or Visual Studio 2017, professional or enterprise. The community edition is not...
-
I am creating a program that implements a system to manage a skin consultation center. I have started the code in Java NetBeans. This is what I done and this is the code. public class SkinCenter {...
-
Just about every event these days is expected to have a professionally catered menu to accompany it. Weddings, conferences, corporate events, birthdays, anniversaries, graduations, and parties are...
-
Identify a true statement about the rational and emotional aspects of leadership. Multiple choice question. Leadership is not about the rational or emotional sides of human experience Leadership...
-
Two Italian nationals obtained university law degrees in Italy and Spain from Italian and Spanish institutions. Both nationals subsequently registered as attorneys in the Bar of Santa Cruz de...
-
What do you mean by book building method of issuing shares ?
-
For the following six items, indicate which financial statement category would be affected: (1) net income or (2) other comprehensive income. a. Realized gain on sale of AFS debt investment. b....
-
Shania Twain Company was formed on December 1, 2013. The following information is available from Twains inventory records for Product BAP. A physical inventory on March 31, 2014, shows 1,600 units on...
-
The statements of financial position of DaJen Ltd at 30 June 2019 and 30 June 2018 include the following assets and liabilities: DAJEN LTD Statement of Financial Position (Extract) as at 30 June 2019...
-
Assume that you are the chairman of the Department of Accountancy at Central Manitoba University. One of the accounting professors in your department, Dr. Smith, has been uniformly regarded by...
-
Mr. Jill is an accounting student and owner of a small coffee shop, which he purchased this year. He usually comes to you for tax return once in a year. He tried to do his quarterly GST this year...
-
Job 306 Job 307 Job 308 Balances on March 31 Direct materials used (in March) Direct labor used (in March) Overhead applied (March) Costs during April Direct materials used Direct labor used Overhead...
-
How can process technology enhance product customization and personalization in the supply chain?
-
Graph f(x). - 2x, for x <0 f(x) = 2, for x = 0 x+1, for x>0
-
Examine the implementation of advanced process technology in the automotive manufacturing sector. Explore the benefits and challenges associated with adopting automation, IoT integration, and...
-
Calculate the output y of the neural network illustrated below using the following activation functions W=1 xX 1 1 W2=-2 X21 W3=-2 (net f(net) y X3 (1 W4=1 X4 1 a) signum activation function b)...
-
you need to buy a car and need to finance $ 5 0 0 0 of the cost. The dealer offers you a 6 . 3 % add on loan to be repaid monthly instalments for over 4 years. How much is you monthly payment?
-
Express mass density in kg/m3 and weight density in lb/ft3. 1. Find the mass density of a chunk of rock of mass 215 g that displaces a volume of 75.0 cm3 of water. 2. A block of wood is 55.9 in. x...
-
Batches of customer payments on account are processed manually in the cashiers office. Clerks open the payments, separate the checks and the remittance advices, and prepare a batch control total (two...
-
What are the differences between approving vendor invoices covering services rendered and those for physical goods sent to an organization? Illustrate with several examples.
-
The following figure is a portion of a business process diagram for an order- entry system. 1. Pull Goods. 2. Verify credit. 3. Shipping report. 4. Customer purchase order. 5. Notify customer. 6....
-
Explain how property and liability insurance protect.
-
Describe how insurance uses different risk management methods to reduce risk.
-
Explain the difference between actual cash value and replacement value.
Study smarter with the SolutionInn App