Not at all a silly question. I like this description:
"Hospital" is an umbrella term for the diverse array of charitable institutions that arose in the Middle Ages. The word originated as a Latin version of the Greek xenodochium (“house for strangers”) and early hospitales (from hospes, or stranger/guest), like their Byzantine counterparts, accommodated poor travelers and pilgrims. By c. 1200 “hospital” might refer to diverse kinds of houses of aid. An elite few did provide medical treatment, but the majority did not. They were welfare institutions, offering food, shelter, spiritual or other physical care. They varied widely, in staffing and routines, in scale, and in who they served and how: feeding the hungry, sheltering the poor, or accommodating the blind, aged priests, orphans, or those with leprosy. They might support three to 300 persons, although many adhered to an apostolic twelve or thirteen.
BTW, pilgrimage to Santiago and elsewhere was in full swing around the 1200. The word changed its meaning and later it meant hospitals in the sense of a place where medical care is provided. A good example is the large building in Santiago right next to the Cathedral that is now a Parador hotel. It was founded at the end of the Middle Ages as Gran Hospital Real de Santiago de Galicia; it provided stays of 3 days in summer and 5 days in winter for pilgrims but the larger part of it was dedicated for medical care for both pilgrims and locals. It also included an orphanage and accommodation for priests. It eventually turned into a hospital in the modern sense before it was no longer fit for purpose and eventually it got renovated and turned into a hotel.