Skip to main content

MDC

ColumnData TypeDescription
Download CSV

Maintenance Instructions

  1. Navigate to the CMS MS DRG website
  2. Under the section "MS-DRG Definitions Manual and Software", click on "V42 Definitions Manual Table of Contents - Full Titles - HTML Version"
    • The version (e.g. V42) will change with each new release.
  3. Click on the hyperlink "Design and Development of the Diagnosis Related Group (DRGs)"
  4. Scroll through the PDF to find the "Major Diagnostic Categories" table
  5. Copy and paste the code list into any text editor
  6. Format the codes as a CSV and save
  7. Import the CSV file into any data warehouse
  8. Upload the CSV file from the data warehouse to S3 (credentials with write permissions to the S3 bucket are required)
-- example code for Snowflake
copy into s3://tuva-public-resources/terminology/mdc.csv
from [table_created_in_step_7]
file_format = (type = csv field_optionally_enclosed_by = '"')
storage_integration = [integration_with_s3_write_permissions]
OVERWRITE = TRUE;
  1. Create a branch in docs. Update the last_updated column in the table above with the current date
  2. Submit a pull request

The below steps are only required if the headers of the file need to be changed. The Tuva Project does not store the contents of the mdc file in GitHub.

  1. Create a branch in The Tuva Project
  2. Alter the headers as needed in MDC file
  3. Submit a pull request