BookmarkSubscribeRSS Feed
drkrunal
Calcite | Level 5
While doing analysis on NRD database with SAS 9.4, I defined IndexEvent using primary diagnosis variable (DX1) and calculated 30-day readmission rates for IndexEvent.
I want to find out the Primary Diagnosis for Readmission. I want to know the reason for readmission if its same as IndexEvent or any other reason for Readmisssion. Which variable I should use to look for Readmission Primary Diagnosis?? Any Specific SAS code I should use??
Anyone familiar with this please guide.
 
Thank you in advance!
1 REPLY 1
mkeintz
PROC Star

No doubt there is specific sas code you could use.   Show us some specific sample data - namely a data step with the initial data, and a data step with the desired data.

 

Help us help you.

--------------------------
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set

Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets

--------------------------

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1085 views
  • 0 likes
  • 2 in conversation