what were the top five most frequently prescribed drugs that patients were prescribed within 2 months after being prescribed ranitidine hcl in this year?
select t3.drug from ( select t2.drug, dense_rank() over ( order by count(*) desc ) as c1 from ( select admissions.subject_id, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where prescriptions.drug = 'ranitidine hcl' and datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') ) as t1 join ( select admissions.subject_id, prescriptions.drug, prescriptions.startdate from prescriptions join admissions on prescriptions.hadm_id = admissions.hadm_id where datetime(prescriptions.startdate,'start of year') = datetime(current_time,'start of year','-0 year') ) as t2 on t1.subject_id = t2.subject_id where t1.startdate < t2.startdate and datetime(t2.startdate) between datetime(t1.startdate) and datetime(t1.startdate,'+2 month') group by t2.drug ) as t3 where t3.c1 <= 5