Adds InBehandeling + Afgewezen statuses and TakeIntoBehandeling(). Generalises the behandelaar decision: Approve() (requires a zaak) and new Reject() both act on an INGEDIEND or IN_BEHANDELING registration, moving it to Ingeschreven/Afgewezen. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
21 lines
842 B
C#
21 lines
842 B
C#
namespace Big.Domain;
|
|
|
|
/// <summary>The lifecycle states a <see cref="Registration"/> moves through. Submission starts in
|
|
/// <see cref="Ingediend"/>; a behandelaar takes it <see cref="InBehandeling"/> and decides it into one
|
|
/// of the terminal states <see cref="Ingeschreven"/> (approved) or <see cref="Afgewezen"/> (rejected).
|
|
/// Withdrawal and herregistratie states arrive in their own slices (S-11+).</summary>
|
|
public enum RegistrationStatus
|
|
{
|
|
/// <summary>Submitted by the zorgprofessional; the registratie process has been started.</summary>
|
|
Ingediend,
|
|
|
|
/// <summary>Picked up by a behandelaar for beoordeling (S-12).</summary>
|
|
InBehandeling,
|
|
|
|
/// <summary>Approved: entered in the register. Terminal.</summary>
|
|
Ingeschreven,
|
|
|
|
/// <summary>Rejected by the behandelaar. Terminal.</summary>
|
|
Afgewezen,
|
|
}
|