NUBIC/ncs_navigator_core — pull request #4 by yipdw (2012-08-29 22:28:28+00:00)
Title: InstrumentPlan ought to be able to operate on any scheduled activities.

The process that generates work items for Field needs to be able to generate a sequence of surveys for a given instrument type. `InstrumentPlan` does this (and more), so might as well just reuse it. (Also, @rsutphin has mentioned to me that he's working on a subsystem that could benefit from a more source-neutral InstrumentPlan.)

This pull request contains a change that permits InstrumentPlan to accept _any_ set of scheduled activities, not just those derived from a single participant's schedule. I'm not sure what assumptions this violates (if any), but the specs do pass.

Future pull requests (or maybe just commits in this one) will adjust InstrumentPlan to use `Psc::ScheduledActivity` objects and objects like it by moving InstrumentPlan-specific methods out of `ScheduledActivity` and to other places.