what is the three year survival probability, among the patients diagnosed with chr stomach ulc w hem?
select sum( case when patients.dod is null then 1 when strftime('%j',patients.dod) - strftime('%j',t2.charttime) > 3 * 365 then 1 else 0 end ) * 100 / count(*) from ( select t1.subject_id, t1.charttime from ( select admissions.subject_id, diagnoses_icd.charttime from diagnoses_icd join admissions on diagnoses_icd.hadm_id = admissions.hadm_id where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'chr stomach ulc w hem' ) group by admissions.subject_id having min(diagnoses_icd.charttime) = diagnoses_icd.charttime ) as t1 where strftime('%j',current_time) - strftime('%j',t1.charttime) > 3 * 365 ) as t2 join patients on t2.subject_id = patients.subject_id