0% found this document useful (0 votes)
11 views2 pages

From The Given Scenario

Uploaded by

shahzaibshabir42
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

From The Given Scenario

Uploaded by

shahzaibshabir42
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1 Virtual University

From the given scenario, the following entities can be identified:

1. Doctor
o Attributes: Doctor ID, Name, Specialty, Schedule, Contact Details,
Availability
o Description: A doctor provides consultations to patients and has specific areas
of expertise (specialties) and a schedule of availability.
2. Patient
o Attributes: Patient ID, Name, Contact Details, Medical History, Date of Birth
o Description: A patient is someone who visits the hospital for treatment. They
have medical records and may make appointments with doctors.
3. Appointment
o Attributes: Appointment ID, Date, Time, Status
(Booked/Completed/Cancelled), Patient ID (foreign key), Doctor ID (foreign
key)
o Description: An appointment connects a patient and a doctor for a specific
date and time. The appointment can be booked, completed, or canceled.
4. Receptionist
o Attributes: Receptionist ID, Name, Contact Details
o Description: A receptionist manages appointments, including booking,
changing, and checking patients in and out.
5. Specialty
o Attributes: Specialty ID, Name (e.g., Cardiology, Orthopedics)
o Description: A specialty refers to the specific area of medicine in which a
doctor specializes.
6. Hospital Record
o Attributes: Record ID, Patient ID (foreign key), Diagnosis, Treatment, Date
of Last Visit
o Description: A hospital record stores the medical history of a patient,
including diagnoses, treatments, and past visits.

Q2: Drawing the Entity Relationship Diagram


(ERD)

You might also like