---
title: IWorkerQueryProvider
summary: API reference for IWorkerQueryProvider.
status: draft
owner: SAIF.Core documentation team
last_reviewed: 2026-09-24
library: SAIF.Data
reference_type: package
---

# IWorkerQueryProvider

Contract implemented by `WorkerQueryProvider`.

## Purpose
- Defines the members that `WorkerQueryProvider` must provide to callers of this abstraction.

## Context
- Namespace: `SAIF.Data.Queries`
- Assembly/package: `SAIF.Data`

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| OverpaymentQueries | `IOverpaymentQueryProvider OverpaymentQueries { get; }` | Value of overpayment queries exposed by this type.* |
| GetWorker | `ClaimPerson GetWorker(long workerId)` | Retrieves worker.* |
| GetActiveSupportOrderCount | `long GetActiveSupportOrderCount(long workerId)` | Retrieves active support order count.* |
| GetPreferredContactMethod | `string GetPreferredContactMethod(PreferredContactMethodCode code)` | Retrieves preferred contact method.* |
| GetHealthInsuranceProviderName | `string GetHealthInsuranceProviderName(string claimNumber)` | Retrieves health insurance provider name.* |
| GetWorkerAge | `string GetWorkerAge(DateTime? dob)` | Retrieves worker age.* |
| GetClaimCount | `int GetClaimCount(long wokrerId)` | Retrieves claim count.* |

## Behavioral notes
- As an interface, this type defines no executable behavior of its own; behavior is determined by its implementation(s).*

## Constraints and usage notes
- Callers should depend on this interface rather than the concrete implementation(s) (`WorkerQueryProvider`) to preserve testability.*

> **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
- `Data/SAIF.Data/Queries/IWorkerQueryProvider.cs`
