Defining a care pathway for patients with multimorbidity or frailty