This method checks if an activity is consistent with respect to some
structural property, such as that it should be completely specified, have
an agent, have a parent activity and so on.
Since the list of commanders should be available to several views that
are not related (the task view and resource view for instance), there is
a reference to it here.
Verify that there is a destination in the activity that should come before
and a static location in the after activity, or a static location in the
beforeActivity and a starting location in the afterActivity
Creates parameters for taking care of patients, indicating both how many
this agent can cater at a time as well as how long it takes to
administrate first aid to such a group
Set the missionTimeChanged flag in the activity and signal a new
paramChanged event to all interested listeners whenever parameter
param changes value.