Hi
Staff here would like to be able to work out the daily count of patients in different wards (Emergency and Surgical ward) over a specified time period according to their ward and severity. The fields I have to work on are ward admission and ward discharge date, ward name, severity level and Patient ID.
Eg.
Patient ID Adm Date Disch Date Ward Severity Level
1 13/8/03 16/08/03 ED High
2 14/08/03 15/08/03 ED High
3 12/08/03 12/08/03 Surg Med
4 15/08/03 27/08/03 ED Med
The result would be like this for the user specified date range of 12/08/03 to 16/08/03.
Ward Severity 12/08/03 13/08/03 14/08/03 15/08/03 16/08/03
ED High 0 1 2 2 1
ED Med 0 0 0 1 1
Surg High 1 0 0 0 0
I am not sure how to count day by day when I only have the admission and discharge date.
Any assistance would be greatly appreciated.
Thanks
Staff here would like to be able to work out the daily count of patients in different wards (Emergency and Surgical ward) over a specified time period according to their ward and severity. The fields I have to work on are ward admission and ward discharge date, ward name, severity level and Patient ID.
Eg.
Patient ID Adm Date Disch Date Ward Severity Level
1 13/8/03 16/08/03 ED High
2 14/08/03 15/08/03 ED High
3 12/08/03 12/08/03 Surg Med
4 15/08/03 27/08/03 ED Med
The result would be like this for the user specified date range of 12/08/03 to 16/08/03.
Ward Severity 12/08/03 13/08/03 14/08/03 15/08/03 16/08/03
ED High 0 1 2 2 1
ED Med 0 0 0 1 1
Surg High 1 0 0 0 0
I am not sure how to count day by day when I only have the admission and discharge date.
Any assistance would be greatly appreciated.
Thanks