Answered step by step
Verified Expert Solution
Question
1 Approved Answer
draw Entity - Relationship ( ER ) Diagram for Oman Emergency Assistance App Below is the ER diagram for the Oman Emergency Assistance app, illustrating
draw EntityRelationship ER Diagram for "Oman Emergency Assistance" App
Below is the ER diagram for the "Oman Emergency Assistance" app, illustrating the main entities, their attributes, and the relationships between them.
Entities and Relationships
User
Attributes: UserID Primary Key Username, Password, FullName, PhoneNumber, Email, Address
Relationships:
A User can have multiple Emergency Calls.
A User can view multiple Emergency Contacts.
A User can share multiple GPS Locations.
A User can view multiple Blood Donation Centers.
A User can access multiple Educational Resources.
Emergency Call
Attributes: CallID Primary Key UserID Foreign Key ContactID Foreign Key CallTime, CallType
Relationships:
An Emergency Call is made by one User.
An Emergency Call is related to one Emergency Contact.
Emergency Contact
Attributes: ContactID Primary Key ContactType, ContactName, PhoneNumber
Relationships:
An Emergency Contact can receive multiple Emergency Calls from different Users.
GPS Location
Attributes: LocationID Primary Key UserID Foreign Key Latitude, Longitude, Timestamp
Relationships:
A GPS Location is shared by one User.
Blood Donation Center
Attributes: CenterID Primary Key CenterName, Address, PhoneNumber, OperatingHours, BloodTypeNeeded
Relationships:
A Blood Donation Center can be viewed by multiple Users.
Educational Resource
Attributes: ResourceID Primary Key ResourceType, Title, Description, Content, LastUpdated
Relationships:
An Educational Resource can be accessed by multiple Users.
Detailed Entity Descriptions
User
UserID: Unique identifier for each user.
Username: User's login name.
Password: User's login password.
FullName: User's full name.
PhoneNumber: User's contact number.
Email: User's email address.
Address: User's physical address.
Emergency Call
CallID: Unique identifier for each emergency call.
UserID: Identifier of the user making the call.
ContactID: Identifier of the emergency contact being called.
CallTime: Time the call was made.
CallType: Type of emergency call eg police, fire, medical
Emergency Contact
ContactID: Unique identifier for each emergency contact.
ContactType: Type of emergency contact eg police, ambulance
ContactName: Name of the contact person or service.
PhoneNumber: Phone number of the contact.
GPS Location
LocationID: Unique identifier for each GPS location shared.
UserID: Identifier of the user sharing the location.
Latitude: Latitude coordinate of the location.
Longitude: Longitude coordinate of the location.
Timestamp: Time when the location was shared.
Blood Donation Center
CenterID: Unique identifier for each blood donation center.
CenterName: Name of the blood donation center.
Address: Address of the center.
PhoneNumber: Contact number of the center.
OperatingHours: Operating hours of the center.
BloodTypeNeeded: Blood types currently needed by the center.
Educational Resource
ResourceID: Unique identifier for each educational resource.
ResourceType: Resource type eg first aid, safety tips
Title: Title of the resource.
Description: Description of the resource.
Content: Actual content of the resource.
LastUpdated: Date when the resource was last updated.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started