instruction: how did patient 3118 first visit until 1 year ago to the hospital?
response: SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 3118 AND DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-1 year') ORDER BY admissions.admittime LIMIT 1