Enterprise visibility and analytics to improve patient flow and operational efficiency