Medical staff at St Mary's Community Hospital asked about the Princess of Wales during Prince William's visit