ครั้งสุดท้ายที่วัดอัตราการเต้นของหัวใจของผู้ป่วย 28443 เมื่อวันที่ 25/12/2105 คือเมื่อใด?ไม่จำเป็นต้องใช้ตารางทั้งหมด
when was the last time that heart rate was measured for patient 28443 on 12/25/2105?It is not neccessary to use all the tables.
 inputevents_cv:  row_id [ number]  subject_id [ number]  hadm_id [ number]  icustay_id [ number]  charttime [ time]  itemid [ number]  amount [ number] 
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28443)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d_items.linksto = 'chartevents') AND STRFTIME('%y-%m-%d', chartevents.charttime) = '2105-12-25' ORDER BY chartevents.charttime DESC LIMIT 1