Jonathan212
IS-IT--Management
My objective is to total the number of first cases in a room.
Formula to derive first case in a room (in selection formulas, group selection):
{pcmOpTime.timePatientInRoom} = minimum ({pcmOpTime.timePatientInRoom},
{pcmORroom.orName})
That formula is working perfectly.
Output:
surgDate orName SchedinRoom ActualinRoom Variance case number
4/2/2007
04/02/2007 AS 1 8:00 8:23 -23.00 138,761
04/02/2007 AS 2 8:00 8:10 -10.00 138,704
04/02/2007 AS 3 8:00 8:00 0.00 140,712
04/02/2007 AS 4 10:00 9:51 9.00 140,127
04/02/2007 AS 5 8:00 8:10 -10.00 140,888
I wish to total the number of first cases (and only first cases) for that day, i.e., five cases and then do a formula for the average time a case was late. I am fairly certain I can do the average formula but I can’t get the syntax yet for showing only five cases on this day. I have done a distinct count on case number, but that yields 22, which were the total cases on that day.
I am using CR10. Thanks in advance, Jonathan.
Formula to derive first case in a room (in selection formulas, group selection):
{pcmOpTime.timePatientInRoom} = minimum ({pcmOpTime.timePatientInRoom},
{pcmORroom.orName})
That formula is working perfectly.
Output:
surgDate orName SchedinRoom ActualinRoom Variance case number
4/2/2007
04/02/2007 AS 1 8:00 8:23 -23.00 138,761
04/02/2007 AS 2 8:00 8:10 -10.00 138,704
04/02/2007 AS 3 8:00 8:00 0.00 140,712
04/02/2007 AS 4 10:00 9:51 9.00 140,127
04/02/2007 AS 5 8:00 8:10 -10.00 140,888
I wish to total the number of first cases (and only first cases) for that day, i.e., five cases and then do a formula for the average time a case was late. I am fairly certain I can do the average formula but I can’t get the syntax yet for showing only five cases on this day. I have done a distinct count on case number, but that yields 22, which were the total cases on that day.
I am using CR10. Thanks in advance, Jonathan.