Workflow design in hospitals and quality Improvement