An infirmary was later built attached to the workhouse .
This portion remained open as a hospital until 1991 .
An infirmary was later built attached to the workhouse , and this portion remained open as a hospital until 1991 .