added code to handle printing of the diagnosis and staging section in the VIEW/ENTER mode