Question
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.
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