Community diagnosis definition