---
title: "SQL-008: clsNationalDrug"
summary: Read statement for clsNationalDrug.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.MedicalBill
reference_type: package
---

# SQL-008: clsNationalDrug

This statement supports `clsNationalDrug` by executing a Read operation through inline.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-008 |
| **Operation type** | Read |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsNationalDrug` |
| **Criteria property** | `RetrieveSQL` |
| **Lifecycle method** | `BeforeRetrieve` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:NationalDrugCode` | Input | Unknown | — | Passed from clsNationalDrug via BeforeRetrieve. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CBP_NATIONAL_DRUG](../database-tables.md#cbp_national_drug) | Read | Not enumerated directly in the stage findings.** |

## Sample SQL

```sql
Select
    CBP_NATIONAL_DRUG.NATIONAL_DRUG_CODE as NationalDrugCode,
    CBP_NATIONAL_DRUG.EFF_DATE as EffDate,
    CBP_NATIONAL_DRUG.EXP_DATE as ExpDate,
    CBP_NATIONAL_DRUG.ACTIVITY_CODE as ActivityCode,
    CBP_NATIONAL_DRUG.PHARMACY_ROUTE_CODE as PharmacyRouteCode,
    CBP_NATIONAL_DRUG.THERAPY_CLASS_CODE as TherapyClassCode,
    CBP_NATIONAL_DRUG.GENERIC_CODE as GenericCode,
    CBP_NATIONAL_DRUG.BRAND_NAME_CODE as BrandNameCode,
    CBP_NATIONAL_DRUG.INT_EXT_CODE as IntExtCode,
    CBP_NATIONAL_DRUG.UNIT_DOSE_CODE as UnitDoseCode,
    CBP_NATIONAL_DRUG.LAST_CHANGE_DATE as LastChangeDate,
    CBP_NATIONAL_DRUG.PRODUCT_NAME as ProductName,
    CBP_NATIONAL_DRUG.GENERIC_NDC_CODE as GenericNdcCode,
    CBP_NATIONAL_DRUG.GENERIC_NAME as GenericName,
    CBP_NATIONAL_DRUG.MANUFACTURER_NAME as ManufacturerName,
    CBP_NATIONAL_DRUG.GPPC_CODE as GppcCode,
    CBP_NATIONAL_DRUG.METRIC_STRENGTH_AMT as MetricStrengthAmt,
    CBP_NATIONAL_DRUG.METRIC_STRENGTH_UNIT as MetricStrengthUnit,
    CBP_NATIONAL_DRUG.DOSE_FORM_CODE as DoseFormCode,
    CBP_NATIONAL_DRUG.PACKAGE_SIZE_AMT as PackageSizeAmt,
    CBP_NATIONAL_DRUG.PACKAGE_UNIT_CODE as PackageUnitCode,
    CBP_NATIONAL_DRUG.PACKAGE_QUANTITY as PackageQuantity,
    CBP_NATIONAL_DRUG.TOTAL_PACKAGE_AMOUNT as TotalPackageAmount,
    CBP_NATIONAL_DRUG.DESI_CODE as DesiCode,
    CBP_NATIONAL_DRUG.PACKAGE_DESCR_CODE as PackageDescrCode,
    CBP_NATIONAL_DRUG.UPDATE_USER as UpdateUser,
    CBP_NATIONAL_DRUG.UPDATE_NUM as UpdateNum,
    CBP_NATIONAL_DRUG.UPDATE_DATE as UpdateDate,
    CBP_NATIONAL_DRUG.DISALLOW_RECORD_CODE as DisallowRecordCode
From CBP_NATIONAL_DRUG
WHERE
    CBP_NATIONAL_DRUG.NATIONAL_DRUG_CODE = :NationalDrugCode
```

## Operations and processes

- [clsNationalDrug BeforeRetrieve](../operations/drug-pricing-data-management.md)

> **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.MedicalBill/clsNationalDrug.vb`
