reportwriter2
Technical User
I need to calculate the difference between the time a surgery stops for one patient and the time the next surgery starts for the next patient -- grouped by surgeon. So I am working with the stop date time of one record and the start date time of the next record.
Looks like:
Dr. A.
Patient A Case start: 8:00 Case stop: 9:00
Patient B Case start: 9:15 Case stop: 10:00
Turnover time: 15 minutes
Dr. B
Patient C Case start: 8:30 Case stop: 9:45
Patient B Case start: 9:57 Case stop: 11:00
Turnover time: 12 minutes
I used DateDiff but it compared the start and stop times of the same patient. I could not get it to give the difference between Patient A and Patient B.
Thanks for any help or advice you can give me.
Thanks for any input.
Looks like:
Dr. A.
Patient A Case start: 8:00 Case stop: 9:00
Patient B Case start: 9:15 Case stop: 10:00
Turnover time: 15 minutes
Dr. B
Patient C Case start: 8:30 Case stop: 9:45
Patient B Case start: 9:57 Case stop: 11:00
Turnover time: 12 minutes
I used DateDiff but it compared the start and stop times of the same patient. I could not get it to give the difference between Patient A and Patient B.
Thanks for any help or advice you can give me.
Thanks for any input.