Question: 1. Technician(tid, firstName, lastName, startDate, endDate, trainingLevel) 2. Sample(patientID, ID, date, time) patientiD refers to healthNum in Patient . tID refers to tiD in Technician

1. Technician(tid, firstName, lastName, startDate, endDate, trainingLevel) 2. Sample(patientID, ID, date, time) patientiD refers to healthNum in Patient . tID refers to tiD in Technician 3. TestType(testTypeID, description) 4. Test(tID, pld, ttID) tID refers to tiD in Technician PID refers to healthNum in Patient ttID refers to testTypeld in TestType 5. Patient(healthNum, firstName, lastName, dateOfBirth, height, weight, address) 6. Medication (DIN, name, manufacturer) 7. Medication Equivalent(DIN1, DIN2) DIN1 refers to DIN in Medication DIN2 refers to DIN in Medication 8. Employee(ID, firstName, lastName, dateOfBirth, startDate, endDate, salary) 9.Doctor(eID, graduated from, specialty) el refers to ID in Employee graduated From refers to the medical school the doctor graduated from 10. Prescription(pID, DIN, doctor|D, startDate, quantity) PID refers to healthNum in Patient DIN refers to DIN in Medication doctorID refers to eld in Doctor 11. Admission(pID, doctorID, date, reason) pID refers to healthNum in Patient doctorID refers to elDin Doctor Not all patients are admitted to the hospital Which datalog query correctly queries all patient IDs that have been sampled by a technician with the ID = 1963? Result(D) - Technician(1963, D,-,-,-,-) Result(D) Sample(I, 1963,-,-), Patient(1, -,---,-) Result(D) - Sample(D, T, -, - ), Technician(T, -,-,-,-,-) Result(D) Sample(D, 1963,-,-)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
