declare_diagnosands function

Declare diagnosands