Skip to content

SQL-014: clsNationalDrug

This statement supports clsNationalDrug by executing a Update operation through inline.

Classification

Field Value
SQL ID SQL-014
Operation type Update
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsNationalDrug
Criteria property UpdateSQL
Lifecycle method BeforeUpdate

Parameters

Parameter Direction Type Max length Description
:EffDate Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:ExpDate Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:ActivityCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:PharmacyRouteCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:TherapyClassCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:GenericCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:BrandNameCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:IntExtCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:UnitDoseCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:LastChangeDate Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:ProductName Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:GenericNdcCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:GenericName Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:ManufacturerName Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:GppcCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:MetricStrengthAmt Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:MetricStrengthUnit Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:DoseFormCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:PackageSizeAmt Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:PackageUnitCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:PackageQuantity Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:TotalPackageAmount Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:DesiCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:PackageDescrCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:DisallowRecordCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:NationalDrugCode Input Unknown — Passed from clsNationalDrug via BeforeUpdate.
:UpdateUser Input Unknown — Passed from clsNationalDrug via BeforeUpdate.

Tables

Table Access Columns used
CBP_NATIONAL_DRUG Update Not enumerated directly in the stage findings.**

Sample SQL

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

Operations and processes

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