The making of local hospital discharge arrangements: specifying the role of professional groups