patients diagnosis grid