Hello,
I think I could use a self join to find each patients' admissions which can be considered readmissions within 30 days but I am wondering how to make sure that the records are compared with each properly. For example, if a patient has 5 total admissions within a year, the first one is obviously not a RE-admission for that year but I want to look at each subsequent pair of records to see if the subsequent admission is within 30 days of the most recent discharge. How could I write a SQL statement (SQL view in MS access) to do this or must I export all the records to Excel to calculate this.
Thanks in advance for your time and help. Please let me know if I need to clarify what I've described.
I think I could use a self join to find each patients' admissions which can be considered readmissions within 30 days but I am wondering how to make sure that the records are compared with each properly. For example, if a patient has 5 total admissions within a year, the first one is obviously not a RE-admission for that year but I want to look at each subsequent pair of records to see if the subsequent admission is within 30 days of the most recent discharge. How could I write a SQL statement (SQL view in MS access) to do this or must I export all the records to Excel to calculate this.
Thanks in advance for your time and help. Please let me know if I need to clarify what I've described.