Question
Please submit your assignment in Word document format. Read the following business rules carefully and use common sense when necessary to come up with a
Please submit your assignment in Word document format.
Read the following business rules carefully and use common sense when necessary to come up with a good database design as follows:
- First, develop an ER model. Make sure to use meaningful entity names and relations.
- Translate ER model into a set of tables, relations and constraints.
- Label appropriate columns as primary keys and foreign keys.
Business rules:
1. A patient can make many appointments with one or more doctors in the clinic, and a doctor can accept appointments with many patients. However, each appointment is made with only one doctor and one patient.
2. Emergency cases do not require an appointment. However, for appointment management purposes, an emergency is entered in the appointment book as unscheduled.
3. If kept, an appointment yields a visit with the doctor specified in the appointment. The visit yields a diagnosis and, when appropriate, treatment.
4. With each visit, the patients records are updated to provide a medical history
5. Each patient visit creates a bill. Each patient visit is billed by one doctor, and each doctor can bill many patients.
6. Each bill must be paid. However, a bill may be paid in many installments, and a payment may cover more than one bill.
7. A patient may pay the bill directly, or the bill may be the basis for a claim submitted to an insurance company.
8. If the bill is paid by an insurance company, the deductible is submitted to the patient for payment.
Please submit your assignment in Word document format.
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