Refine diagnosis group tree model and view.