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
Adds a filter for subjects with unprocessed SSPI updates.
178
+
179
+
#### `_add_criteria_has_user_dob_update(self)`
180
+
181
+
Adds a filter for subjects with user date of birth updates.
182
+
147
183
---
148
184
149
185
### SQL Helper Methods
@@ -250,6 +286,62 @@ Returns a `SelectionBuilderException` for invalid use of "unchanged".
250
286
251
287
---
252
288
289
+
### Classes Used in This Module
290
+
291
+
#### `Subject`
292
+
293
+
Represents a screening subject, encapsulating all relevant subject data and providing methods to access screening status, due dates, and other subject-specific information.
294
+
295
+
#### `User`
296
+
297
+
Represents a user of the system, including their associated organisation and permissions.
298
+
299
+
#### `Organisation`
300
+
301
+
Represents an organisation (such as a hub or screening centre) with an organisation ID and related metadata.
302
+
303
+
#### `SubjectSelectionCriteriaKey`
304
+
305
+
An enum representing all possible criteria keys that can be used for subject selection. Each key includes metadata such as whether it allows the "NOT:" modifier or multiple values.
306
+
307
+
#### `ScreeningStatusType`
308
+
309
+
An enum representing possible screening statuses for a subject, with methods for lookup by description and value.
310
+
311
+
#### `SSReasonForChangeType`
312
+
313
+
An enum for reasons a subject's screening status was changed, with lookup methods.
314
+
315
+
#### `SDDReasonForChangeType`
316
+
317
+
An enum for reasons a subject's screening due date was changed, with lookup methods.
318
+
319
+
#### `SSDDReasonForChangeType`
320
+
321
+
An enum for reasons a subject's surveillance due date was changed, with lookup methods.
322
+
323
+
#### `BowelScopeDDReasonForChangeType`
324
+
325
+
An enum for reasons a subject's bowel scope due date was changed, with lookup methods.
326
+
327
+
#### `CeasedConfirmationDetails`
328
+
329
+
An enum for ceased confirmation details, supporting null/not-null and string matching.
330
+
331
+
#### `CeasedConfirmationUserId`
332
+
333
+
An enum for ceased confirmation user IDs, supporting special values and user lookups.
334
+
335
+
#### `ManualCeaseRequested`
336
+
337
+
An enum for manual cease request statuses, with case-insensitive lookup.
338
+
339
+
#### `HasGPPractice`
340
+
341
+
An enum for GP practice status (yes/no/active/inactive), with description-based lookup.
342
+
343
+
---
344
+
253
345
## ToDo
254
346
255
347
### Selenium Copy
@@ -266,3 +358,8 @@ Returns a `SelectionBuilderException` for invalid use of "unchanged".
266
358
-[ ] Add logging for all major decision points in query construction.
267
359
-[ ] Review and update doc strings for clarity and completeness.
268
360
-[ ] Double check `_add_criteria_date_field` against `addCriteriaDateField` to see if functionality ported over correctly. This included looking at any methods referenced in this method.
361
+
362
+
### May Require Another Jira Ticket
363
+
364
+
-[ ] Create tests around this utility to prove it works as intended. See if there is a current selenium test that does this.
365
+
-[ ] Create a new utility around populating the Subject and User class objects. This will be beneficial as these two objects are passed into this utility.
0 commit comments