﻿---
title: clsEAIP
summary: API reference for clsEAIP.
status: draft
owner: <owner>
last_reviewed: 2026-07-24
library: SAIF.Business.Imaging
reference_type: package
---

# clsEAIP

`clsEAIP` is a legacy EAIP period lookup helper class. Its `Inherits clsBusinessBase` line is commented out in the current source, so it is treated as a plain (non-BOF) object rather than a BOF business object. It contains `BuildEAIPPeriodDropDown` logic and holds a reference to `clsEAIPMessages`. It may be a transitional or partially-migrated class*.

## Purpose
- Provides EAIP period dropdown data by executing queries against `CL_INJURY_CLAIM`, `EAIP_PERIOD`, and `EAIP_STATUS_CODE`.
- Accepts either a claim ID or a claim number as input*.

## Context
- Namespace: `SAIF.Business.Imaging`
- Assembly/package: `SAIF.BOF.Business.Imaging`

## Public members

| Member | Signature | Purpose |
| --- | --- | --- |
| `m_EAIPPeriodSeqNum` | `Public m_EAIPPeriodSeqNum As New clsSmartDecimal` | Exposes the embedded `New clsSmartDecimal` helper used by `clsEAIP`.* |
| `EAIPPeriodSeq` | `Public Property EAIPPeriodSeq() As Decimal` | During a Retrieve this EAIPOpenDate gets the date that was saved to the IMAGE_EAIP table. In IMAGE_EAIP table the column name is CLAIM_OPEN_DATE. This property also gets assigned a value when the associated image is flagged to saved to an EAIP Period. In this case the EAIPOpenDate is assigned the value of the EAIPPeriodDate |
| `EAIPPeriodDate` | `Public Property EAIPPeriodDate() As Date` | EAIP Period date that was selected in the IDA List EAIP Period drop down list. |
| `EAIPMode` | `Public Property EAIPMode() As Boolean` | Used to flag that we have an EAIP user and EAIP maintenace data. If a claim does not have any EAIP periods then this flag will be set to False. |
| `HasEAIPPeriodSeqChanged` | `Public ReadOnly Property HasEAIPPeriodSeqChanged() As Boolean` | Check to see if the EAIPOpenDate value was changed from its original value. |
| `IsEAIP` | `Public ReadOnly Property IsEAIP() As Boolean` | Check to see if we have an EAIP Open Date |
| `BuildEAIPPeriodDropDown` | `Public Shared Function BuildEAIPPeriodDropDown(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inClaimID As Decimal) As Dictionary(Of String, String)` | Builds the EAIPPeriodDropDown using the Claim ID |
| `BuildEAIPPeriodDropDown` | `Public Shared Function BuildEAIPPeriodDropDown(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inClaimNum As String) As Dictionary(Of String, String)` | Builds the EAIPPeriodDropDown using the Claim Num |
| `EAIPeriodSeqSetOriginal` | `Public Sub EAIPeriodSeqSetOriginal()` | Resets the `OriginalValue` marker for `EAIPPeriodSeqNum` (used after save to prevent spurious dirty detection). |
| `GetEAIPSpecialist` | `Public Shared Function GetEAIPSpecialist(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inClaimID As Decimal) As String` | Lookup the EAIP Specialist assigned to the claim. If not EAIP Specialist is found then the {EAIP} group Id will be returned. |

## Behavioral notes
- Executes [SQL-013](../../sql/SQL-013-saif-business-imaging.md) when called with a claim ID.
- Executes [SQL-014](../../sql/SQL-014-saif-business-imaging.md) when called with a claim number.
- Because `Inherits clsBusinessBase` is commented out, this class does not participate in the BOF lifecycle (`BeforeRetrieve`, `AfterRetrieve`, etc.); calling mechanisms are invoked directly*.
- The runtime calling mechanism that invokes `BuildEAIPPeriodDropDown` was not located in this analysis pass**.

## Constraints and usage notes
- This class is a possible dead/transitional artifact. Its live invocation path was not confirmed**.

> **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.Imaging\clsEAIP.vb`
