Towards managing the whole system of care and improving continuity of care