I have data on multiple hospitals, patient id, date in , date out, illness severity and I want to know if being 'busy' affects discharge. I want to know if the flow of patients, the number or intensity of sickness influences the quality of discharge.
i would like to calculate
1.on the discharge date (date out) for each patient, what was the number of other patients arriving or departing i.e same date in or date out, for each hospital?
2. what was the census on the date out for each patient by calculating the number of patients that had an overlapped stay for each hospital
3. the average illness severity for each date out (using the census to identify each patient contributing to the average)
I am using Stata 13/MP on Mac
i would like to calculate
1.on the discharge date (date out) for each patient, what was the number of other patients arriving or departing i.e same date in or date out, for each hospital?
2. what was the census on the date out for each patient by calculating the number of patients that had an overlapped stay for each hospital
3. the average illness severity for each date out (using the census to identify each patient contributing to the average)
I am using Stata 13/MP on Mac