The Princess of Wales was visiting the hospital where she was treated