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

Patients Database COMPLETE

The document outlines a class activity for Wolmer's High School for Girls focused on creating a medical database. It includes instructions for setting up tables for Patients and Doctors, defining fields, creating forms for data entry, and generating various queries and reports. The activity emphasizes data organization and retrieval related to patient medical information.

Uploaded by

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

Patients Database COMPLETE

The document outlines a class activity for Wolmer's High School for Girls focused on creating a medical database. It includes instructions for setting up tables for Patients and Doctors, defining fields, creating forms for data entry, and generating various queries and reports. The activity emphasizes data organization and retrieval related to patient medical information.

Uploaded by

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

Wolmer’s High School for Girls

Information Technology
Class Activity 2025
​ ​ ​ ​ ​

The following tables consists of information for the Patient’s and the Doctor’s
file respectively.

1.​ You need to create a database to store the files related to the Medical
Data. Call the database Your firstname and lastname and group
(for example: Mary Brown 4F).
2.​ Create the two tables Patients and Doctors as indicated above.
3.​ Modify the Doctors and the Patients table to include the following
respectively:
Lastname Firstname Title Address City Doctor’s
Number
Ewing Patrick Prof. 235 Apple Pines, Montego Bay 4
Mount Salem

Date of Blood Patient Reason


Name Sex Address Phone Diagnosis Doctor Fee ($)
Birth Type Number For Visit
Paul 22Johns 635-637 Short-breat
12/9/1938 O+ A206 F Asthma 4 13,500.00
Williams Avenue 2 h
Chess 27Harbour 732-476
8/22/1967 A+ A214 M Check-up OK 4 3,500.00
Johnson Street 2
34
Wendy 949-174 Short-Brea
8/31/1975 A+ A245 F Trafalgar Asthma 3 12,650.00
Mignott 1 th
Road
Lori 4 Hllcrest 533-362 Short-breat
15/9/1965 O+ A255 F Asthma 1 18,270.00
Jorge Avenue 0 h
25 Bob
Matthew 449-023
22/1/1970 O- A275 M Marley Fever Flu 2 10,500.00
Wildman 4
Blvd
Keith 34 Kings 477-276
5/31/1975 A- A306 M Fever Meningitis 4 16,500.00
Hinds Way 2

4.​ Define the fields for the tables above and be sure to include all other
possible definitions.
5.​ Create two Forms to be used for entering the data in Patients and
Doctors respectively. Call the forms PATSFORM and DOCFORM.
6.​ Create the following queries:
(a)​ List all the patients with short-breath sort by descending order.
Save as Short.
(b)​ List all the patients with fees greater than $12,500.00 or
diagnosis Asthma. Save as Asthma.
(c)​ List all the female patients with fees less than $14,700.00. Save
as Female.
(d)​ List all the male patients with fees less than or equal $11,000.00.
Save as Males.
(e)​ Calculate the total sum of fees, for all the patients with diabetes.
Save as diabetes.
(f)​ What is the highest fee? Save as Hfee.
(g)​ Calculate the average fee in the patient’s table. Save as Avgfee.
(h)​ How many patients are in the patient’s table? Save as Pt.
(i)​ All female patients get a 10% discount. Calculate the new fee for
all female patients. Save as Newfee.
(j)​ Calculate the total fee for the patient’s table and format it
currency. Save as Totalfee.
7.​ Produce a report containing all the information on the patients grouped
by sex and sorted on name in ascending order. Call the report Patrep.
8.​ Produce a report which shows the names of patients and diagnosis
grouped by blood type, along with their Doctor’s first and last name and
fees charged. Call the report PatDocRep.

You might also like