Question

In: Computer Science

A hospital has a large number of registered physicians. Attributes of PHYSICIAN include Physician ID (the...

A hospital has a large number of registered physicians. Attributes of PHYSICIAN include Physician ID (the identifier) and specialty. Patients are admitted to the hospital by physicians. Attributes of PATIENT include patient ID(identifier) and patient name. Any patient who is admitted must have exactly one admitting physician. A physician may optionally admit any number of patients. Once admitted, a given patient must be treated by at least one physician. A particular physician may treat any number of patients or none at all. Whenever a patient is treated by a physician, the hospital wishes to record the details of the treatment (Treatment Detail). Components of Treatment Detail include date, time, and results.

Part C - UML Diagramming:

Recall the EER diagram you made for Medical Solutions Hospital in Part A.  Use Draw.io or Visio to construct a UML diagram from your EER diagram. The UML diagram should have spaces for both fields/attributes and methods. Both Visio and Draw.io have built-in templates for UML diagramming. Be sure to add the multiplicities (like cardinalities).

Include:

  • A method to get treatment results for a specific date
  • A method to get a patient name
  • A method to set a patient name
  • A method to get a physician name given a particular specialty

What is possible to express with a UML diagram that is not possible to express with an EER diagram? Are there any limitations compared to an EER diagram?

Solutions

Expert Solution

The above UML calss diagram represents the Hospital System with Physician, Patient, Patient Record Classes

We choose one additional Class named as Hospital along with the above three classes

Each Class has its own specific attributes like attributes of Extended Entity Relation(EER )Diagrams and each class has its own functions(methods) as shown in above class diagram

The classes in class diagram are related in UML by one of the following Four relationships:

1 Dependency

2.Association

3 Generalization

4.Realization

In this diagram we used association relationship with its name,cordinality also

Compared to EER diagrams UML diagrams are more expressive,rich to model software and non software things

UML is a modeling language and it can model in both static and dynamic aspects of he given system using multiple diagrams of UML

Class diagrams specifically useful for

1. To model structural aspects of the system

2. to model logical data base schema

UML diagrams can be used for Generating code from UML diagrams(Forward Engineering feature of UML) which is not mapping using EER diagrams

EER diagrams are simple to understand but compared to UML diagrams EER diagrams are poor in performance


Related Solutions

A hospital has a large number of registered physicians. Attributes of PHYSICIAN include Physician ID (the...
A hospital has a large number of registered physicians. Attributes of PHYSICIAN include Physician ID (the identifier) and Specialty. Patients are admitted to the hospital by physicians. Attributes of PATIENT include Patient ID (the identifier) and Patient Name. Any patient who is admitted must have exactly one admitting physician. A physician may optionally admit any number of patients. Once admitted, a given patient must be treated by at least one physician. A particular physician may treat any number of patients,...
A hospital has a large number of registered physicians. Attributes of PHYSICIAN include Physician ID (the identifier) and Specialty.
Database Management SystemsCreate an ER diagram based on the following rules:A hospital has a large number of registered physicians. Attributes of PHYSICIAN include Physician ID (the identifier) and Specialty. Patients are admitted to the hospital by physicians. Attributes of PATIENT include Patient ID (the identifier) and Patient Name. Any patient who is admitted must have exactly one admitting physician. A physician may optionally admit any number of patients. Once admitted, a given patient must be treated by at least one...
A hospital has a large number of registered physicians, and keeps the following personal data: physician...
A hospital has a large number of registered physicians, and keeps the following personal data: physician name, date of birth, work ID and specialty. Patients are admitted to the hospital by physicians. Patient’s name and address as well as date of birth are collected. Any patient who is admitted must have exactly one admitting physician. A physician may optionally admit any number of patients. Once admitted, a given patient must be treated by at least one physician. A particular physician...
A hospital and an independent physician association (IPA) comprising 600 physicians have elected to apply to...
A hospital and an independent physician association (IPA) comprising 600 physicians have elected to apply to participate in the accountable care organization (ACO) program sponsored by the Centers for Medicare & Medicaid Services. The hospital and IPA will agree to provide healthcare to a minimum of 5000 Medicare beneficiaries. Because the individual entities are required to report to Medicare as one entity on 33 quality metrics, including seven patient encounter caregiver experience elements, the ACO is interested in facilitating the...
A hospital and an independent physician association (IPA) comprising 600 physicians have elected to apply to...
A hospital and an independent physician association (IPA) comprising 600 physicians have elected to apply to participate in the accountable care organization (ACO) program sponsored by the Centers for Medicare & Medicaid Services. The hospital and IPA will agree to provide healthcare to a minimum of 5000 Medicare beneficiaries. Because the individual entities are required to report to Medicare as one entity on 33 quality metrics, including seven patient encounter caregiver experience elements, the ACO is interested in facilitating the...
A random sample of 16 registered nurses in a large hospital showed that they worked on...
A random sample of 16 registered nurses in a large hospital showed that they worked on average 44.7hours per week. The standard deviation of the sample was 2.2. Estimate the mean of the population with 90%confidence.Assume the variable is normally distributed. Round intermediate answers to at least three decimal places. Round your final answers to one decimal place.
You are the manager of a clinical lab at large-sized hospital. Physicians and nurses are concerned...
You are the manager of a clinical lab at large-sized hospital. Physicians and nurses are concerned about the early morning turnaround time for lab tests. It appears the samples are collected on the 6:00 A.M round. Physicians begin their patient rounds at 7:30 A.M and prefer to see the lab tests results at the time they see the patient so they can make decisions with regards to patient treatment . 1. What is the best method to address this problem?...
In a large hospital, a nursing director selected a random sample of 30 registered nurses and...
In a large hospital, a nursing director selected a random sample of 30 registered nurses and found that the mean of their ages was 30.2. The population standard deviation for the ages is 5.6. She selected a random sample of 40 nursing assistants and found the mean of their ages was 31.7. The population standard deviation of the ages for the assistants is 4.3. Find the 99% confidence interval of the differences in the ages.
A patient is admitted to the hospital with dyspnea and COPD exacerbation. The orders from the physician include:
CASE STUDY 2 COPD/Emphysema A patient is admitted to the hospital with dyspnea and COPD exacerbation. The orders from the physician include: Stat ABGs, chest x-ray, complete blood count, and electrolytes IV D5W NS 1000 ml/8 hr Aminophylline IV loading dose of 5.6 mg/kg over 30 minutes followed by 0.5 mg/kg/hr continuous IV O2 at 2 L/min per nasal cannula Albuterol respiratory treatments every 4h Chest physiotherapy every 4h Erythromycin 800 mg IV every 6h Bed rest Accurate intake/output High-calorie,...
P 4–6: University Physician Compensation Physicians practicing in Eastern University’s hospital have the following compensation agreement....
P 4–6: University Physician Compensation Physicians practicing in Eastern University’s hospital have the following compensation agreement. Each doctor bills the patient (or Blue Cross Blue Shield) for his or her services. The doctor pays for all direct expenses incurred in the clinic, including nurses, medical malpractice insurance, secretaries, supplies, and equipment. Each doctor has a stated salary target (e.g., $100,000). For patient fees collected over the salary target, less expenses, the doctor retains 30 percent of the additional net fees....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT