add diagnosis in database, diagID generate, diagnosis insert