Skip to content

Commit

Permalink
PI-2283 Map "Another reason" to "Changed Circumstances" NSI outcome (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-bcl authored Jun 19, 2024
1 parent f87a9bc commit 4018072
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ enum class ReferralWithdrawalReason(
EAR("Intervention has been completed", NSI13),

// Other
ANO("Another reason", CRS01);
ANO("Another reason", NSI5, NSI6);

fun toOutcome(withdrawalState: ReferralWithdrawalState?): ReferralWithdrawalNsiOutcome {
val state = requireNotNull(withdrawalState) { "Withdrawal state not provided" }
Expand All @@ -153,7 +153,6 @@ enum class ReferralWithdrawalNsiOutcome(val description: String) {
NSI11("Did not start – Disengaged"),
NSI12("Started - Not finished (Disengaged)"),
NSI13("Completed"),
CRS01("Cancelled"),
}

data class EndOfServiceReport(val submittedAt: ZonedDateTime?)
Expand Down

0 comments on commit 4018072

Please sign in to comment.