Edit Outreach Follow Up Decision

Allows editing of the follow-up decision and the expected date of return.

Rules:

1) Editing of an existing timeline selection (eg one month, six month, etc) where pack dispatch date is in the future:

with another timeline selection
pack dispatch and pack return dates are adjusted to reflect the new timeline; earliest pack dispatch date is current date
with a non-timeline option (dead, other, return to clinic)
existing pack dispatch and pack return dates are adjusted to null dates (1999-01-01)

2) Editing of an existing timeline selection (eg one month, six month, etc) where pack dispatch date is in the past:

with another timeline selection
pack dispatch date unchanged; pack return date adjusted to reflect the new timeline; earliest pack return date is current date
with a non-timeline selection (dead, other, return to clinic)
no change to pack dispatch date; pack return date adjusted to null date unless date already elapsed

3) Editing of an existing non-timeline selection (eg dead, other, return to clinic):

with a timeline option (eg one month, six month, etc)
pack dispatch and pack return dates are adjusted to reflect the new timeline; earliest pack dispatch date is current date
with a non-timeline option (dead, other, return to clinic)
date fields not involved