A measure of continuity of care based on the multiplicative intensity model