Yes, three of the major secure prisons in the UK have hospitals on site. They are Ashworth, Broadmoor and Rampton. If a prisoner from a different secure prison requires hospital treatment, he will be treated at the most appropriate hospital, which may mean transfer to one of those. In the UK prisoners are treated to the same medical care as could be expected by other citizens.