Back to search

drug code

drg_cd
pharmacy
Updated 5/16/2026

Definition

A standardized identifier, such as NDC, RxNorm, or GPI code, assigned to a drug within pharmacy dispensing, PBM adjudication, and claims processing systems. Used for drug identification, formulary lookups, clinical decision support, and cross-system reporting in healthcare data pipelines.

Standard Abbreviation

drg_cd

Category

pharmacy

Database Usage

-- Example column naming
CREATE TABLE claims (
  clm_id VARCHAR(50),
  drg_cd VARCHAR(20),  -- drug code (max 20 chars)
  ...
);

-- Example in SELECT
SELECT
  clm_id,
  drg_cd as drug_code
FROM claims;

Common uses in healthcare data

  • PBM claims adjudication and drug utilization review
  • Controlled substance monitoring and DEA compliance
  • Pharmacy data warehouse and ETL pipeline design
  • Prior authorization and step therapy workflows
  • Medicare Part D reporting and CMS submissions

Example database column name

ISO-11179 snake_case standard

-- Recommended column name
drg_cd

-- Example DDL
CREATE TABLE healthcare_data (
  record_id   VARCHAR(50)   NOT NULL,
  drg_cd       VARCHAR(20),  -- drug code (max 20 chars)
  created_dt  TIMESTAMP     NOT NULL DEFAULT NOW()
);

Column names follow the ISO-11179 naming convention: lowercase, underscore-separated, using the standard abbreviation as a prefix where applicable.

Looking for more healthcare terms?

Browse our complete library of 100,000+ standardized healthcare data terms

Browse All Terms