JonathanNYC
IS-IT--Management
I need to generate output that identifies total number of instrument trays (by instrument tray name) required for the first two cases only in all of our operating rooms. There can sometimes be as many as eight cases in an operating room each day. On some days, there may be only one case in an operating room (a complicated spine case, for example).
As an example, we have a total of 25 operating rooms. I need to identify the names of the various instrument trays and the quantity required for each tray. Again, my maximum (for purposes of this report) cases would be 2 cases per room times 25 operating rooms.
I am able to identify the names of the trays and calculate total quanity required (but at this point I can only do this for all cases, not just the first two cases).
I need help with a formula that will restrict my search to the first two cases only in every operating room. Several of you had helped me, previously, with a formula for first cases only in a room. I am hoping I can tweak that formula, but don't know how as yet.
Here was the formula for first case in a room only (note: the "sortorder" in the expression below is the name of the operating room):
{pcmOpTime.timePatientInRoom} = minimum ({pcmOpTime.timePatientInRoom},
{pcxSchedulableResources.sortOrder})
I am using Crystal Reports 10.0 and PSSolutions (a operating room scheduling and documentation system).
Thanks in advance for your input.
As an example, we have a total of 25 operating rooms. I need to identify the names of the various instrument trays and the quantity required for each tray. Again, my maximum (for purposes of this report) cases would be 2 cases per room times 25 operating rooms.
I am able to identify the names of the trays and calculate total quanity required (but at this point I can only do this for all cases, not just the first two cases).
I need help with a formula that will restrict my search to the first two cases only in every operating room. Several of you had helped me, previously, with a formula for first cases only in a room. I am hoping I can tweak that formula, but don't know how as yet.
Here was the formula for first case in a room only (note: the "sortorder" in the expression below is the name of the operating room):
{pcmOpTime.timePatientInRoom} = minimum ({pcmOpTime.timePatientInRoom},
{pcxSchedulableResources.sortOrder})
I am using Crystal Reports 10.0 and PSSolutions (a operating room scheduling and documentation system).
Thanks in advance for your input.