/*Published: 09/01/2022 */ /************************** COMMENTS *******************************/ /* THIS INPUT STATMENT IS FOR THE 2022 SEER-CAHPS LINKAGE. */ /* IF YOU RECEIVED DME FILES BEFORE DECEMBER 2022 THEN YOU WILL */ /* NEED A DIFFERENT INPUT STATEMENT. PLEASE CONTACT IMS VIA E-MAIL AT */ /* SEER-MEDICARE@IMSWEB.COM AND AN INPUT STATEMENT WILL BE SENT TO YOU */ /***********************************************************************/ *filename mdppas '/directory/mdppas2019.txt'; /*reading in an un-zipped file*/ *filename mdppas pipe 'gunzip -c /directory/md_ppas2019.txt.gz'; /*reading in a zipped file*/ *filename mdppas pipe 'gunzip -c /directory/md_ppas*.txt.gz'; /*using wildcard to match multiple files */ options nocenter validvarname=upcase; data mdppas; infile mdppas lrecl=681 missover pad; input @001 NPI $char10. /* Encrypted */ @091 SEX $char1. @092 BIRTH_YR $char4. @100 SPEC_BROAD 2. @102 SPEC_PRIM_1 $char2. @104 SPEC_PRIM_1_NAME $char38. @142 SPEC_PRIM_2 $char2. @144 SPEC_PRIM_2_NAME $char38. @182 SPEC_SOURCE 1. @183 SPEC_SOURCE_HOSP 1. @184 POS_OFFICE PERCENT12.8 @196 POS_INPAT PERCENT12.8 @208 POS_OPD PERCENT12.8 @220 POS_ER PERCENT12.8 @232 POS_NURSING PERCENT12.8 @244 POS_ASC PERCENT12.8 @256 POS_RESID PERCENT12.8 @268 POS_RETAIL PERCENT12.8 @280 POS_URGENT PERCENT12.8 @292 POS_OTHER PERCENT12.8 @304 STATE $char2. @306 STATE_MULTI 1. @307 CBSA_TYPE 1. @308 CBSA_CD $char5. @313 CBSA_NAME $char50. @363 CBSA_MULTI 1. @364 NPI_SRVC_LINES 15. @379 NPI_ALLOWED_AMT 15.2 @394 NPI_UNQ_BENES 15. @409 TIN1 $char10. /* Encrypted to 10 characters */ @488 TIN1_SRVC_MONTH $char12. @500 TIN1_SRVC_LINES 15. @515 TIN1_ALLOWED_AMT 15.2 @530 TIN1_UNQ_BENES 15. @545 TIN2 $char10. /* Encrypted to 10 characters */ @624 TIN2_SRVC_MONTH $char12. @636 TIN2_SRVC_LINES 15. @651 TIN2_ALLOWED_AMT 15.2 @666 TIN2_UNQ_BENES 15. ; label NPI = "National Provider Identifier" /*****Encrypted*****/ SEX = "Provider sex" BIRTH_YR = "Provider birth year" SPEC_BROAD = "Specialty broad category" SPEC_PRIM_1 = "Specialty primary 1 code" SPEC_PRIM_1_NAME = "Specialty primary specialty 1 name" SPEC_PRIM_2 = "Specialty primary specialty 2 code" SPEC_PRIM_2_NAME = "Specialty primary specialty 2 name" SPEC_SOURCE = "Specialty source data (1=PECOS, 2=Claims)" SPEC_SOURCE_HOSP = "Specialty source data for hospitalist designation (1=PECOS, 2=Claims)" POS_OFFICE = "% of line items delivered in office" POS_INPAT = "% of line items delivered in inpatient hospital" POS_OPD = "% of line items delivered in hospital outpatient department (OPD)" POS_ER = "% of line items delivered in emergency room (ER)" POS_NURSING = "% of line items delivered in nursing facility/skilled nursing facility" POS_ASC = "% of line items delivered in ambulatory surgery center (ASC)" POS_RESID = "% of line items delivered in patient residence" POS_RETAIL = "% of line items delivered in walk-in retail clinic" POS_URGENT = "% of line items delivered in urgent care" POS_OTHER = "% of line items delivered in other place of services" STATE = "Provider state" STATE_MULTI = "Provider multiple state indicator" CBSA_TYPE = "Provider core-based statistical area (type)" CBSA_CD = "Provider core-based statistical area (code)" CBSA_NAME = "Provider core-based statistical area (name)" CBSA_MULTI = "Provider multiple CBSA" NPI_SRVC_LINES = "Provider total number of service lines" NPI_ALLOWED_AMT = "Provider total allowed charges" NPI_UNQ_BENES = "Provider total number of unique beneficiaries" TIN1 = "Tax identification number 1" TIN1_SRVC_MONTH = "TIN1 monthly indicator" /* Encrypted */ TIN1_SRVC_LINES = "TIN1 total number of service lines" TIN1_ALLOWED_AMT = "TIN1 total allowed charges" TIN1_UNQ_BENES = "TIN1 total number of unique beneficiaries" TIN2 = "Tax identification number 2" /* Encrypted */ TIN2_SRVC_MONTH = "TIN2 monthly indicator" TIN2_SRVC_LINES = "TIN2 total number of service lines" TIN2_ALLOWED_AMT = "TIN2 total allowed charges" TIN2_UNQ_BENES = "TIN2 total number of unique beneficiaries" ; run; proc contents data=mdppas position; run;