Database Design Project
HealthOne Medical Database
Step 7 : Modeling Historical Data
For use in analyzing providers (doctors) and their effectiveness –
if a patient changes primary care doctors we would like to be able
to keep track of these changes. This will also aid in patient care
tracking throughout their life. We would like to be able to keep a
record of each patient’s charts and which doctors may have
provided information on them.
Modify the ERD to include an entity showing a history of previous
primary care doctors and the dates that the doctor was assigned
to a particular patient.
PRIMARY DOCTOR HISTORY
Start of Job
End of Job
Reason for Leaving
to to
INSURANCE
Insurance of Company ID HOSPITAL AFFILIATION
Phone
Date of Affiliation
Be insured by
to
to
insure
have
Be listed on
PATIENT
# Patient ID DOCTOR
Name Have HOSPITAL
Treat
Address # Doctor ID Have
Name # Hospital ID
Phone Have
Address Name
Email
Phone Address
Insurance ID Prescribe
Specialization Phone
Insurance Company
Hospital Affiliation
Have
Prescribe over Be prescribed by
Be given
PRESCRIPTION DRUG
to Be used for
to
# RX ID # Drug ID
Date Prescribed
Prescribe Name
Dosage Side Effects
HOSPITAL VISIT Benefits
Patient ID Duration
Doctor ID INITIAL VISIT Refillable
Date of Visits Initial Diagnosis
# Symptoms
Be prescribed over
FOLLOW UP VISIT
Listed as
Diagnosis Status Listed as
OTHERS
ROUTINE VISIT Type of
Blood Pressure Type of
Height
Weight REFILLABLE NON-REFILLABLE
Diagnosis
Number of Refills Reason
Comments