Herbert Morrison Technical High
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
PID* Automatically Assigned Hospital Patient ID
FName Patient First Name
LName Patient Last Name
DOB Date of Birth
Gender Male or Female
Address Street Address of Patient
Town
Parish One of the 14 parishes.
TRN Tax Registration Number in the format 1234-5678 (8 digits separated by a
hyphen)
NOK Next of Kin Contact name for closest family member
Medical Record
Column Description
Heading
PID Hospital Assigned Patient ID same as in the Patient Record Table
Date Date of Admission
VStatus Vaccination Status - Whether a patient was vaccinated.
Hospital Admitting Hospital: UWHI, VJH, CRH
DStatus Discharge Status - How did the patient leave the hospital? - Deceased, Fully
Recovered, Out-Patient.
Insurance The Insurance Company: Sag, Medi, PariF, NW, GovC
Covid Result The results of the COVID Rapid Test: Positive, Negative or Inconclusive
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
fees.NB The private insurance companies are:
Insurance* IName Coverage
Sag Sagigor Health Jamaica 80%
Limited
Medi Mediplus Health Insurance 75%
Jamaica
PariF ParishFarm Insurance For 50%
Health
NW NationWidth Health Limited 47%
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.
4. Perform the necessary association/relationships among tables. Hint: Remember to enforce
referentialintegrity.
5. Create a form to enter patient’s data and their medical record as a sub form. Name the Form
PatientInformation Form and ensure the form has the heading ‘Patient Information Form’, a
logo, and instructions for filling out the form. Add three (3) navigational buttons to the form:
Next, Back and New. Ensure the form is organized in such a way that all fields are visible
without too much scrolling.
6. Using the Form, enter 45 records in the tables, 15 from each hospital. Create an assortment of
fields, include at least 5 different parishes and varying covid results, discharge status etc. No
more than 9 andno fewer than 2 patients should test negative for Covid.
7. Sort the Data in the Patient Record Table by LAST NAME in ASCENDING order.
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