Skip to content

Add a claim number to a Coverage B filter

Translates a claim number to a claim ID using a throwaway task instance, then adds the resolved ID to the collection filter.

Field Value
Operation ID OP-15
Trigger CoverageBTaskCriteria.AddClaimNum call
Inputs Claim number
Outputs Claim ID added to the inherited ClaimList filter
Primary components clsCoverageBTaskCollection.CoverageBTaskCriteria.AddClaimNum
Entry point SAIF.Business.Tasks.Claim/clsCoverageBTaskCollection.vb

Steps

  1. If the supplied claim number is non-empty, create a throwaway clsCoverageBTask with ClaimID = 0.
  2. Assign ClaimNum, which resolves the claim through clsClaimData and validates via BR-CB-01.

Origin: This step reuses the claim resolution logic from Change the claim on a task. 3. Add the resulting ClaimID to the inherited ClaimList filter and discard the temporary task.*

Process flow

flowchart TD
    Start([AddClaimNum called]) --> Check{Claim number non-empty?}
    Check -->|No| Skip([No-op])
    Check -->|Yes| S1["Create throwaway<br>clsCoverageBTask"]
    S1 --> S2["Assign ClaimNum, resolve via<br>clsClaimData"]
    S2 --> S3["Add ClaimID to ClaimList<br>filter"]
    S3 --> EndOk([Temp task discarded])

Failure and edge-case behavior

  • Constructs a throwaway task purely to translate claim number to claim ID — a per-call database round trip whose performance impact was not measured.*

Sources

  • SAIF.Business.Tasks.Claim/clsCoverageBTaskCollection.vb