The %gemsmap SAS macro quickly maps diagnosis and procedure codes using 2018 General Equivalence Mappings (GEMs)
Author: Alan Kinlaw
Created: 04 Sep 2019
Updated: 24 Sep 2019
To map ICD-9-CM to ICD-10-CM diagnosis codes and ICD-9-CM to ICD-10-PCS procedure codes
Ready-to-go 2018 General Equivalance Mappings (GEMs) SAS datasets which the author has adapted from reference mappings provided in the public domain by the Centers for Medicare and Medicaid Services (CMS) and the National Center for Health Statistics (NCHS/CDC) [details -- https://bit.ly/2lbh4YJ] [zipfile -- https://go.cms.gov/2lcbDZx (raw text files)].
- icd9to10dx.sas7bdat
- icd10to9dx.sas7bdat
- icd9to10pr.sas7bdat
- icd10to9pr.sas7bdat
-
SAS output at end will display all forward-backward-mapped ICD-10-CM/PCS codes of interest, for you to review for your project
-
A SAS dataset (example: rect_dx_fbm_final.sas7bdat) will display all forward-backward-mapped ICD-10-CM/PCS codes of interest, as well as their simple-forward and simple-backward mapping characteristics -- these may be helpful for guiding your review of codes
- Identify filepath for projlib directory
- Store input files in projlib directory
- Submit macro code
- For either diagnosis (dx) or procedure (pr) codes of interest, follow instructive comments to progress through mapping and outputting ICD-10-CM/PCS codes
- !!! Review the output codes to verify proper inclusion/exclusion of candidate codes for your project !!!
The published material is shared under a GNU General Public License v3.0. It is being distributed without warranty of any kind, either expressed or implied. The responsibility for the interpretation and use of the material lies with the reader. In no event shall the Author be liable for damages arising from its use.