Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a hospital in which each doctor is responsible for many patients while each patient is cared for by just one doctor. Each doctor has

Consider a hospital in which each doctor is responsible for many patients while each patient is cared for by just one doctor. Each doctor has a unique employee number, name, telephone number, and office number. Each patient has a unique patient number, name, home address, and home telephone number.

a. What kind of relationship is there between doctors and patients?

b. Develop sample doctor and patient data and construct two files in the style of Figure 3.5 in which to store your sample data.

c. Do any fields have to be added to one or the other of the two files to record the relationship between doctors and patients? Explain.

d. Merge these two files into one, in the style of Figure 3.6. Does this create any problems with the data? Explain.

FIGURE 3.5 Three files with redundont doto Sales file Customer Customer Address Numbe Nome 2746795 John Jones 123 Elm Street, ACcounts Receivable file Customer Customer Customer Number Address Nome 2746795 John Jones 123 Elm Street Credit file Customer Customer Customer Address Numbe Nome 2746795 John Jones 123 Elm Street FIGURE 3.6 Three files with a dataintegrity problem Soles file Customer Customer Customer Number Address Nome 2746795 John Jones 456 Oak Street Accounts Receivable file Customer Customer Customer Number Address Name 2746795 John Jones 456 Oak Street Credit file Customer Customer Customer Nome Number 2746795 John Jones 23 Elm Street

FIGURE 3.5 Three files with redundant data Customer Number 2746795 Customer Number 2746795 Customer Number 2746795 Sales file Customer Name Customer Address John Jones 123 Elm Street Accounts Receivable file Customer Customer Name Address John Jones 123 Elm Street Credit file Customer Customer Name Address John Jones 123 Elm Street FIGURE 3.6 Three files with a data integrity problem Customer Number 2746795 Customer Number 2746795 Customer Number 2746795 Sales file Customer Address John Jones 456 Oak Street Accounts Receivable file Customer Name Customer Name John Jones Credit file Customer Name John Jones Customer Address 456 Oak Street Customer Address 123 Elm Street

Step by Step Solution

3.56 Rating (156 Votes )

There are 3 Steps involved in it

Step: 1

a The relationship between the doctors and patients is onetomany relationship Because one doctor can ... 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_2

Step: 3

blur-text-image_3

Document Format ( 2 attachments)

PDF file Icon
609396b1b1f94_23953.pdf

180 KBs PDF File

Word file Icon
609396b1b1f94_23953.docx

120 KBs Word File

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

Applied Statistics And Probability For Engineers

Authors: Douglas C. Montgomery, George C. Runger

6th Edition

1118539710, 978-1118539712

More Books

Students also viewed these Physics questions

Question

10. What common costs are associated with holding inventory?

Answered: 1 week ago

Question

=+d) How many treatments are involved?

Answered: 1 week ago