Hospitals dealing with increasingly complex patients, data reveals