SAIF.Business.Tasks.Claim architecture¶
SAIF.Business.Tasks.Claim extends the shared BOF task framework with claim-specific task entities, Coverage B variants, batch task generation, and claim-enrichment logic that overlays claim metadata onto inherited task persistence.
Responsibilities¶
- Specialize the shared task framework for claim and Coverage B task records.
- Apply claim-specific validation rules, constants, and task category defaults during save operations.
- Enrich claim tasks with additional claim metadata through
PK82284_CLAIM_TASK.SELECT_ADDITIONAL_FIELDS. - Expose a generator object that creates multiple claim tasks from a single orchestration boundary.
Component boundaries¶
- Task specializations:
clsClaimTaskandclsCoverageBTaskextend the shared task base types with claim-specific fields and rules. - Task collections:
clsClaimTaskCollection,clsCoverageBTaskCollection, andclsMyTaskCollectionreuse shared collection behavior for different retrieval scopes. - Task generation:
clsClaimTaskGeneratorowns batch task creation and priority assignment rather than the underlying task entities. - Reference data:
clsLegacyTaskCodeand its collection provide lookup access to theLEGACY_TASK_CODEtable.
Interaction model¶
Task retrieval and persistence are mostly inherited from SAIF.BOF.Business.Tasks, while this library adds claim-specific validation and calls PK82284_CLAIM_TASK.SELECT_ADDITIONAL_FIELDS to populate claim metadata that the base task model does not supply on its own.
Architecture diagram¶
The following diagram shows the high-level component interactions.
flowchart TD
A[Task-driven claim workflow] --> B[Claim task and Coverage B task objects]
A --> C[Task generator]
B --> D[Shared BOF task framework]
B --> E[BOF data portal and criteria]
C --> B
E --> F[PK82284_CLAIM_TASK]
E --> G[LEGACY_TASK_CODE]
B --> H[Claim view objects]
Sequence diagram¶
The following diagram shows the primary request and persistence sequence.
sequenceDiagram
participant Client
participant Tasks as clsClaimTaskCollection
participant Task as clsClaimTask
participant Proc as PK82284_CLAIM_TASK
participant Generator as clsClaimTaskGenerator
Client->>Tasks: Retrieve claim tasks
Tasks-->>Client: Return inherited task list
Client->>Task: Request additional claim fields
Task->>Proc: SELECT_ADDITIONAL_FIELDS
Proc-->>Task: Claim metadata and flags
Client->>Generator: Create batch claim tasks
Generator->>Task: Instantiate and validate task objects
Task-->>Client: Persistable claim tasks
Inherited framework context (from Legends CLI)¶
clsBusinessBaseandclsBusinessCollectionBasestill underpin the generator and legacy-code objects, while the library's task entities inherit their primary CRUD behavior from the broader BOF task framework.* Source: cached Legends CLI results forsaif-framework-core(librarydocs; api/business-rules/operations-processes/dependencies queries forclsBusinessBaseandclsBusinessCollectionBase).IBusinessCriteriaandIDataPortalInfoexplain the persistence seam that remains in this library: criteria classes expose retrieval contracts and the data portal routes lookup or enrichment requests to Oracle.* Source: cached Legends CLI results forsaif-framework-core(librarydocs; api/operations-processes/dependencies queries forIBusinessCriteriaandIDataPortalInfo).clsRuleArgs,clsSmartDate, andclsSmartStringare inherited framework types used to surface validation metadata and smart-value behavior rather than domain-specific claim-task workflows.* Source: cached Legends CLI results forsaif-framework-core(librarydocs; api/business-rules/dependencies queries for the named types).
Design constraints¶
- Core task CRUD semantics are inherited from
SAIF.BOF.Business.Tasks, so claim-task changes must respect that upstream lifecycle. - Additional claim metadata is dependent on the
PK82284_CLAIM_TASK.SELECT_ADDITIONAL_FIELDSpackage contract. - Validation messages and rule names are embedded in BOF rule registrations and therefore are tightly coupled to the task object model.
Related documentation¶
- Index
- Overview
- Dependencies
- Operations and processes
- Business rules
- Database tables
- SQL catalog
- Procedures
- API reference
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.
Sources¶
Business\SAIF.Business.Tasks.Claim\clsClaimTask.vbBusiness\SAIF.Business.Tasks.Claim\clsClaimTaskCollection.vbBusiness\SAIF.Business.Tasks.Claim\clsClaimTaskGenerator.vbBusiness\SAIF.Business.Tasks.Claim\clsCoverageBTask.vbBusiness\SAIF.Business.Tasks.Claim\clsCoverageBTaskCollection.vbBusiness\SAIF.Business.Tasks.Claim\clsLegacyTaskCode.vbBusiness\SAIF.Business.Tasks.Claim\clsLegacyTaskCodeCollection.vbBusiness\SAIF.Business.Tasks.Claim\clsMyTaskCollection.vbBusiness\SAIF.Business.Tasks.Claim\packages.configBusiness\SAIF.Business.Tasks.Claim\SAIF.BOF.Business.Tasks.Claim.nuspec