diagnosis record