Correlation between hospital finances and quality and safety of patient care