Problem: Using the Crow's Foot methodology, create an ERD that can be implemented for a medical clinic, using at least the following business rules:
A. 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.
B. Emergency cases do not require an appointment. However, for appointment management purposes, an emergency is entered in the appointment book as "unscheduled."
C. If kept, an appointment yields a visit with the doctor specified in the appointment. The visit yields a diagnosis and, when appropriate, treatment.
D. With each visit, the patient's records are updated to provide a medical history
E. Each patient visit creates a bill. Each patient visit is billed by one doctor, and each doctor can bill many patients.
F. Each bill must be paid. However, a bill may be paid in many installments, and a payment may cover more than one bill.
G. A patient may pay the bill directly, or the bill may be the basis for a claim submitted to an insurance company.
H. If the bill is paid by an insurance company, the deductible is submitted to the patient for payment.