Catherine, Princess of Wales, visited the hospital where she received her cancer treatment to thank staff and speak with patients.