SAIF.Business.Claim architecture¶
SAIF.Business.Claim is the core claim-domain business library for benefit schedules, awards, work status, body-part tracking, transfer processing, and claim calculation services backed by Oracle tables and stored procedures.
Responsibilities¶
- Manage claim benefit schedules, benefit payments, award status, and federal/state award data.
- Persist worker work status, work release, injured body parts, and employee work address data.
- Execute claim-specific calculations such as statutory weekly wage, aggregation right dates, medically stationary dates, and timeliness of first payment.
- Provide read-only code tables and claim-list generation utilities.
- Create adjuster follow-up work through claim task generation during benefit-schedule processing.
Component boundaries¶
- Business objects such as
clsBenefitSchedule,cls1502Transfer, andclsWorkerInjuredBodyPartown claim-domain validation and persistence rules. - Collection classes coordinate retrieval, traversal, and save semantics for grouped claim entities.
- Stored-procedure wrappers isolate calculation logic behind BOF criteria objects.
- Read-only lookup classes expose Oracle code tables without mutating lifecycle operations.
- Cross-library task creation is delegated to the claim tasks library instead of implemented locally.
Interaction model¶
Most operations follow the BOF pattern: a business object or collection creates criteria, sends that criteria through IDataPortalInfo, executes Oracle SQL or stored procedures, applies local validation rules, and then optionally triggers downstream workflow such as adjuster-task creation. The library mixes CRUD-oriented entities with read-only calculation wrappers and dynamic query helpers.
Inherited framework context (from Legends CLI)¶
IBusinessCriteriasupplies the standardCreateSQL,RetrieveSQL,InsertSQL,UpdateSQL, andDeleteSQLcontract used throughout the library's BOF criteria classes.*IDataPortalInfoprovides the central data-portal abstraction, including scalar/result-set execution and sequence retrieval, while routing requests to concrete Oracle or SQL portal implementations.*clsBusinessBasecontributes edit lifecycle methods, link management, and the sharedclsRulesManager-based validation model used by claim business objects.*clsBusinessCollectionBaseandclsBusinessCollection(Of T)contribute traversal, search/sort behavior, deleted-item tracking, and aggregated validation state for claim collections.*clsRetrieveOnlyBusinessCriteriaconstrains read-only criteria toRetrieveSQL, which matches the library's lookup and list-style objects.*
Architecture diagram¶
The following diagram shows the high-level claim business-object architecture.
flowchart TD
Consumer["Application / service consumer"] --> ClaimObjs["Claim business objects"]
ClaimObjs --> Collections["Claim collections and lookups"]
ClaimObjs --> Calc["Stored procedure wrappers"]
ClaimObjs --> Tasks["SAIF.Business.Tasks.Claim"]
ClaimObjs --> DPI["IDataPortalInfo"]
Collections --> DPI
Calc --> DPI
DPI --> Oracle["Oracle claim schema"]
Sequence diagram¶
The following diagram shows a representative benefit-schedule processing sequence.
sequenceDiagram
participant Consumer
participant Schedule as clsBenefitSchedule
participant DPI as IDataPortalInfo
participant Oracle
participant Tasks as clsClaimTaskGenerator
Consumer->>Schedule: ProcessBenefitPayment()
Schedule->>DPI: Retrieve / update schedule data
DPI->>Oracle: SQL and stored procedure calls
Oracle-->>DPI: Claim data and calculation results
DPI-->>Schedule: Hydrated objects
Schedule->>Tasks: Create follow-up task when review is required
Schedule-->>Consumer: Save result and validation state
Design constraints¶
- The library is tightly coupled to Oracle claim tables, sequences, and four stored procedures.
- Validation is embedded in BOF business objects and must run before save completion.
- Read-only lookup types should remain on retrieve-only criteria paths instead of mutating CRUD paths.
- Task-generation workflow depends on an external claim-task library rather than local workflow objects.
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.Claim\SAIF.BOF.Business.Claim.vbprojBusiness\SAIF.Business.Claim\SAIF.BOF.Business.Claim.nuspecBusiness\SAIF.Business.Claim\packages.configBusiness\SAIF.Business.Claim\Enums.vbBusiness\SAIF.Business.Claim\IExplanationOfBenefit.vbBusiness\SAIF.Business.Claim\IExplanationOfBenefitSearchCriteria.vbBusiness\SAIF.Business.Claim\cls1502Transfer.vbBusiness\SAIF.Business.Claim\clsActiveBenefitSchedule.vbBusiness\SAIF.Business.Claim\clsAggRightDates.vbBusiness\SAIF.Business.Claim\clsAwardBenefitPayment.vbBusiness\SAIF.Business.Claim\clsAwardBenefitPaymentCollection.vbBusiness\SAIF.Business.Claim\clsBenefitSchedule.vbBusiness\SAIF.Business.Claim\clsClaimEmployeeWorkAddress.vbBusiness\SAIF.Business.Claim\clsClaimListGenerator.vbBusiness\SAIF.Business.Claim\clsClaimWorkReleaseStatus.vbBusiness\SAIF.Business.Claim\clsClaimWorkStatus.vbBusiness\SAIF.Business.Claim\clsFederalAwardStatus.vbBusiness\SAIF.Business.Claim\clsFederalAwardStatusCollection.vbBusiness\SAIF.Business.Claim\clsFederalBenefitSchedule.vbBusiness\SAIF.Business.Claim\clsITimelinessOfFirstPayment.vbBusiness\SAIF.Business.Claim\clsMedicallyStationaryDate.vbBusiness\SAIF.Business.Claim\clsPPDBodyParts.vbBusiness\SAIF.Business.Claim\clsServiceType.vbBusiness\SAIF.Business.Claim\clsServiceTypeCollection.vbBusiness\SAIF.Business.Claim\clsSetAwardPaymentPending.vbBusiness\SAIF.Business.Claim\clsStatutoryWeeklyWageCalculation.vbBusiness\SAIF.Business.Claim\clsVocationalServicesTypes.vbBusiness\SAIF.Business.Claim\clsWorkerInjuredBodyPart.vbBusiness\SAIF.Business.Claim\clsWorkerInjuredBodyPartCollection.vbBusiness\SAIF.Business.Claim\mdlPPD.vbBusiness\SAIF.Business.Claim\mdlReserveServices.vb