SAIF.Business.Claim.Entry architecture¶
SAIF.Business.Claim.Entry is the claim-entry business component for creating and editing injury claims, persisting Online 801 submission artifacts, managing pharmacy eligibility records, and brokering several API-backed lookup and submission flows.
Responsibilities¶
- Provide the abstract claim-entry aggregate that creates, inserts, updates, numbers, and deletes injury claims.
- Extend the base claim-entry workflow with state-specific logic such as county resolution, work-release management, and multiple-employer letter requests.
- Persist Online 801 submissions, submission detail, and document records through
PK82538_ONLINE_801_CLAIM. - Expose pharmacy eligibility CRUD and collection retrieval workflows.
- Broker API-backed worker lookup, claim submission, and claim search requests for Online 801 scenarios.
Inherited framework context (from Legends CLI)¶
Cached resolvedTypes[].queries[] results for SAIF.Business.Claim.Entry indicate the following inherited framework behavior:
IBusinessCriteriaprovides the BOF criteria contract that supplies overridable create/retrieve/insert/update/delete request slots for database and API-backed requests.† (source:saif-framework-corelibrary docs)IDataPortalInfosupplies connection, data-access-layer, API-client, and scalar-execution context to business objects during persistence and retrieval.† (source:saif-framework-corelibrary docs)IDataRequestrepresents the request abstraction used by the Oracle and SQL portal implementations beneath BOF business objects.† (source:saif-framework-corelibrary docs)clsAddressis identified as a framework address type, but the cached Legends results did not return deeper indexed behavior for it.† (source:saif-framework-corelibrary docs)clsBusinessApiBaseprovides the API-oriented single-object lifecycle used by REST-backed worker lookup, submission, and search objects.† (source:saif-framework-corelibrary docs)clsBusinessApiCriteriaBasesupplies API-route dictionaries and SQL-like CRUD slots for API-backed criteria objects in the hybrid BOF model.† (source:saif-framework-corelibrary docs)clsBusinessBasecontributes edit lifecycle support and a per-objectclsRulesManagerused to surface validation state.† (source:saif-framework-corelibrary docs)clsBusinessCollection(Of T)contributes typed collection traversal, deleted-item tracking, and collection-level validation surfacing.† (source:saif-framework-corelibrary docs)clsResultSetis identified as a framework result-wrapper type, but no deeper indexed behavior was returned by the cached Legends results.† (source:saif-framework-corelibrary docs)clsRuleArgsis identified as the V1 rule-handler argument type used by the framework rules engine, though no deeper indexed behavior was returned.† (source:saif-framework-corelibrary docs)clsSAIFDataReaderis identified as a framework data-reader abstraction, but no deeper indexed behavior was returned by the cached Legends results.† (source:saif-framework-corelibrary docs)clsSmartDateis part of the BOF smart-value wrapper set used to carry null-safe date values through business objects.† (source:saif-framework-corelibrary docs)clsSmartDecimalis part of the BOF smart-value wrapper set used to carry null-safe decimal values through business objects.† (source:saif-framework-corelibrary docs)clsSmartStringis part of the BOF smart-value wrapper set used to carry null-safe string values through business objects.† (source:saif-framework-corelibrary docs)
Component boundaries¶
- Claim-entry boundary:
clsClaimEntryowns the shared injury-claim aggregate, core lifecycle methods, numbering logic, and inline validation behavior. - State-entry boundary:
clsStateClaimEntryowns county lookup, work-release child management, and multiple-employer letter-request creation. - Online 801 boundary:
Online801\Submission\*andOnline801\Search\*own submission persistence, document persistence, search DTOs, and API wrappers. - Pharmacy boundary:
clsPharmacyEligibilityReportand its collection own pharmacy-eligibility reporting records and retrieval filters. - API integration boundary:
clsFindWorkerAPI,clsSubmitClaimByAPI, andclsClaimSearchApiisolate REST-backed flows from Oracle-backed BOF objects.
Interaction model¶
Application callers create or retrieve claim-entry objects, the business objects populate criteria SQL or stored-procedure definitions, and IDataPortalInfo routes those requests to Oracle. Online 801 workflows add a second path where API-backed business objects format routes and call framework-managed API clients instead of Oracle.
Architecture diagram¶
The following diagram shows high-level component interactions.
flowchart TD
A[Claim entry application] --> B[Claim entry business objects]
B --> C[State claim extensions]
B --> D[Online 801 persistence]
B --> E[Pharmacy eligibility]
D --> F[PK82538_ONLINE_801_CLAIM]
B --> G[Claim tables]
D --> H[Framework API clients]
C --> G
E --> G
Sequence diagram¶
The following diagram shows the primary request/response sequence.
sequenceDiagram
participant App as Claim entry UI
participant Entry as clsStateClaimEntry
participant Child as Child claim objects
participant DPI as IDataPortalInfo
participant DB as Oracle claim tables
App->>Entry: Save new state claim
Entry->>Child: Create work-release and state child data
Entry->>DPI: Submit claim insert and status activity SQL
DPI->>DB: Insert CL_INJURY_CLAIM and related activity rows
DB-->>DPI: Rowcount and generated identifiers
DPI-->>Entry: Persisted claim state
Entry-->>App: Claim ID and claim number
Design constraints¶
- The library mixes large inline SQL statements for claim entry with stored-procedure-backed Online 801 workflows, so both persistence styles must evolve together.
clsClaimEntryBusinessRules.vbcontains commented-out rule methods, which means active validation lives primarily inside business-object lifecycle code instead of a centralized rules class.- Several child objects referenced by the entry workflow are defined outside this library, increasing coupling to adjacent claim-domain packages.
- No local environment-setting or app-setting usage was detected, so API endpoint and portal configuration remains an inherited runtime concern rather than a library-owned one.
Related documentation¶
- Index
- Overview
- Dependencies
- Operations and processes
- Business rules
- Database tables
- SQL catalog
- Procedures
- API reference
Note: Statements marked with
†are derived from dependency library documentation via the Legends CLI. Statements marked with**could not be confirmed; treat them as unknown until verified.
Sources¶
Business\SAIF.Business.Claim.Entry\clsClaimEntry.vbBusiness\SAIF.Business.Claim.Entry\clsStateClaimEntry.vbBusiness\SAIF.Business.Claim.Entry\clsClaimEntryBusinessRules.vbBusiness\SAIF.Business.Claim.Entry\clsPharmacyEligibility.vbBusiness\SAIF.Business.Claim.Entry\enums.vbBusiness\SAIF.Business.Claim.Entry\packages.configBusiness\SAIF.Business.Claim.Entry\SAIF.BOF.Business.Claim.Entry.nuspecBusiness\SAIF.Business.Claim.Entry\app.configBusiness\SAIF.Business.Claim.Entry\nuget.configBusiness\SAIF.Business.Claim.Entry\Pipelines\build-vars.ymlBusiness\SAIF.Business.Claim.Entry\Pipelines\build.ymlBusiness\SAIF.Business.Claim.Entry\Pipelines\release.ymlBusiness\SAIF.Business.Claim.Entry\Online801\Submission\cls801Document.vbBusiness\SAIF.Business.Claim.Entry\Online801\Submission\cls801Submission.vbBusiness\SAIF.Business.Claim.Entry\Online801\Submission\cls801SubmissionData.vbBusiness\SAIF.Business.Claim.Entry\Online801\Submission\clsFindWorkerAPI.vbBusiness\SAIF.Business.Claim.Entry\Online801\Submission\clsSubmitClaimByAPI.vbBusiness\SAIF.Business.Claim.Entry\Online801\Search\clsClaimSearchResult.vbBusiness\SAIF.Business.Claim.Entry\Online801\Search\clsClaimSearchCriteria.vbBusiness\SAIF.Business.Claim.Entry\Online801\Search\CCClaimDataApi\clsClaimSearchApi.vbBusiness\SAIF.Business.Claim.Entry\Online801\CCClaimDataAPIResponseData.vbBusiness\SAIF.Business.Claim.Entry\Online801\ClaimCenterAPIResponseData.vbBusiness\SAIF.Business.Claim.Entry\Online801\clsRecordInfo.vbBusiness\SAIF.Business.Claim.Entry\Online801\mdlCodeTables.vbBusiness\SAIF.Business.Claim.Entry\SAIF.BOF.Business.Claim.Entry.vbproj