The 'hospital' on Titanic was a collection of rooms where 3rd Class passengers could recuperate in conditions slightly more roomy and better ventilated than their own cabins, with better toilet and washing facilties and with an attendant on hand. This included an isolation section of rooms for those with contagious diseases. 1st and 2nd class passengers on the 'sick list' would expect to be cared for in the comfort of their own staterooms. In the event that surgery was needed, the best equipped locations would be the three 'surgeries' (one for 3rd Class, one for 1st/2nd and one for the crew) which at other times served as consulting/treatment rooms for out-patients - just like those of a modern family doctor or GP.
.