Resumen: Objectives: Potentially avoidable hospitalisations have been used as a proxy for primary care quality. We aimed to analyse the ecological association between contextual and systemic factors featured in the Spanish healthcare system and the variation in potentially avoidable hospitalisations for a number of chronic conditions. Methods: A cross-section ecological study based on the linkage of administrative data sources from virtually all healthcare areas (n=202) and autonomous communities (n=16) composing the Spanish National Health System was performed. Potentially avoidable hospitalisations in chronic conditions were defined using the Spanish validation of the Agency for Health Research and Quality (AHRQ) preventable quality indicators. Using 2012 data, the ecological association between potentially avoidable hospitalisations and factors featuring healthcare areas and autonomous communities was tested using multilevel negative binomial regression. Results: In 2012, 151 468 admissions were flagged as potentially avoidable in Spain. After adjusting for differences in age, sex and burden of disease, the only variable associated with the outcome was hospitalisation intensity for any cause in previous years (incidence risk ratio 1.19 (95% CI 1.13 to 1.26)). The autonomous community of residence explained a negligible part of the residual unexplained variation (variance 0.01 (SE 0.008)). Primary care supply and activity did not show any association. Conclusions: The findings suggest that the variation in potentially avoidable hospitalisations in chronic conditions at the healthcare area level is a reflection of how intensively hospitals are used in a healthcare area for any cause, rather than of primary care characteristics. Whether other non-studied features at the healthcare area level or primary care level could explain the observed variation remains uncertain. Idioma: Inglés DOI: 10.1136/bmjopen-2016-011844 Año: 2017 Publicado en: BMJ open 7, 2 (2017), [7 pp.] ISSN: 2044-6055 Factor impacto JCR: 2.413 (2017) Categ. JCR: MEDICINE, GENERAL & INTERNAL rank: 43 / 154 = 0.279 (2017) - Q2 - T1 Factor impacto SCIMAGO: 1.372 - Medicine (miscellaneous) (Q1)