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

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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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