Hello Stata community,
I am working on a study looking at the impact of an antibiotic stewardship program on antibiotic consumption in a healthcare facility, using an interrupted time series analysis. I will need to compute indicators by patient-month (in order to take into account the activity of the facility).
Therefore, I would like to calculate the number of patients present each day or month in a healthcare facility based on his admission date and his exit date (discharge, death).
The results would be presented as a table with 2 columns: dates and the number of patients hospitalised on that date.
The date can be a day or a month (patient-day or patient-month). A month would actually be more useful.
I guess it is easier to start by counting the number of patients hospitalised each day (new admissions + people currently hospitalised) and then sum them for each month.
My problem is how to calculate the number of patients hospitalised on each day.
Thank you for your help.
Best
Marie-Amelie
I am working on a study looking at the impact of an antibiotic stewardship program on antibiotic consumption in a healthcare facility, using an interrupted time series analysis. I will need to compute indicators by patient-month (in order to take into account the activity of the facility).
Therefore, I would like to calculate the number of patients present each day or month in a healthcare facility based on his admission date and his exit date (discharge, death).
The results would be presented as a table with 2 columns: dates and the number of patients hospitalised on that date.
The date can be a day or a month (patient-day or patient-month). A month would actually be more useful.
I guess it is easier to start by counting the number of patients hospitalised each day (new admissions + people currently hospitalised) and then sum them for each month.
My problem is how to calculate the number of patients hospitalised on each day.
Thank you for your help.
Best
Marie-Amelie
Comment