since 1 year ago, had ceftriaxone ever been prescribed to patient 77586?
select count(*)>0 from prescriptions where prescriptions.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 77586 ) and prescriptions.drug = 'ceftriaxone' and datetime(prescriptions.startdate) >= datetime(current_time,'-1 year')