clsEAIPMessages¶
clsEAIPMessages is a helper class (nested within clsEAIP.vb) that contains the SQLGetEAIPSpecialist SQL constant and the GetEAIPSpecialist method that executes it. It enforces BR-IMG-01.
Purpose¶
- Provides the EAIP specialist lookup query for a claim: returns the
eaip_userfromEAIP_PERIODfor status 'A' or 'N' rows, ordered by effective date.
Context¶
- Namespace:
SAIF.Business.Imaging - Assembly/package:
SAIF.BOF.Business.Imaging
Public members¶
| Member | Signature | Purpose |
|---|---|---|
ErrCodeBuildEAIPeriodDropDown |
Public Const ErrCodeBuildEAIPeriodDropDown As String = "Error encountered when building the EAIP Period drop down list" |
Error message prefix for exceptions raised in BuildEAIPPeriodDropDown. |
ErrCodeGetEAIPSpecialist |
Public Const ErrCodeGetEAIPSpecialist As String = "Error encountered when looking for the assigned EAIP Specialist" |
Error message prefix for exceptions raised in GetEAIPSpecialist. |
ErrCodeHasEAIPRecord |
Public Const ErrCodeHasEAIPRecord As String = "Error encountered when checking for EAIP records" |
Error message prefix for exceptions raised when checking for EAIP records. |
SQLGetEAIPSpecialist |
Public Const SQLGetEAIPSpecialist As String = "select eaip_user from eaip_period where claim_id = :inClaimID and (eaip_status_code = 'A' OR eaip_status_code = 'N') order by eaip_period_eff_date" |
SQL string for the EAIP specialist lookup query. |
Behavioral notes¶
GetEAIPSpecialistexecutes SQL-015 with:inClaimID.- Enforces BR-IMG-01: EAIP specialist selection by active/new period status: only rows with
eaip_status_code = 'A'or'N'are returned. - If no qualifying rows are returned, the caller falls back to
clsMessages.EAIP_MAILID*.
Constraints and usage notes¶
- This class is defined in
clsEAIP.vb; bothclsEAIPandclsEAIPMessagesreside in the same source file.
Note: Statements marked with
*were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts.
Sources¶
Business\SAIF.Business.Imaging\clsEAIP.vb