Side note: an hospital in Spain can be a relatively building with a few specialists, perhaps 20 people working here counting the staff. On many other countries an hospital is a huge building with dozens of specialists. The small places are "medical/care center". For sure there’s specialized jobs here too.
Clinics with 20 workers are not typically called hospitals, but rather "Centro de salud" or "Ambulatorio".
A "hospital" is a place with beds where patients stay overnight. All the countries where I have lived, including Spain, make this distinction.