did patient 31482 receive a diagnostic for urinostomy status nec on their current hospital visit?
select count(*)>0 from diagnoses_icd where diagnoses_icd.icd9_code = ( select d_icd_diagnoses.icd9_code from d_icd_diagnoses where d_icd_diagnoses.short_title = 'urinostomy status nec' ) and diagnoses_icd.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 31482 and admissions.dischtime is null )