Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a UML diagram The Scenario: A physician can provide primary care to zero or more patients. The physician has a unique employee id, first

Create a UML diagram

The Scenario:

A physician can provide primary care to zero or more patients. The physician has a unique employee id, first name, and last name. A patient also has a unique patient ID, first name, and last name. A patient must have only and only one primary care physician. A patient may or may not occupy a room (at the clinic) which is staffed by at least one nurse but may be staffed by many nurses. A room is simply identified by a room number. A nurse can staff one and only one room. Like the physician, a nurse is described by an employee id, first name, and last name. A room may be occupied by many patients (throughout the day lets hope there arent multiple patients in the same room) or may not be used at all during the day. A nurse may or may not be supervised by another nurse. A nurse may supervise zero or many other nurses.

The physician writes one or more prescriptions (they are taught to address symptoms with drugs and they are certified to prescribe drugs). A prescription is simply identified by a prescription id. A prescription is written by zero or one physician (hmmmdoes this imply fraud?). A prescription contains one and only one controlled drug(s). A drug can be specified for one or many prescriptions (so a drug isnt included in the database if it isnt used in a prescription for the clinic). A drug is described by a drug id and a drug name. A prescription is provided to zero or one patient (hmmmagain, there is no accountability unless a specific prescription is designated as void). A patient receives one or many prescriptions (once again, a patient must be given drugs?).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Accounting questions