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.

ENTITY - explain each entity with their attributes and constraints below in a form of Table like in the picture given (example) 1. Patient Record 2. Patient 3. Treatment 4. Medicines 5. Bill 6. Payment Method 7. Doctor image text in transcribed

EXAMPLE:

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 Table2: patients FIELD NAME DESCRIPTION TYPE LENGTH patient_id Patient id number INT 11 fname First name of patient VARCHAR 64 Iname Last name of patient VARCHAR 64 patient_type Type of patient VARCHAR 64 age Age of patient INT 2. address Address of patient TEXT

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

PC Magazine Guide To Client Server Databases

Authors: Joe Salemi

1st Edition

156276070X, 978-1562760700

Students also viewed these Databases questions

Question

3. Contrast relational contexts in organizations

Answered: 1 week ago

Question

2. Describe ways in which organizational culture is communicated

Answered: 1 week ago

Question

1. Describe and compare approaches to managing an organization

Answered: 1 week ago