Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Describe the Entity Relationship Model (ERM) components that consists of the entities, attributes, relationships, and constraints of the project. You also need to identify the

Describe the Entity Relationship Model (ERM) components that consists of the entities, attributes, relationships, and constraints of the project. You also need to identify the mandatory and optional dependencies for the relationships.

7 ENTITIES:

1.PATIENT RECORD

2. MEDICINES

3.PATIENT

4.TREATMENT

5.BILL

6. PAYMENT METHODS

7. DOCTOR

image text in transcribed

THE ANSWER SHOULD BE GIVEN AS BELOW;

image text in transcribed

MEDICINES Attributes: - MED_ID (PK) TREAT_ID (FK1) MED_NAME MED_QUANTITY DESCRIPTION REQUESTED_DATE EXPIRY_DATE BILL Attributes: BILL_ID (PK) PATIENT_ID (FK1) MED_ID (FK2) MED_QUANTITY (FK3) AMOUNT DATE PAYMENT_METHOD Attributes: METHOD_ID (PK) BILL_ID (FK1) TYPE DOCTOR Attributes: DOCTOR_ID (PK) NAME CONTACT_NUM EMAIL ADDRESS PATIENT_RECORD Attributes: - RECORD_ID (PK) PATIENT_ID (FK1) TREAT_ID (FK2) MED_ID (FK3) MED_QUANTITY (FK4) DATE COMPLAINT MEDICAL_FINDINGS - DOC_INCHARGE PATIENT Attributes: PATIENT_ID (PK) NAME AGE ADDRESS - CONTACT_NUM TREATMENT Attributes: TREATMENT_ID (PK) TREAT_TYPE DOCTOR This entity will store the information of doctor that in charge to give a treatment for the patient. It contains all the record of DOCTOR_ID, NAME, CONTACT_NUM, EMAIL AND ADDRESS of the doctor that will be in charge of treating the patient. ATTRIBUTES DOCTOR_ID DATA TYPE LENGTH CONSTRAINT Primary key INT 11 NAME VARCHAR 25 Not NULL CONTACT_NUM DESCRIPTION Store the doctor ID number Required attribute Store name of doctor Store the contact number of doctor Multivalued attribute Store the email of doctor Store address of doctor Multivalued attribute INT 12 NULL EMAIL VARCHAR 100 Not NULL ADDRESS VARCHAR 255 Not NULL

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Step: 3

blur-text-image

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

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions

Question

5. Understand how cultural values influence conflict behavior.

Answered: 1 week ago

Question

8. Explain the relationship between communication and context.

Answered: 1 week ago