The royal visited the Victoria Hospital on Wednesday in Kirkcaldy, Scotland.