---
title: "SQL-003: Read operation"
summary: SQL-003 documentation for SAIF.Business.Claim.Bill.AutomatedAudit.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.Bill.AutomatedAudit
reference_type: package
---

# SQL-003: Read operation

This document records the SQL used by `clsPharmacyEnrollment` in `SAIF.Business.Claim.Bill.AutomatedAudit`.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-003 |
| **Operation type** | Read |
| **Execution method** | StringBuilder |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsPharmacyEnrollment` |
| **Criteria property** | `SQLText` |
| **Lifecycle method** | `SQLText` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:ClaimID` | Input | Number | N/A | Binds ClaimID from active calling code or Oracle signature. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_PHARMACY_ELIGIBILITY_REPORT](../database-tables.md#cl_pharmacy_eligibility_report) | READ | C, CLAIM_ID, CL_PHARMACY_ELIGIBILITY_REPORT, D, E, ELIGIBILITY_STATUS_CODE, ID, P, S, U, UPDATE_DATE, UPDATE_DATEG |

## Sample SQL

```sql
Select ELIGIBILITY_STATUS_CODE as Code, UPDATE_DATE as UpdateDate 
FROM CL_PHARMACY_ELIGIBILITY_REPORT 
WHERE CLAIM_ID = :ClaimID 
ORDER BY UPDATE_DATEGet Pharmacy EligibilityClaimID
```

> **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.Claim.Bill.AutomatedAudit\AuditUtilities\clsPharmacyEnrollment.vb`
