clsClaimTask¶
clsClaimTask binds a workflow task to a claim, sourcing human-readable claim attributes either from clsClaimData (single-object retrieval) or the PK82284_CLAIM_TASK.SELECT_ADDITIONAL_FIELDS stored procedure (bulk/list retrieval), and enforces claim-task-specific business rules such as assignee AD access, text requirements, and due-date limits.
Purpose¶
- Owns the claim-task creation, load-enrichment, and completion lifecycle (Create a claim task, Enrich a loaded claim task, Complete a task).
- Enforces assignee-access and claim-validity rules before allowing a mailid or claim number change (BR-CT-01, BR-CT-03, BR-CT-06).
- Sanitizes and length-limits task text on assignment (BR-CT-04, BR-CT-05, BR-CT-08).
Context¶
- Namespace:
SAIF.Business.Tasks.Claim - Assembly/package:
SAIF.Business.Tasks.Claim.dll(embedded, compiled into theLegalMaintenanceweb deployment)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
ClaimNum |
Public Property ClaimNum As String |
Re-resolves clsClaimData for the new claim number and re-keys the task context, running BR-CT-01 via Change the claim on a task. |
SAIFClaimNum |
Public ReadOnly Property SAIFClaimNum As String |
Returns the SAIF claim number including its check character, sourced from clsClaimData or the extra-fields procedure. |
PolicyName |
Public ReadOnly Property PolicyName As String |
Returns the policy (employer) name associated with the bound claim. |
PolicyNumber |
Public Shadows Property PolicyNumber As String |
Returns/sets the policy number, shadowing the base task's property with claim-specific resolution. |
WorkerName |
Public ReadOnly Property WorkerName As String |
Returns the injured worker's name; replaced with "Confidential" by BR-MY-01 when redaction applies. |
WorkStatus |
Public ReadOnly Property WorkStatus As String |
Returns the claim's work-status description. |
Completed |
Public Property Completed As Boolean |
Flags the task as completed, set by MarkCompleted() when a notepad entry is required (BR-CT-07). |
Deleted |
Public Property Deleted As Boolean |
Reflects/sets the soft-delete flag on the task row. |
PriorityTask |
Public Property PriorityTask As Boolean |
Toggles the priority code between URG and MED (BR-CT-09). |
MailID |
Public Shadows Property MailID As String |
Assigns the task owner, uppercasing input and triggering assignee validation (Assign or change the task owner). |
Text |
Public Shadows Property Text As String |
Assigns sanitized task text via clsCharacterAnalyzer.GetCleanString, triggering length/required rules (BR-CT-08). |
IsWorkerConflict |
Public ReadOnly Property IsWorkerConflict As Boolean |
Indicates the claim carries a worker-conflict flag, gating confidentiality redaction. |
IsExposure |
Public ReadOnly Property IsExposure As Boolean |
Indicates the claim carries an exposure flag, gating confidentiality redaction. |
isHostileWrkr |
Public ReadOnly Property isHostileWrkr As Boolean |
Indicates the claim carries a hostile-worker flag, gating confidentiality redaction. |
isHealthIssue |
Public ReadOnly Property isHealthIssue As Boolean |
Indicates the claim carries a health-issue flag, gating confidentiality redaction. |
setNotePadFlag |
Public WriteOnly Property setNotePadFlag As String |
Sets the notepad-required flag used by BR-CT-07. |
Shared NewTask(dpi, claimId) |
Public Shared Function NewTask(dpi As IDataPortalInfo, claimId As Integer) As clsClaimTask |
Creates a new claim task bound to the given claim (Create a claim task). |
Shared NewTask(dpi, claimId, createUser) |
Public Shared Function NewTask(dpi As IDataPortalInfo, claimId As Integer, createUser As String) As clsClaimTask |
Creates a new claim task, stamping the supplied create user. |
CopyTo(inMailID) |
Public Function CopyTo(inMailID As String) As iTask |
Duplicates the task for a new claim and assigns it to inMailID (Copy a task to another user). |
LoadAfterSort(dpi, reader) |
Public Sub LoadAfterSort(dpi As IDataPortalInfo, reader As IDataReader) |
Public wrapper over the protected Load, used by clsMyTaskCollection.AfterRetrieve to materialize a row post-sort-key assignment. |
Save() |
Public Overrides Function Save() As iTask |
Persists the task via the inherited stored-procedure path (Save a claim / Coverage B task). |
SaveChild() |
Public Overrides Sub SaveChild() |
Persists the task as a child object in a parent save operation. |
MarkCompleted() |
Public Sub MarkCompleted() |
Soft-deletes the task, optionally flagging Completed first when a notepad entry is required (Complete a task). |
Inherited public members¶
Members in this section are inherited from clsTask in SAIF.Business.Tasks. They are available on this type through inheritance.
| Member | Signature | Purpose | Origin |
|---|---|---|---|
ActionCode |
Public Overrides ReadOnly Property ActionCode As String |
Always returns clsTaskActionCodeCollection.cNoActionRequired for claim tasks.† |
SAIF.Business.Tasks — clsTask |
DisplayField1..3 |
Public Overrides ReadOnly Property DisplayField1 As String (and 2, 3) |
Return empty strings for claim tasks; no display-field customization is used.† | SAIF.Business.Tasks — clsTask |
RequiresNotePadEntry |
Public Overrides ReadOnly Property RequiresNotePadEntry As Boolean |
Reflects NotepadFlag = "Y", feeding BR-CT-07.† |
SAIF.Business.Tasks — clsTask |
SourceCode |
Public Overrides ReadOnly Property SourceCode As String |
Always returns clsTaskSourceCodeCollection.cClaims, constraining retrieval to CLAIM rows (BR-CT-11).† |
SAIF.Business.Tasks — clsTask |
SourceSystem |
Public Overrides ReadOnly Property SourceSystem As TaskSourceSystem |
Always returns TaskSourceSystem.Claims.† |
SAIF.Business.Tasks — clsTask |
Behavioral notes¶
<Reportable()>is applied toMailID,ClaimNum,PriorityTask,PolicyName,PolicyNumber,SAIFClaimNum,Text,WorkerName,WorkStatus, exposing them to the framework reporting/binding surface.*- Confidentiality flags delegate to
clsClaimDatawhen loaded and are consumed byclsMyTaskCollection's redaction logic (BR-MY-01).
Constraints and usage notes¶
mailidNeedsValidationgates whetherCheckRules("TaskUser")re-runs onMailIDassignment; it is cleared on a fresh list-path load (Enrich a loaded claim task).- All business types in this library are
<Serializable()>, consistent with remoting/session persistence of BOF objects across the web tier.*
Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified. Statements marked with † were retrieved from dependency library documentation via the Legends CLI RAG service. They describe inherited behavior from the indicated origin library and should be verified if the dependency version changes.
Sources¶
- SAIF.Business.Tasks.Claim/clsClaimTask.vb