newbie0423
IS-IT--Management
Hello,
I am using Crystal 11. I'm trying to create a report that will show how many operating rooms are running for a particular hour of the day. I am using the patient's in room time and the patient's out of room time. Using these two fields/times helps me to count the number of CASES for the hour, sometimes there can be two or more cases in the room within one hour. I would like my end result to be the number of ROOMs running, NOT CASES.
This is the forumula that I am using for each hour. If the patient's in time is between 3:00 and 3:59 it is marked with a "1" if not then a "0" . I then total the number of cases for that hour.
If Not (
Time(Picture(ToText({v_CRA_20_Billing.time_pat_in_room},'0000'),"xx:xx")) > Time(15,59,0) or
Time(Picture(ToText({v_CRA_20_Billing.time_pat_out_of_room},'0000'),"xx:xx"))< Time(15,0,0)
)
Then 1
Any help or suggestions will be appreciated. Thanks very much!
I am using Crystal 11. I'm trying to create a report that will show how many operating rooms are running for a particular hour of the day. I am using the patient's in room time and the patient's out of room time. Using these two fields/times helps me to count the number of CASES for the hour, sometimes there can be two or more cases in the room within one hour. I would like my end result to be the number of ROOMs running, NOT CASES.
This is the forumula that I am using for each hour. If the patient's in time is between 3:00 and 3:59 it is marked with a "1" if not then a "0" . I then total the number of cases for that hour.
If Not (
Time(Picture(ToText({v_CRA_20_Billing.time_pat_in_room},'0000'),"xx:xx")) > Time(15,59,0) or
Time(Picture(ToText({v_CRA_20_Billing.time_pat_out_of_room},'0000'),"xx:xx"))< Time(15,0,0)
)
Then 1
Any help or suggestions will be appreciated. Thanks very much!