instruction: how did patient 20862 first come into the hospital since 3 years ago?
response: SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 20862 AND DATETIME(admissions.admittime) >= DATETIME(CURRENT_TIME(), '-3 year') ORDER BY admissions.admittime LIMIT 1