SAIF.Business operations and processes¶
This page is the operation catalog and cross-operation hub for SAIF.Business. Each operation's detailed, step-by-step logic lives in its own page under operations/.
Operation catalog¶
| Operation | Intent | Trigger | Inputs | Outputs | Rules | Tables | SQL |
|---|---|---|---|---|---|---|---|
| Employee profile retrieval | Load a single employee from security-principal, ADP, virtual-employee, and WCIS sources. | Caller requests one employee by mail ID or employee ID. | User ID, employee ID, bypass-security-principal flag, include-virtual flag | clsEmployeeData |
None documented | ADP_EMPLOYEE, ADP_EMPLOYEE_PHONE_VIEW, WCIS_EMPLOYEE, VIRTUAL_EMPLOYEE | SQL-023, SQL-024, SQL-025 |
| Employee directory retrieval | Return filtered employee collections for departments, job titles, locations, active status, or all rows. | Caller requests a collection view. | Query type, filter value, include-virtual flag | clsEmployeeDataCollection |
BR-SB-011 | ADP_EMPLOYEE, VIRTUAL_EMPLOYEE | SQL-026 |
| Employee leave management | Create, retrieve, list, update, and delete employee leave records. | Caller creates or maintains leave rows. | Leave sequence, employee ID, investigator, reason, begin/end dates, system type | clsEmployeeLeave, clsEmployeeLeaveCollection |
BR-SB-001, BR-SB-002, BR-SB-013, BR-SB-014 | EMPLOYEE_LEAVE | SQL-002, SQL-027, SQL-028, SQL-046, SQL-047 |
| Help text retrieval | Load one help-text entry or an application-scoped help-text collection. | Caller requests help content. | Reference key value or application code | clsHelpText, clsHelpTextCollection |
None documented | APPLICATION_HELP_DETAIL, APPLICATION_HELP_MASTER | SQL-029, SQL-030 |
| Language translation retrieval | Load one translation or a language/gender-scoped translation collection. | Caller requests lookup text in a target language. | Language code, gender code, lookup value | clsLanguageTranslation, clsLanguageTranslationCollection |
None documented | LANGUAGE_TRANSLATION | SQL-031, SQL-032 |
| SAIF output-address retrieval | Load the configured SAIF output-address set and format addresses by destination. | Caller requests the shared SAIF output address object. | Data portal info | clsSAIFOutputAddress |
BR-SB-009 | LOCATION | SQL-033 |
| Claim information and authorization support | Resolve claim addresses, adjusters, claim state, payment-history checks, authorization limits, and claim updates. | Caller invokes claim-service helpers. | Claim ID or number, person or beneficiary IDs, responsibility code, benefit/payment context, user mail ID, update user, dates, amount | ClaimServices, clsClaimSecurity, clsClaimAddress |
BR-SB-006, BR-SB-010, PROC-RULE-005, PROC-RULE-006, PROC-RULE-007, PROC-RULE-008, PROC-RULE-009, PROC-RULE-010, PROC-RULE-011, PROC-RULE-012, PROC-RULE-013, PROC-RULE-014, PROC-RULE-015, PROC-RULE-033 | CL_INJURY_CLAIM, CL_CLAIM_RESPONSIBILITY, CL_FINANCIAL_TRANS, CL_FINANCIAL_TRANS_DTL, CL_INCURRED_COST_HISTORY, CL_INCURRED_CATEGORY_COST, CL_SECURITY_OVERRIDE, LEGAL_CASE, LEGAL_COLLECTION, INVESTIGATION, CL_CLAIM_SUPPORT_ORDER_CONN, CL_PHARMACY_ELIGIBILITY_REPORT, PAYMENT_TRANSACTION_TYPE_CODE, ADP_VIRTUAL_EMPLOYEE_VIEW | SQL-004, SQL-005, SQL-006, SQL-007, SQL-008, SQL-009, SQL-010, SQL-011, SQL-012, SQL-013, SQL-014, SQL-015, SQL-016, SQL-017, SQL-018, SQL-021, SQL-044, SQL-045 |
| EFT authorization support | Determine worker, beneficiary, provider, and debit-card EFT authorization state. | Caller requests EFT authorization or enrollment status. | Claim ID or number, person or beneficiary ID, provider ID, auth type, include-pending flag, date | Authorization sequence, authorization type, or active-count boolean | PROC-RULE-016, PROC-RULE-017, PROC-RULE-018, PROC-RULE-019, PROC-RULE-020, PROC-RULE-021 | PAYMENT_AUTHORIZATION | SQL-019, SQL-020, SQL-035 |
| Imaging lookup and alert support | Resolve image identifiers, authorize access, track imaging alerts, and log PDF conversion failures. | Caller requests image metadata, alert state, or imaging-side audit support. | Image sequence or IFN, claim ID or number, tower ID, resource code, mail ID, report data, PDF conversion failure details | Image metadata, booleans, alert text, or logged error state | PROC-RULE-001, PROC-RULE-002, PROC-RULE-003, PROC-RULE-004 | IMAGE, IMGSYS, PDF_CONVERSION_ERROR | SQL-003, SQL-037, SQL-038 |
| Policy and unit-stat support | Validate policies, resolve policy addresses, calculate default expiration dates, and derive unit-stat values. | Caller requests policy validation, address resolution, expiration dates, or unit-stat calculations. | Policy number, effective/process/cancel dates, correspondence type, max-expiration flag | Address object, validity boolean, expiration date, NCCI policy number, unit split date, valuation data | BR-SB-003, BR-SB-004, BR-SB-005, BR-SB-012, PROC-RULE-022, PROC-RULE-023, PROC-RULE-024, PROC-RULE-025, PROC-RULE-026, PROC-RULE-027, PROC-RULE-028, PROC-RULE-029, PROC-RULE-030, PROC-RULE-031, PROC-RULE-032 | POLICY, POLICY_PERIOD_ALL, POLICY_PERIOD_MASTER, US_POLICY_UNIT, NON_EMPR_ACCT | SQL-042, SQL-043 |
| Address and bank-validation support | Validate domestic and foreign address fields and route bank-validation checks by environment. | Caller validates address fields or bank details. | State, ZIP, country, routing number, account number, bank-validator response document | Validation booleans, normalized country name, or bank name | BR-SB-008 | ALL_STATES, ZIP_CODE, ZIP_MCO_COUNTY, COUNTRY | SQL-022 |
| User access and external-user reporting | Classify users, derive PMS group keys, gate resource access, and report external-user activity. | Caller evaluates the current principal or requests external-user reporting. | Security principal, resource name, customer or customer-group ID, external-user type code | User classification, group keys, booleans, last-logon rows, or message text | BR-SB-007 | EXT_USER, EXT_USER_TYPE | SQL-034, SQL-036 |
| Lookup and reference-data hydration | Hydrate MCO, globalization, code-map, and value-date reference data. | Caller requests lookup or catalog data. | MCO key, primary table, culture code, code filters, data portal info | Reference rows, SQL text, lookup collections, or a BDS value date | None documented | MCO_PLAN, MCO_GSA_LOCATION, Code/lookup tables | SQL-039, SQL-040, SQL-041 |
Process flow diagram¶
The following diagram visualizes the primary operational flow across SAIF.Business operations.
flowchart TD
Start([Caller request]) --> Select[Select BOF object or service helper]
Select --> Security{Security-sensitive request?}
Security -->|Yes| Gate[Evaluate claim, role, or external-user access logic]
Security -->|No| Retrieve[Build SQL, procedure call, or API request]
Gate --> Retrieve
Retrieve --> Data[(Oracle, CCClaimData API, or service response)]
Data --> Hydrate[Hydrate object, scalar, or collection result]
Hydrate --> Write{Update required?}
Write -->|Yes| Persist[Apply update procedure or SQL write]
Write -->|No| Return[Return result]
Persist --> Return
Database interactions¶
The following table summarizes which operations read from or write to the database. Per-step SQL and table citations live in each operation's detail page.
Stored procedure operations¶
Operations implemented in Oracle stored procedures referenced by this library.
| Operation | Description | Source | Link |
|---|---|---|---|
pk73101_image |
Tracks report membership and summarizes who was alerted for claim-image tasks. | track_in_report, who_was_alerted |
Details |
pk80001_legalnet |
Returns whether a claim has any legal cases flagged for image alerts. | alertlegalcase |
Details |
pk82001_claim |
Resolves claimant and beneficiary addresses with date-sensitive fallback rules. | getPersonAddress |
Details |
pk82029_titan |
Inserts, lists, updates, and deletes employee leave rows. | Insert_employee_leave, select_employee_leave, update_employee_leave, delete_employee_leave |
Details |
pk82350_eft |
Resolves worker, beneficiary, provider, and card-enrollment EFT authorization state. | isauthorizedforeft, isbeneficiaryauthforeft, isproviderauthforeft, ActiveAuthCountByPerson, CardEnrollmentCountByPerson |
Details |
sp62087_get_policy_address |
Returns policy correspondence and mailing addresses for SAIF forms. | sp62087_get_policy_address |
Details |
SP72232_Calc_Policy_Exp_Date |
Calculates the default policy expiration date. | SP72232_Calc_Policy_Exp_Date |
Details |
sp82348_claim_authorization |
Counts qualifying claim reserve and payment authorization-limit rows for an employee and amount. | sp82348_claim_authorization |
Details |
Failure and edge-case behavior¶
- Security-sensitive helpers return
False,0, or empty result sets when their SQL or stored-procedure lookups find no qualifying row. - Employee-leave create, update, and delete paths treat unexpected row counts as persistence failures and surface broken-rule or result-code failures.
- Policy-address resolution, EFT authorization, and imaging alert helpers depend on stored procedures whose branch rules live in the procedure documentation and can return empty results when no qualifying database state exists.
- Address, claim, and output-address validation helpers intentionally reject missing or inconsistent master data rather than synthesizing fallback values in the business layer.
Related documentation¶
- Index
- Overview
- Architecture
- Dependencies
- Business rules
- Database tables
- SQL catalog
- Procedures
- API reference
- Security and authorization
- Configuration
Sources¶
Business\SAIF.Business\ClaimServices.vbBusiness\SAIF.Business\clsClaimSecurity.vbBusiness\SAIF.Business\clsEmployeeData.vbBusiness\SAIF.Business\clsEmployeeDataCollection.vbBusiness\SAIF.Business\clsEmployeeLeave.vbBusiness\SAIF.Business\clsHelpText.vbBusiness\SAIF.Business\clsHelpTextCollection.vbBusiness\SAIF.Business\clsLanguageTranslation.vbBusiness\SAIF.Business\clsLanguageTranslationCollection.vbBusiness\SAIF.Business\clsSAIFOutputAddress.vbBusiness\SAIF.Business\clsUserType.vbBusiness\SAIF.Business\ImageInfo.vbBusiness\SAIF.Business\ImageServices.vbBusiness\SAIF.Business\EFTServices.vbBusiness\SAIF.Business\PolicyServices.vbBusiness\SAIF.Business\UnitStatServices.vbBusiness\SAIF.Business\ObjectServices.vbBusiness\SAIF.Business\GlobalizationServices.vbBusiness\SAIF.Business\MCOInfo.vbBusiness\SAIF.Business\ContactInfo\clsAddress.vbBusiness\SAIF.Business\ContactInfo\clsAddressStructure.vbBusiness\SAIF.Business\Services\ExternalUserServices.vbBusiness\SAIF.Business\BankValidatorServices.vb