jenschmidt
Programmer
I've wracked my brain and can't figure out how to solve this - I'm sure you guys will know right off the top of your heads!
Using v9.
Report set up:
GH1 Department
GH2 Doctor
GH3 Date of Appt (daily)
Details {Appt Time} {Appt Length}
For an easy example:
Sun Prairie
Dr. Schmidt
6/7/04
9am 10min
10am 10min
11am 10min
6/8/04
1pm 10min
2pm 10min
3pm 10min
6/9/04
9am 10min
10am 10min
1pm 10min
2pm 10min
The report needs to be broken down by AM and PM sessions. An AM session is 300 minutes from 7am to 11:59am, PM session is 300 minutes from 12pm to 5pm. If a doctor has even just one appointment between the hours of 7 to 12, they are considered to have worked an AM session of 300 minutes. Same applies for PM sessions.
So this is what I need the output to look like:
AM Ct AM Min PM Ct PM Min
Sun Prairie 2 300 2 300
Dr Schmidt 2 300 2 300
6/7/04 1 300 0 0
6/8/04 0 0 1 300
6/9/04 1 300 1 300
For the sessions, I want it to find the first qualifying appt, return a result of 300 minutes and then stop counting, even though there are other appts that would qualify.
I'm somewhat blinded by the details at this point so please let me know if I haven't explained accurately enough and I'll try it again. Otherwise, any thoughts or ideas would be greatly appreciated!
Thank you!
jennifer.giemza@uwmf.wisc.edu
Using v9.
Report set up:
GH1 Department
GH2 Doctor
GH3 Date of Appt (daily)
Details {Appt Time} {Appt Length}
For an easy example:
Sun Prairie
Dr. Schmidt
6/7/04
9am 10min
10am 10min
11am 10min
6/8/04
1pm 10min
2pm 10min
3pm 10min
6/9/04
9am 10min
10am 10min
1pm 10min
2pm 10min
The report needs to be broken down by AM and PM sessions. An AM session is 300 minutes from 7am to 11:59am, PM session is 300 minutes from 12pm to 5pm. If a doctor has even just one appointment between the hours of 7 to 12, they are considered to have worked an AM session of 300 minutes. Same applies for PM sessions.
So this is what I need the output to look like:
AM Ct AM Min PM Ct PM Min
Sun Prairie 2 300 2 300
Dr Schmidt 2 300 2 300
6/7/04 1 300 0 0
6/8/04 0 0 1 300
6/9/04 1 300 1 300
For the sessions, I want it to find the first qualifying appt, return a result of 300 minutes and then stop counting, even though there are other appts that would qualify.
I'm somewhat blinded by the details at this point so please let me know if I haven't explained accurately enough and I'll try it again. Otherwise, any thoughts or ideas would be greatly appreciated!
Thank you!
jennifer.giemza@uwmf.wisc.edu