Question

Tiny Hospital keeps information on patients and hospital rooms. The system assigns each patient a patient...

Tiny Hospital keeps information on patients and hospital rooms. The system assigns each patient a patient ID number. In addition, the patient’s last name, first name, date of birth, and date of admission are recorded. Also, every patient is seen by a Physician who develops a treatment plan for the patient. Each Physician may see many patients. Some patients are resident patients (they spend at least one night in the hospital) and others are outpatients (they are treated and released). A Check back date is recorded for all out patients, and a Date of discharge is recorded for all resident patients. Resident patients are assigned to a room. Each room is identified by a room number.   The system also stores the room type (private or semiprivate), and room fee. Over time, each room will have many resident patients that stay in it. Each resident patient will stay in only one room. Every room must have had a patient, and every resident patient must have a room.

(i) Given the following business scenario (next page), create a Crow’s Foot Extended Entity Relationship Diagram (EERD) using a specialization hierarchy that identifies all the following constraints.

a) Subtype discriminator

b) Disjoint or overlapping subtypes

c) Partial or total completeness

(ii) Transform the EER model developed in a relational schema.

Show all relations and identify appropriate entity and referential integrity constraints

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Find below crow's EERD diagram for tiny hospital.PATIENT HOSPITAL ROOMS PKP P ID PK,FKPID PK ROOM NUM P_LNAME P_FNAME P DOB ROOM_TYPE ROOM FEE OUTPATIENT RESIDENT PATIENT PK, FK1 PK,FK1 ID P ID P-AROOM ROOM NUMThe extended EERD diagram can be as given below for tiny hospitalThe diagram represents the subtype is of disjoint typeconstraint where the patient can be either outpatient or resident patient but cannot be both at a given instance of time the letter d in diagram represents to it

Add a comment
Know the answer?
Add Answer to:
Tiny Hospital keeps information on patients and hospital rooms. The system assigns each patient a patient...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Given the following business scenario, create a Crow’s Foot ERD using a specialization hierarchy if appropriate

    2. Given the following business scenario, create a Crow’s Foot ERD using a specialization hierarchy if appropriate. Tiny Hospital keeps information on patients and hospital rooms. The system assigns each patient a patient ID number. In addition, the patient’s name and date of birth are recorded. Some patients are resident patients who spend at least one night in the hospital, and others are outpatients who are treated and released. Resident patients are assigned a room. Each room is identified by...

  • Consider the following information about a patient database: A patient is identified by patient id, and...

    Consider the following information about a patient database: A patient is identified by patient id, and admission date. A patient must be either an Emergency patient or a resident patient. We must record the checkback date for Emergency patient. Only resident patient is assigned to one room. Room has a unique number, degree, and floor number. For each room there are a number of beds each of which has a bed number, specification. If a room is deleted, you need...

  • Managers of a hospital are assigning rooms to patients, each room for a single patient. Patients...

    Managers of a hospital are assigning rooms to patients, each room for a single patient. Patients and rooms are two categories. A user represented the rooms and patients by the following graph as shown below. Based on this description, what is the type of this undirected graph? And justify your answer. Note: Do not use "connected" or "not connected graph as an answer for this question. Write another type. Hi! 100000

  • Assume that you are working with a hospital and this hospital needs a software system to...

    Assume that you are working with a hospital and this hospital needs a software system to track its patients’ information. Your role in this software development is to design the database. There are many aspects of such a hospital software system to develop. However, in this assignment, you will only address interactions between doctors and patients. Your first step will be to create the relations necessary for this system and identify and describe the constraints that would be appropriate for...

  • Cowley County Hospital uses a job-costing system for all patients who have surgery. In March, the...

    Cowley County Hospital uses a job-costing system for all patients who have surgery. In March, the pre-operating room (PRE-OP) and operating room (OR) had budgeted allocation bases of 4,000 nursing hours and 2,000 nursing hours, respectively. The budgeted nursing overhead charges for each department for the month were $168,000 and $132,000, respectively. The hospital floor for surgery patients had budgeted overhead costs of $1,200,000 and 15,000 nursing hours for the month. For patient Fred Adams, actual hours incurred were eight...

  • Q3. CC Hospital uses a job costing system for all patients who have surgery. In March,...

    Q3. CC Hospital uses a job costing system for all patients who have surgery. In March, the pre-operating room (PRE-UP) and operating room (OR) had budgeted allocation bases of 4,000 nursing hours, and 2,000 nursing hours, respectively. The budgeting nursing overhead charges for each department for the month were Shs. 168,000 and Shs. 132,000 respectively. The hospital flour for surgery patients had budgeted overhead costs of Shs.1,200,000 and 15,000 nursing hours for the month. For patient Fred Amayo, actual hours...

  • Lab 7 In the “Care One” hospital each patient is assigned to just one doctor. Each...

    Lab 7 In the “Care One” hospital each patient is assigned to just one doctor. Each doctor can visit many or zero patients. The following image illustrates a small part of this hospital. Please create a schema with name of “careone”, then add these two tables. You should insert 4 doctors and 6 patients in this database (just mockup information). All of the creations and insertions should be done by writing queries. The queries should contain the Data Definition, constraints,...

  • Make an ERD using the following description

    WardsThe Hope Hospital has 17 wards with a total of 240 beds available for short- and long-term patients, and an outpatient clinic. Each ward is uniquely identified by a number (for example, ward 11) and also a ward name (for example, Orthopedic), location (for example, E Block), total number of beds, and telephone extension number (for example, Extn. 7711).Staff The Hospital has a Medical Director, who has overall responsibility for the management of the hospital. The Medical Director maintains control...

  • Unplanned hospital readmissions are a serious matter for patients and a quality and cost issue for...

    Unplanned hospital readmissions are a serious matter for patients and a quality and cost issue for the healthcare system of every country. For example, in the United States, during 2011, nearly 19 percent of Medicare patients were readmitted to the hospital within 30 days of their initial discharge, running up an additional $26 billion in healthcare costs. Hospitals are seeking more effective ways to identify patients at high risk of readmission—especially now that Medicare has begun reducing payments to hospitals...

  • Project 7-1: Classify Patient Incidents According to Policy This primary source of information on patient safety...

    Project 7-1: Classify Patient Incidents According to Policy This primary source of information on patient safety will be used to analyze the incidents according to level of severity. The following policies define the three categories of severity Policy on Level I Event: An incident that resulted in patient death or serious short or long-term (6 weeks or more) disability or harm Policy on Level II Event: An incident that resulted in minimal short-term patient disability or harm Policy on Level...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT