@@ -177,125 +177,125 @@ public enum DocumentType {
177
177
AA_PARENT_EXPERT_REPORTS ("Expert Reports" , null ,
178
178
false , false , false ,
179
179
null ,
180
- null , 260 , null , "expertReports" ),
180
+ null , 260 , null , Constants . EXPERT_REPORTS ),
181
181
ADULT_PSYCHIATRIC_REPORT_ON_PARENTS ("└─ Adult Psychiatric Report On Parent(s)" , standardResolver (
182
182
"adultPsychRepParentsList" ),
183
183
false , false , false ,
184
184
defaultWithDocumentBuilder (),
185
- AA_PARENT_EXPERT_REPORTS , 270 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
185
+ AA_PARENT_EXPERT_REPORTS , 270 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
186
186
FAMILY_CENTRE_ASSESSMENTS_NON_RESIDENTIAL ("└─ Family Centre Assessments - Non-Residential" ,
187
187
standardResolver ("famCentreAssessNonResList" ),
188
188
false , false , false ,
189
189
defaultWithDocumentBuilder (),
190
- AA_PARENT_EXPERT_REPORTS , 280 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
190
+ AA_PARENT_EXPERT_REPORTS , 280 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
191
191
FAMILY_CENTRE_ASSESSMENTS_RESIDENTIAL ("└─ Family Centre Assessments - Residential" ,
192
192
standardResolver ("familyCentreAssesResList" ),
193
193
false , false , false ,
194
194
defaultWithDocumentBuilder (),
195
- AA_PARENT_EXPERT_REPORTS , 290 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
195
+ AA_PARENT_EXPERT_REPORTS , 290 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
196
196
HAEMATOLOGIST ("└─ Haematologist" , standardResolver ("haematologistList" ),
197
197
false , false , false ,
198
198
defaultWithDocumentBuilder (),
199
- AA_PARENT_EXPERT_REPORTS , 300 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
199
+ AA_PARENT_EXPERT_REPORTS , 300 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
200
200
INDEPENDENT_SOCIAL_WORKER ("└─ Independent Social Worker" , standardResolver (
201
201
"indepSocialWorkerList" ),
202
202
false , false , false ,
203
203
defaultWithDocumentBuilder (),
204
- AA_PARENT_EXPERT_REPORTS , 310 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
204
+ AA_PARENT_EXPERT_REPORTS , 310 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
205
205
MULTI_DISCIPLINARY_ASSESSMENT ("└─ Multi Disciplinary Assessment" , standardResolver (
206
206
"multiDisciplinAssessList" ),
207
207
false , false , false ,
208
208
defaultWithDocumentBuilder (),
209
- AA_PARENT_EXPERT_REPORTS , 320 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
209
+ AA_PARENT_EXPERT_REPORTS , 320 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
210
210
NEUROSURGEON ("└─ Neurosurgeon" , standardResolver ("neuroSurgeonList" ),
211
211
false , false , false ,
212
212
defaultWithDocumentBuilder (),
213
- AA_PARENT_EXPERT_REPORTS , 330 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
213
+ AA_PARENT_EXPERT_REPORTS , 330 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
214
214
OPHTHALMOLOGIST ("└─ Ophthalmologist" , standardResolver ("ophthalmologistList" ),
215
215
false , false , false ,
216
216
defaultWithDocumentBuilder (),
217
- AA_PARENT_EXPERT_REPORTS , 340 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
217
+ AA_PARENT_EXPERT_REPORTS , 340 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
218
218
OTHER_EXPERT_REPORT ("└─ Other Expert Report" , standardResolver ("otherExpertReportList" ),
219
219
false , false , false ,
220
220
defaultWithDocumentBuilder (),
221
- AA_PARENT_EXPERT_REPORTS , 350 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
221
+ AA_PARENT_EXPERT_REPORTS , 350 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
222
222
OTHER_MEDICAL_REPORT ("└─ Other Medical Report" , standardResolver ("otherMedicalReportList" ),
223
223
false , false , false ,
224
224
defaultWithDocumentBuilder (),
225
- AA_PARENT_EXPERT_REPORTS , 360 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
225
+ AA_PARENT_EXPERT_REPORTS , 360 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
226
226
PEDIATRIC ("└─ Pediatric" , standardResolver ("pediatricList" ),
227
227
false , false , false ,
228
228
defaultWithDocumentBuilder (),
229
- AA_PARENT_EXPERT_REPORTS , 370 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
229
+ AA_PARENT_EXPERT_REPORTS , 370 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
230
230
PEDIATRIC_RADIOLOGIST ("└─ Pediatric Radiologist" , standardResolver (
231
231
"pediatricRadiologistList" ),
232
232
false , false , false ,
233
233
defaultWithDocumentBuilder (),
234
- AA_PARENT_EXPERT_REPORTS , 380 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
234
+ AA_PARENT_EXPERT_REPORTS , 380 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
235
235
236
236
PROFESSIONAL_DNA_TESTING ("└─ Professional: DNA Testing" , standardResolver (
237
237
"profDNATestingList" ),
238
238
false , false , false ,
239
239
defaultWithDocumentBuilder (),
240
- AA_PARENT_EXPERT_REPORTS , 390 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
240
+ AA_PARENT_EXPERT_REPORTS , 390 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
241
241
PROFESSIONAL_DRUG_ALCOHOL ("└─ Professional: Drug/Alcohol" , standardResolver (
242
242
"profDrugAlcoholList" ),
243
243
false , false , false ,
244
244
defaultWithDocumentBuilder (),
245
- AA_PARENT_EXPERT_REPORTS , 400 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
245
+ AA_PARENT_EXPERT_REPORTS , 400 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
246
246
PROFESSIONAL_HAIR_STRAND ("└─ Professional: Hair Strand" , standardResolver (
247
247
"professionalHairStrandList" ),
248
248
false , false , false ,
249
249
defaultWithDocumentBuilder (),
250
- AA_PARENT_EXPERT_REPORTS , 410 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
250
+ AA_PARENT_EXPERT_REPORTS , 410 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
251
251
PROFESSIONAL_OTHER ("└─ Professional: Other" , standardResolver ("professionalOtherList" ),
252
252
false , false , false ,
253
253
defaultWithDocumentBuilder (),
254
- AA_PARENT_EXPERT_REPORTS , 420 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
254
+ AA_PARENT_EXPERT_REPORTS , 420 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
255
255
PSYCHIATRIC_CHILD_ONLY ("└─ Psychiatric - On child only" , standardResolver (
256
256
"psychiatricChildOnlyList" ),
257
257
false , false , false ,
258
258
defaultWithDocumentBuilder (),
259
- AA_PARENT_EXPERT_REPORTS , 430 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
259
+ AA_PARENT_EXPERT_REPORTS , 430 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
260
260
PSYCHIATRIC_CHILD_AND_PARENT ("└─ Psychiatric - On child and Parent(s)/carers" , standardResolver (
261
261
"psychChildParentCarersList" ),
262
262
false , false , false ,
263
263
defaultWithDocumentBuilder (),
264
- AA_PARENT_EXPERT_REPORTS , 440 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
264
+ AA_PARENT_EXPERT_REPORTS , 440 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
265
265
PSYCHOLOGICAL_REPORT_CHILD_ONLY_CLINICAL ("└─ Psychological Report on Child Only - Clinical" ,
266
266
standardResolver ("psycReportChildClinList" ),
267
267
false , false , false ,
268
268
defaultWithDocumentBuilder (),
269
- AA_PARENT_EXPERT_REPORTS , 450 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
269
+ AA_PARENT_EXPERT_REPORTS , 450 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
270
270
PSYCHOLOGICAL_REPORT_CHILD_ONLY_EDUCATIONAL ("└─ Psychological Report on Child Only - Educational" ,
271
271
standardResolver ("psycReportChildOnlyEdList" ),
272
272
false , false , false ,
273
273
defaultWithDocumentBuilder (),
274
- AA_PARENT_EXPERT_REPORTS , 460 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
274
+ AA_PARENT_EXPERT_REPORTS , 460 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
275
275
PSYCHOLOGICAL_REPORT_PARENT_AND_CHILD ("└─ Psychological Report on Parent(s) and child" ,
276
276
standardResolver ("psychReportParentChildList" ),
277
277
false , false , false ,
278
278
defaultWithDocumentBuilder (),
279
- AA_PARENT_EXPERT_REPORTS , 470 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
279
+ AA_PARENT_EXPERT_REPORTS , 470 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
280
280
PSYCHOLOGICAL_REPORT_PARENT_FULL_COGNITIVE ("└─ Psychological Report on Parent(s) - full cognitive" ,
281
281
standardResolver ("psychRepParentFullCogList" ),
282
282
false , false , false ,
283
283
defaultWithDocumentBuilder (),
284
- AA_PARENT_EXPERT_REPORTS , 480 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
284
+ AA_PARENT_EXPERT_REPORTS , 480 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
285
285
PSYCHOLOGICAL_REPORT_PARENT_FULL_FUNCTIONING ("└─ Psychological Report on Parent(s) - functioning" ,
286
286
standardResolver ("psychRepParentFuncList" ),
287
287
false , false , false ,
288
288
defaultWithDocumentBuilder (),
289
- AA_PARENT_EXPERT_REPORTS , 490 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
289
+ AA_PARENT_EXPERT_REPORTS , 490 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
290
290
TOXICOLOGY_REPORT ("└─ Toxicology report/statement" , standardResolver (
291
291
"toxicologyStatementList" ),
292
292
false , false , false ,
293
293
defaultWithDocumentBuilder (),
294
- AA_PARENT_EXPERT_REPORTS , 500 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
294
+ AA_PARENT_EXPERT_REPORTS , 500 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
295
295
EXPERT_REPORTS ("└─ Expert Reports" , standardResolver ("expertReportList" ),
296
296
true , true , true ,
297
297
defaultWithDocumentBuilder (),
298
- AA_PARENT_EXPERT_REPORTS , 501 , DEFAULT_NOTIFICATION_CONFIG , "expertReports" ),
298
+ AA_PARENT_EXPERT_REPORTS , 501 , DEFAULT_NOTIFICATION_CONFIG , Constants . EXPERT_REPORTS ),
299
299
DRUG_AND_ALCOHOL_REPORTS ("└─ Drug and alcohol reports" , standardResolver ("drugAndAlcoholReportList" ),
300
300
true , true , true ,
301
301
defaultWithDocumentBuilder (),
@@ -489,4 +489,7 @@ public static String toJsonFieldName(String fieldName) {
489
489
return removeNested (fieldName );
490
490
}
491
491
492
+ private static class Constants {
493
+ private static final String EXPERT_REPORTS = "expertReports" ;
494
+ }
492
495
}
0 commit comments