You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/models/hmpps/InductionSchedule.kt
+45-2
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,12 @@ import java.time.LocalDate
14
14
@JsonIgnoreProperties(ignoreUnknown =true)
15
15
@JsonInclude(JsonInclude.Include.USE_DEFAULTS)
16
16
data classInductionSchedules(
17
+
@Schema(
18
+
description ="""
19
+
A list of induction schedule versions for this prisoner. The prisoner will only have one induction schedule but for various reasons the schedule can be updated.
20
+
This list will show each change the schedule has been through. This allows for reports to be generated.
21
+
""",
22
+
)
17
23
valinductionSchedules:List<InductionSchedule>,
18
24
)
19
25
@@ -27,12 +33,42 @@ data class InductionSchedule(
27
33
)
28
34
valdeadlineDate:LocalDate? = null,
29
35
@Schema(
30
-
description ="The current status of the Induction Schedule",
36
+
description ="""
37
+
The current status of the Induction Schedule.
38
+
list of values:
39
+
SCHEDULED
40
+
COMPLETED
41
+
EXEMPT_PRISONER_DRUG_OR_ALCOHOL_DEPENDENCY
42
+
EXEMPT_PRISONER_OTHER_HEALTH_ISSUES
43
+
EXEMPT_PRISONER_FAILED_TO_ENGAGE
44
+
EXEMPT_PRISONER_ESCAPED_OR_ABSCONDED
45
+
EXEMPT_PRISONER_SAFETY_ISSUES
46
+
EXEMPT_PRISON_REGIME_CIRCUMSTANCES
47
+
EXEMPT_PRISON_STAFF_REDEPLOYMENT
48
+
EXEMPT_PRISON_OPERATION_OR_SECURITY_ISSUE
49
+
EXEMPT_SECURITY_ISSUE_RISK_TO_STAFF
50
+
EXEMPT_SYSTEM_TECHNICAL_ISSUE
51
+
EXEMPT_PRISONER_TRANSFER
52
+
EXEMPT_PRISONER_RELEASE
53
+
EXEMPT_PRISONER_DEATH
54
+
EXEMPT_SCREENING_AND_ASSESSMENT_IN_PROGRESS
55
+
EXEMPT_SCREENING_AND_ASSESSMENT_INCOMPLETE
56
+
""",
31
57
example ="SCHEDULED",
32
58
)
33
59
valstatus:String? = null,
34
60
@Schema(
35
-
description ="The Induction Schedule rule used to determine deadline date.",
61
+
description ="""
62
+
The Induction Schedule rule used to determine deadline date.
0 commit comments