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

# clsNationalDrugPrice

`clsNationalDrugPrice` represents a price record for a national drug code, including the effective range and average wholesale unit amount.*

## Purpose

- Stores the price value applied to an NDC for a specific effective period.*
- Tracks the expiration and update fields used to maintain pricing history.

## Context

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

## Public members

| Member | Signature | Purpose |
| --- | --- | --- |
| `NationalDrugCode` | `Public Property NationalDrugCode() As String` | Gets or sets national drug code. |
| `EffDate` | `Public Property EffDate() As Date` | Gets or sets eff date. |
| `UpdateUser` | `Public Property UpdateUser() As String` | Gets or sets update user. |
| `UpdateNum` | `Public Property UpdateNum() As Decimal` | Gets or sets update num. |
| `UpdateDate` | `Public Property UpdateDate() As Date` | Gets or sets update date. |
| `ExpDate` | `Public Property ExpDate() As Date` | Gets or sets exp date. |
| `AverageWholesaleUnitAmt` | `Public Property AverageWholesaleUnitAmt() As Decimal` | Gets or sets average wholesale unit amt. |
| `IsValid` | `Public Overrides ReadOnly Property IsValid() As Boolean` | Returns is valid. |
| `IsDirty` | `Public Overrides ReadOnly Property IsDirty() As Boolean` | Returns is dirty. |
| `SetExpDateNull` | `Public Sub SetExpDateNull()` | Executes the `SetExpDateNull` operation. |
| `SetAverageWholesaleUnitAmtNull` | `Public Sub SetAverageWholesaleUnitAmtNull()` | Executes the `SetAverageWholesaleUnitAmtNull` operation. |
| `IsExpDateNull` | `Public Function IsExpDateNull() As Boolean` | Exposes the public member. |
| `IsAverageWholesaleUnitAmtNull` | `Public Function IsAverageWholesaleUnitAmtNull() As Boolean` | Exposes the public member. |
| `Equals` | `Public Overloads Shared Function Equals(ByVal objA As Object, ByVal objB As Object) As Boolean` | Exposes the public member. |
| `Equals` | `Public Overloads Overrides Function Equals(ByVal inObject As Object) As Boolean` | Exposes the public member. |
| `Equals` | `Public Overloads Function Equals(ByVal inObject As clsNationalDrugPrice) As Boolean` | Exposes the public member. |
| `GetHashCode` | `Public Overrides Function GetHashCode() As Integer` | Retrieves the `GetHashCode` operation. |
| `ToString` | `Public Overrides Function ToString() As String` | Exposes the public member. |
| `NewCbpNationalDrugPrice` | `Public Shared Function NewCbpNationalDrugPrice(ByVal inDataportal As IDataPortalInfo, ByVal inNationalDrugCode As String, ByVal inEffDate As Date) As clsNationalDrugPrice` | Executes the `NewCbpNationalDrugPrice` operation. |
| `GetCbpNationalDrugPrice` | `Public Shared Function GetCbpNationalDrugPrice(ByVal inDataportal As IDataPortalInfo, ByVal inNationalDrugCode As String) As clsNationalDrugPrice` | Retrieves the `GetCbpNationalDrugPrice` operation. |
| `savechild` | `Public Overrides Function savechild() As Boolean` | Executes the `savechild` operation. |
| `Save` | `Public Overrides Function Save() As Boolean` | Executes the `Save` operation. |
| `New` | `Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo)` | Executes the `New` operation. |
| `New` | `Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inNationalDrugCode As String)` | Executes the `New` operation. |
| `New` | `Public Sub New(ByVal inDataPortalInfo As IDataPortalInfo, ByVal inNationalDrugCode As String, ByVal inEffDate As Date)` | Executes the `New` operation. |

## Inherited public members

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| `MyGuid` | `Public ReadOnly Property MyGuid() As String` | Returns the object's generated GUID identifier.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `IsNew` | `Public ReadOnly Property IsNew() As Boolean` | Indicates whether the object represents unsaved data.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `IsDeleted` | `Public ReadOnly Property IsDeleted() As Boolean` | Indicates whether the object has been marked for deletion.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `SetValueOnChange` | `Public Function SetValueOnChange(Of T)(ByRef inFieldValue As T, ByVal inSetValue As T, Optional ByVal inMarkDirty As Boolean = True) As Boolean` | Assigns a new field value only when it differs and optionally marks the object dirty.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `Rules` | `Public ReadOnly Property Rules() As clsRulesManager` | Exposes the BOF rules manager for validation and messages.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `SaveChild` | `Public Overridable Function SaveChild() As Boolean` | Persists the object as a BOF child object.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |
| `ToXml` | `Public Function ToXml() As String` | Returns the object's XML representation using the configured default tag name.* | `Legacy\BusinessObjectFramework` — `clsBusinessBase` |

## Behavioral notes

- This type is documented from its source declaration.
- The type participates in the `clsBusinessBase` 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.

> **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\clsNationalDrugPrice.vb`
- `Legacy\BusinessObjectFramework\clsBusinessBase.vb`
