National Occupational Mortality Surveillance (NOMS)

Tools and Tips for Analyzing Death Certificate Data by Industry and Occupation

We provide the following to assist public health professionals and researchers in analyzing death certificate data by industry and occupation:

  • Death certificate data variable descriptions.
  • Steps to download the data based on the file layout from the National Center for Health Statistics (NCHS).
  • Tools to get started on analysis.

About the Industry and Occupation Variables

Starting with the 2020 data, NCHS added four industry and occupation fields in the National Vital Statistics System (NVSS) public use and restricted data sets:

  1. Four-digit CDC Census Occupation Codes
  2. Occupation grouping: The occupation grouping is the National Health Interview Survey (NHIS) simple occupation recode based on the Standard Occupational Classification-informed codes obtained from the Census Bureau. There are 25 occupation groupings.
  3. Four-digit CDC Census Industry Codes
  4. Industry grouping: The industry grouping is the NHIS simple industry recode based on the North American Industry Classification System(NAICS)-informed codes obtained from the Census Bureau. There are 22 industry groupings.

See Industry and Occupation data as applicable to mortality vital statistics, 2020: History, Background, and Control Tables to learn more about inclusion of industry and occupation variables into NVSS.

Periodically, Census codes are updated, and codes are added or deleted. These updates are called code sets. For the mortality data, the following CDC Census code sets were used in the corresponding years. Learn more about these code sets.

caption
CDC Census Code Set Used Years NHIS documentation for individual Census codes included in  simple industry and occupation groupings
2012 Industry
2012 Occupation
2020–2022 Data set documentation
Industry Appendix page 461
Occupation Appendix page 465
2018 Industry
2018 Occupation
2023– Data set documentation
Industry Appendix page 624
Occupation Appendix page 628

Other Variables Available

In addition to industry and occupation, the following variables are included in the NVSS public use data set.

Cause of Death

Note: The International Classification of Diseases 10th Revision (ICD–10) codes included in the data are ICD–10 (mortality), not clinical modification (ICD–10–CM) codes.

  1. Underlying Cause of Death
    The underlying cause of death is the disease or injury which leads directly or indirectly to death. It can also be the circumstances of an accident or violence that leads to death.
  2. Contributing Causes of Death (“Multiple Conditions” in the record layout document)
    Often, it is the combined effect of two or more conditions that result in death. These conditions may be unrelated, independent of each other, or causally related (one cause may lead to another).
    NCHS provides two types of codes for contributing causes of death:
    1. Record axis codes
      The record axis codes are the NCHS-edited version of the contributing cause data from the death certificates. These codes are edited for inconsistent information, combine conditions listed separately and standardize the diagnoses. They do not include any information regarding their placement on the death certificate.
    2. Entity axis codes
      Entity axis contributing cause codes are the conditions from the death certificate listed in the same order that they appear on the death certificate. These data are unedited; the number of diagnoses and level of detail on the certificate may vary widely from one certifier to the other, even for the same conditions.

    Why NOMS uses record axis codes:
    Both record and entity axis codes have important uses in mortality research, but they each serve different purposes. We use record axis codes to standardize data across different sources so that we can make comparisons in patterns of deaths by industry and occupation. Learn more about multiple cause of death codes.

Grouping Variables for ICD–10 Underlying Cause of Death Codes (from NCHS/NVSS)

Mortality data include individual ICD–10 codes as well as groupings of ICD–10 underlying cause of death codes. For description of groupings and codes included, see 39-cause recode, 113-cause recode, and 358-cause recode in the file documentation and the Instruction Manual Part 9: “ICD–10 Cause-of-Death Lists for Tabulating Mortality Statistics.”

Other Demographic Variables Include Sex, Race, Ethnicity, and Education

See the NVSS Public Use File Documentation to learn about other available variables.

Download the Public Use Data

Before downloading data, we recommend you review

Learn more about the data on the NVSS website

Background on industry and occupation variables (as part of the 2020 data documentation), and what is in the mortality data files (by year).

Access the NVSS data which includes the industry and occupation variables

Data are available for public use.

The files are located under the header “Mortality Multiple Cause”

(see the U.S. Data .zip files)

  1. Each year’s record layout information.
  2. Information on the addition of industry and occupation variables to the NVSS as part of the 2020 data documentation.

Note on Data Filename Extension

The 2020 data filename extension is “.dusmcpub,” which is uncommon. The 2021 data filename extension is “.txt”. Both the 2020 and 2021 are ASCII “text” flat files.

Now You’re Ready to Download the Data!

  1. On the NVSS data access page and under the heading “Mortality Multiple Cause,” click on the year of data that you would like to download.
  2. Move the .zip folder to the file location of your choice (do this before unzipping since it is a large file).
  3. Right click the file to extract all.
  4. Use statistical program of your choice to read the file.

Using SAS

  1. This SAS program [TXT – 11 KB] can be edited and then used to read the data into SAS. Read the file documentation and edit program as needed for any changes to variables or variable location.
  2. This format program (2012 [TXT – 66 KB]; 2018 [TXT – 72 KB]) can be used with the read-in program to assign labels and formats.
  3. This separate program [TXT – 770 KB] includes formats for individual ICD–10 codes.

Using “R”

For the two different filename types:

  1. For .txt filename extension:
    For the text data, this R program [TXT – 4 KB] can be edited and then used to read the data into R.
  2. For .dusmcpub filename extension (2020 data file):

If you must read in the .dusmcpub file, be aware that you may need to run R overnight to fully import the data. For more information on reading this filename type into R, see the following resource.

Tip: When using R with the .dusmcpub filename type, it is best to save the data as a .csv file. This will prevent overly long loading times. If you have SAS, read in the data using this SAS program [TXT – 11 KB] and export the data as a .csv file that can be more easily read into R.

Tools for Working with the Data

  1. Use the following SAS (2012 [TXT – 31 KB]; 2018 [TXT – 34 KB]) and R codes (2012 [TXT – 31 KB]; 2018 [TXT – 38 KB]) to group Census Industry and Census Occupation codes into detailed NHIS industry and occupation recodes.
    • 272 individual CDC Census Industry (2012) codes   →    80 NHIS industry groupings
    • 544 individual CDC Census Occupation (2012) codes  →    96 NHIS occupation groupings

    Simple recodes of industry (22 groupings) and occupation (25 groupings) variables are included in the public use data set. See About the Industry and Occupation Variables.

  2. Use the following SAS code [TXT – 29 KB] to compute adjusted Proportionate Mortality Ratios (PMRs) (For experienced SAS users)

Quick Access: All Available Programs

caption
Purpose Program File
Reading the raw data SAS public2020_2021_readin.txt [TXT – 11 KB]
Reading or loading data into R R R_Mortality_read-in_full_final_code_txt [TXT – 4 KB]
ICD–10 formats SAS FORMATS_ICD–10.txt [TXT – 770 KB]
Recoding individual census codes to NHIS detailed recodes for 2012 and 2018 census codes SAS 2020-2022 data
NHIS_det_2012Ind_Occ_recode_format.txt [TXT – 31 KB]
2023 data and forward
NHIS_det_2018Ind_Occ_recode_format.txt [TXT – 34 KB]
Recoding individual census codes to NHIS detailed recodes for 2012 and 2018 census codes R R Detailed Recodes 2012 [TXT – 31 KB]
R Detailed Recodes 2018 [TXT – 38 KB]
PMR program Steps_Required_to_Calculate_PMRs.docx [DOC – 31 KB]
PMRProgramSASCode.txt [TXT – 29 KB]