INfo Tech Dbase
INfo Tech Dbase
Information Technology
Grade 10
Database Management System – 20 Marks
The Covid Response Team has received the latest information from the various Public Hospitals on the
Patients who have been suspected of having the virus. Create a database called Project No-Rona
Patients.
Add tables Patient Record and Medical Record to the database according to the data is so far collated
in handwritten tables with the following structures:
Patient Record
Column Heading Description
Town
Medical Record
Column Description
Heading
PID Hospital Assigned Patient ID same as in the Patient Record Table
DStatus Discharge Status - How did the patient leave the hospital? - Deceased, Fully
Recovered, Out-Patient.
Symptoms A short paragraph of the symptoms of the patient when they presented to the
hospital. eg: The patient complained of a fever, vomiting and coughing.
NDays Number of days the patient spent in the hospital. Ranges from 1-30.
CRFees Covid Related Fees - The cost of all required Covid tests and drugs administered.
Ranges from $10,000 to $50,000.
TASK A – TABLES AND FORMS
1. Create the tables with the fields as outlined above. Select appropriate primary keys.Ensure
to include a description of all fields.
2. You are required to change the field definition of Gender in the Patient Record table. Set the field
sizeto one (1) so that the letter ‘M’ is entered for male, and ‘F’ is entered for female. A validation
rule and validation text should be set in the event the user tries to enter anything other than M or
F.
3. Insurance companies have sent out a new advisory on how they wish to treat Covid related charges
that is different to other medical charges. Create a table called Insurance. This table must include
thefollowing:
Insurance company and coverage percentage for the covid related
There is also GovC - Ministry of Health - GovCare for civil servants, who cannot be privately insured
thatcovers 90% of all expenses. Add the data necessary for this table.
TASK B – QUERIES
1. List Full Name, Gender, VStatus, Covid Result and Admitting Hospital of all the vaccinated
patients.Name the query Vaccinated.
2. How many people tested Positive for Covid19? Name the query Positive.
3. List the full names of patients in the CRH Hospital that have been at the
hospital for more than 7 days.Include the number of days, hospital name and
Covid Result. Name the query CRHweek.
4. List the following information on all Patients: PID, Full Name, VStatus,
Hospital, Insurance CompanyName, Covid Coverage Percentage,
DStatus, Covid Results, Number of Days in Hospital and Covid related
charge. Name this query Patients.
5. Use a calculated query to determine the dollar amount the insurance pays
and the amount the patient must pay for their Covid related charges. Display
their Full Name, Gender, TRN, Covid Related Charge,Insurance Company
Name, Amount Paid by Insurance (Covered Amount), and Amount Paid by
Patient (Copay Amount). Name the query CoPay.
TASK C – REPORT
1. Using the CoPay query, create a report of the patients including their
Full Name, TRN, InsuranceCompany Name, Covered Amount, and
Copay Amount.
2. Group the report by Insurance Company Name.
3. Sort on Last Name.
4. Calculate the grand total to be paid by all patients.
5. Give the report the title “Patient Billing Report” with a subheading “Patient’s
Copay Details”.
Name the Report P