The medieval hospitium, the long nave with the door at one end, rows of beds or cubicles on either side & the altar at the far end was too like the modern hospital ward, the long room with the door at one end, the tightly packed rows of beds down either side & the steriliser at the far end, for the similarity to be accidental
C Neuman: The Hospital as Teaching Centre