Issue #140: enrrolment hold and refactoring of deferral calculation
Issue #140: using phase_completions to find delayed phases