---
title: clsBillSearchCriteria
summary: API reference for clsBillSearchCriteria.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.MedicalBill
reference_type: package
---

# clsBillSearchCriteria

`clsBillSearchCriteria` defines the validated search criteria for medical-bill lookups, including claim, service-date, bill-status, worker, provider, and payment filters.*

## Purpose

- Collects the inputs used to search pending or completed medical bills.*
- Applies rule-managed search fields such as claim number, worker identity, provider, service dates, and bill or check numbers.

## Context

- Namespace: `SAIF.Business.Claim.MedicalBill`
- Assembly/package: `SAIF.Business.Claim.MedicalBill`

## Public members

| Member | Signature | Purpose |
| --- | --- | --- |
| `Completed` | `Public Const Completed As String = "Completed"` | Exposes the public member. |
| `Pending` | `Public Const Pending As String = "Pending"` | Exposes the public member. |
| `IsValid` | `Public ReadOnly Property IsValid() As Boolean Implements IExplanationOfBenefitSearchCriteria.IsValid` | Returns is valid. |
| `IsMedicalBillSearch` | `Public Property IsMedicalBillSearch() As Boolean` | Gets or sets is medical bill search. |
| `ClaimNumber` | `Public Property ClaimNumber() As String Implements IExplanationOfBenefitSearchCriteria.ClaimNumber` | Gets or sets claim number. |
| `ServiceBeginDate` | `Public Property ServiceBeginDate() As Date Implements IExplanationOfBenefitSearchCriteria.ServiceBeginDate` | Gets or sets service begin date. |
| `ServiceEndDate` | `Public Property ServiceEndDate() As Date Implements IExplanationOfBenefitSearchCriteria.ServiceEndDate` | Gets or sets service end date. |
| `SpecialHandlingCode` | `Public Property SpecialHandlingCode() As String` | Gets or sets special handling code. |
| `BillStatus` | `Public Property BillStatus() As String` | Gets or sets bill status. |
| `BillStatusType` | `Public ReadOnly Property BillStatusType() As clsMedicalBill.BillStatusTypes` | Returns bill status type. |
| `WorkerLastName` | `Public Property WorkerLastName() As String Implements IExplanationOfBenefitSearchCriteria.WorkerLastName` | Gets or sets worker last name. |
| `WorkerFirstName` | `Public Property WorkerFirstName() As String Implements IExplanationOfBenefitSearchCriteria.WorkerFirstName` | Gets or sets worker first name. |
| `StartsWith` | `Public Property StartsWith() As Boolean Implements IExplanationOfBenefitSearchCriteria.WorkerLastNameStartsWithSearch` | Gets or sets starts with. |
| `WorkerBirthDate` | `Public Property WorkerBirthDate() As Date Implements IExplanationOfBenefitSearchCriteria.WorkerDob` | Gets or sets worker birth date. |
| `ProviderLocID` | `Public Property ProviderLocID() As Decimal Implements IExplanationOfBenefitSearchCriteria.ProviderLocationId` | Gets or sets provider loc i d. |
| `ProviderLocation` | `Public ReadOnly Property ProviderLocation() As String` | Returns provider location. |
| `SAIFBillNumber` | `Public Property SAIFBillNumber() As Decimal Implements IExplanationOfBenefitSearchCriteria.BillNumber` | Gets or sets s a i f bill number. |
| `CheckNumber` | `Public Property CheckNumber() As Decimal Implements IExplanationOfBenefitSearchCriteria.PaymentNumber` | Gets or sets check number. |
| `ProviderID` | `Public Property ProviderID() As Decimal Implements IExplanationOfBenefitSearchCriteria.ProviderId` | Gets or sets provider i d. |
| `WorkerID` | `Public Property WorkerID() As Decimal` | Gets or sets worker i d. |
| `New` | `Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo, ByVal isExternal As Boolean)` | Executes the `New` operation. |
| `Item` | `Default Public ReadOnly Property Item(ByVal inColumnName As String) As String Implements System.ComponentModel.IDataErrorInfo.Item` | Returns item. |

## Behavioral notes

- This type is documented from its source declaration.
- The type participates in the `clsRulesManager` inheritance path used by `SAIF.Business.Claim.MedicalBill`.

## Constraints and usage notes

- Consumers should rely on the public members and BOF lifecycle patterns visible in the source file.

## Inherited members (from clsRulesManager)

This type inherits the following public surface from `clsRulesManager` (`Legacy\BusinessObjectFramework\clsRulesManager.vb`), in addition to the members listed above:

| Member | Signature | Purpose |
| --- | --- | --- |
| `PropagateMessages` | `Public Property PropagateMessages() As Boolean` | Controls whether broken-rule messages are propagated to parent objects or collections. |
| `BrokenRules` | `Public ReadOnly Property BrokenRules() As clsBrokenRuleCollection` | Returns the collection of currently broken rules. |
| `RuleInformation` | `Public ReadOnly Property RuleInformation() As ArrayList` | Returns metadata for every registered rule. |
| `PropagateRules` | `Public Sub PropagateRules(ByVal inTarget As Object, ByVal inChild As clsBusinessBase)` / `Public Sub PropagateRules(ByVal inTarget As Object, ByVal inChild As clsBusinessCollectionBase)` | Copies child-object or child-collection broken-rule state onto the current rules manager. |
| `AddRule` | `Public Sub AddRule(...)` (3 overloads) | Registers rule handlers with identifiers, rule types, and optional property/group metadata. |
| `CheckRules` | `Public Sub CheckRules(ByVal inTarget As Object, ByVal inRuleIdentifier As String)` | Executes the rules that match the supplied property or group identifier. |
| `ClearRules` | `Public Sub ClearRules()` | Removes registered rules and clears tracked rule definitions. |

## Sources

- `Business\SAIF.Business.Claim.MedicalBill\clsBillSearchCriteria.vb`
