Question: # Entity Names and Attributes #### 1 . Resident - * * _ ResidentID _ * * ( Surrogate PK ) - FirstName - LastName

# Entity Names and Attributes
#### 1. Resident
-**_ResidentID_**(Surrogate PK)
- FirstName
- LastName
- DateOfBirth (Date)
- Gender
- ContactNumber (Numeric)
- EmergencyContact
- EmergencyContactNumber
#### 2. Room
-**_RoomID_**(Surrogate PK)
- RoomNumber
- Floor
- Type (varchar)
- Capacity (Numeric)
#### 3. MedicalRecord
-**_MedicalRecordID_**(Surrogate PK)
-_ResidentID_(FK)
- ConditionDescription (Composite PK)
- DateRecorded (Date)
#### 4. Medicine
-**_MedicineID_**(Surrogate PK)
- MedicineName
- Description
#### 5. Prescription
-**_PrescriptionID_**(Surrogate PK)
-_MedicalRecordID_**(FK)
-_MedicineID_**(FK)
- Dosage (Varchar)
6. Staff
-**_StaffID_**(Surrogate PK)
- FirstName
- LastName
- Role
- DateOfHire (Date)
- ContactNumber (Numeric)
- Email (Alphanumeric)
#### 7. VisitSchedule
-**_StaffID_ResidentID_Date_**(Composite PK)
-_StaffID_(FK)
-_ResidentID_(FK)
- Date (Date)
- Purpose
#### 8. Department
-**_DepartmentID_**(Surrogate PK)
- Name (Varchar)
- Description
#### 9. Staff_Department
-**_StaffID_DepartmentID_**(Composite PK)
-_StaffID_(FK)
-_DepartmentID_(FK)
#### 10. FamilyMember
-**_FamilyMemberID_**(Surrogate PK)
-_ResidentID_(FK)
- FirstName
- LastName
- Relationship
- ContactNumber (Numeric)
#### 11. RoomAssignment
-**_RoomAssignmentID_**(Surrogate PK)
-_RoomID_(FK)
-_ResidentID_(FK)
- AssignmentDate (Date)
#### 12. Inventory
-**_InventoryID_**(Surrogate PK)
- ItemName (Varchar)
- Quantity (Numeric)
- Description
### Relationships, Cardinality, and Participation
-**Resident to MedicalRecord**: 1:N
- A resident can have multiple medical records.
- Medical Record includes: ConditionDescription, DateRecorded
-**MedicalRecord to Prescription**: 1:N
- A medical record can have multiple prescriptions.
- Prescription includes: Dosage
-**Resident to FamilyMember**: 1:N
- A resident can have multiple family members associated.
-**Room to RoomAssignment**: 1:N
- A room can have multiple residents assigned over different dates.
- Room includes: RoomNumber, Floor, Type, Capacity
-**Resident to RoomAssignment**: 1:N
- A resident can reside in multiple rooms over time.
- Assignment includes: AssignmentDate
-**Department to Staff_Department**: 1:N (Department-to-Many Staff)
- A department can have many staff members.
- Staff_Department composite includes: StaffID_DepartmentID
-**Staff to Staff_Department**: 1:N (Staff-to-Many Departments)
- A staff member can work in many departments.
### Specialization Hierarchy
-**Staff**(Supertype)
- Nurse (Disjoint Subtype)
- Doctor (Disjoint Subtype)
### Normalization
1.**1NF (First Normal Form)** ensures each column contains an atomic value, and each record is unique.
2.**2NF (Second Normal Form)** removes partial dependency, ensuring all non-key attributes are fully functional dependent on the primary key.
3.**3NF (Third Normal Form)** removes transitive dependencies, ensuring non-key attributes are dependent only on the key. come up with ER digram

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!