I am trying to create a dummy variable that indicates whether each discharge involves readmission. I only have data on the date of admission. However, readmission is subsequent hospitalization for the same patientId within 30 days of the index claim