Hello
I'm using SAS 9.1. I imported data from the hospital software system where one line of data is one patient visit.
What I want to do is, using the health card number, show # of readmits per patient within my organization (which is comprised of many hospitals).
I am assuming I'll need to sort the data in discharge date order so that I can calculate current admit date with previous discharge date to see if there was a readmit. I'll want to know # of readmits in 7 days, 14 days, 21 days, 30 days and greater than 30 days PER that one patient.
How would I also be able to add other information per the readmit i.e. main diagnosis etc.?
Is this possible and if so, how? Thanks.