select_diagnosands function

Select diagnosands