Question
HI can i get a java code for this task for reference I have attached the case study too LH Medical Company (LHM) Case Study
HI can i get a java code for this task for reference I have attached the case study too
LH Medical Company (LHM) Case Study LHM is a London based privately owned hospital which provides healthcare to its patients. The hospital uses in-house software to manage and service its patients which they refer to as clients. It is an expanding venture and needs to accommodate for processing its information globally. The practice management system is web enabled and multi-platform for connectivity via web services, in addition it has connectivity to existing legacy systems. An enterprise document management system ensures patient documents are replicated globally and available per demand. In addition to medical treatments, medicine and drugs, consultation and vaccinations are offered to its patients (with a variable additional fee) the company offers medical instruments to other companies either to purchase or to lease. LHM records the details of its clients with possibly their full medical history in their computer system. When a new patient requests an appointment (walk-in or on-line) a treatment course begins and a practitioner is allocated to the patient. A full history and previous medical records are printed showing different categories of Treatments during different time intervals. Analyses are drawn in terms of any possible allergies and previous histories. Treatments may involve many surgeons and consultants depending on its complexity. The contact practitioner is responsible for estimating the costs of treatments that is agreed by the client at the start of the treatment. The duration of the treatment may be set at any time duration and may also be changed during the treatment depending on the complexity of possible operations. The final cost and completion date are recorded at the end of the treatment. During a treatment process, notifications may be sent to patients and other practitioners. Repeat prescriptions may automatically be produced by the system if appropriate and are available for collection at any surgery by the patient. At any time, a practitioner may suspend or cancel the prescriptions. The cost for a treatment is paid for by the client or an insurance policy provided by a number of insurers. Insurance policies may have additional surcharges and costing depending on treatment types and medicines. Long term treatment courses may be edited or cancelled by practitioners or clients. To re-start an existing treatment an additional fee is applied. LHM may receive requests for specialise treatments from other hospitals or they may refer clients to other medical centres. Each treatment course or service may include one or more of the following items: Operations and vaccinations Consultations and check-up Medicine and different types of tablets Clinical reports and attached documents and history Prescriptions and repeat Prescriptions A treatment course comprising services from other hospitals carry additional changes set by the medical service providers. A full list of Treatment courses may be requested by the site manager at any time.
Task 1 Implementation Develop a software application to implement your chosen use case and UML models. As part of your answer illustrate how the principles of object orientation are implemented.
Task 2 Design patterns Command pattern encapsulates a request as an object. Consider the following class diagram as the structure for the pattern: Ref: Gamma et al.
And THIS MY CLASS DIAGRAM IF YOU WANT YOU CAN MAKE REFERRING THIS OR U CAN MAKE AN EXAMPLE SO I CAN TRY IT THANK YOU
Write a software program to implement the command pattern.
\begin{tabular}{|l|} \hline Command \\ \hline+ Execute() \\ \hline \end{tabular}
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started