instruction: when has patient 029-8147 visited the hospital for the first time until 4 years ago?
response: SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '029-8147' AND DATETIME(patient.hospitaladmittime) <= DATETIME(CURRENT_TIME(), '-4 year') ORDER BY patient.hospitaladmittime LIMIT 1