Answered step by step
Verified Expert Solution
Link Copied!

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 Entity-Relationship (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: User_ID (Primary Key), Username, Password, Full_Name, Phone_Number, 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: Call_ID (Primary Key), User_ID (Foreign Key), Contact_ID (Foreign Key), Call_Time, Call_Type
Relationships:
An Emergency Call is made by one User.
An Emergency Call is related to one Emergency Contact.
Emergency Contact
Attributes: Contact_ID (Primary Key), Contact_Type, Contact_Name, Phone_Number
Relationships:
An Emergency Contact can receive multiple Emergency Calls from different Users.
GPS Location
Attributes: Location_ID (Primary Key), User_ID (Foreign Key), Latitude, Longitude, Timestamp
Relationships:
A GPS Location is shared by one User.
Blood Donation Center
Attributes: Center_ID (Primary Key), Center_Name, Address, Phone_Number, Operating_Hours, Blood_Type_Needed
Relationships:
A Blood Donation Center can be viewed by multiple Users.
Educational Resource
Attributes: Resource_ID (Primary Key), Resource_Type, Title, Description, Content, Last_Updated
Relationships:
An Educational Resource can be accessed by multiple Users.
Detailed Entity Descriptions
User
User_ID: Unique identifier for each user.
Username: User's login name.
Password: User's login password.
Full_Name: User's full name.
Phone_Number: User's contact number.
Email: User's email address.
Address: User's physical address.
Emergency Call
Call_ID: Unique identifier for each emergency call.
User_ID: Identifier of the user making the call.
Contact_ID: Identifier of the emergency contact being called.
Call_Time: Time the call was made.
Call_Type: Type of emergency call (e.g., police, fire, medical).
Emergency Contact
Contact_ID: Unique identifier for each emergency contact.
Contact_Type: Type of emergency contact (e.g., police, ambulance).
Contact_Name: Name of the contact person or service.
Phone_Number: Phone number of the contact.
GPS Location
Location_ID: Unique identifier for each GPS location shared.
User_ID: 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
Center_ID: Unique identifier for each blood donation center.
Center_Name: Name of the blood donation center.
Address: Address of the center.
Phone_Number: Contact number of the center.
Operating_Hours: Operating hours of the center.
Blood_Type_Needed: Blood types currently needed by the center.
Educational Resource
Resource_ID: Unique identifier for each educational resource.
Resource_Type: Resource type (e.g., first aid, safety tips).
Title: Title of the resource.
Description: Description of the resource.
Content: Actual content of the resource.
Last_Updated: Date when the resource was last updated.

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

Database Concepts

Authors: David Kroenke

4th Edition

0136086535, 9780136086536

More Books

Students also viewed these Databases questions