anthony.selby
Well-known member
- Joined
- Sep 3, 2009
- Messages
- 65
- Programming Experience
- 5-10
Hey everyone,
I'm been working on a EMR program for a chiropractor friend of mine. I have got most of it working, there are ten touch screen (stations) with dual monitors that display x-rays and allow the doctor to make up his reports and billing information. Everything works over the network I stream everything its multi-threaded and has been working alright. Now I'm trying to integrate there appointments (there using paper now) and its just driving me crazy. I will say that the way he does his appointments is one of the most complex I've heard but he tells me its a standard practice in there kind of office.
I will try and explain it the best I can, for the sake of this example there are 4 different types of appointments, we will call them Standard, Console, Console & Xray, Extendend.
He books appointments every 20 mins, and has 2 of them at a time.
Standard appointments last 20 mins long
Console appointments last 30 mins
Console & X-Ray last 40 mins
extendend last 60 mins
He can do 2 Standard appointments at once (they take 1 available slot for that time slot)
Console appointments take 3 slots (2 in one time period and 1 in the next time period)
console & x-ray take 4 slots (2 in both time periods)
extended take 8 (2 in the first time slot and 1 in every other time slot)
if you think about it like this is helps
Time | Slot 1
8:00 AM | Standard (Patient 1)
8:10 AM | Finish Standard (Patient 1) | Finish Standard (Patient 2)
8:20 AM | Console (Patient 3) | Console (Patient 3)
8:30 AM | Console (Patient 3) | Standard (Patient 4)
8:40 AM | Finish console (Patient 3) | Finish Standard (Patient 4)
8:50 AM | Extended (Patient 4) | Extended (Patient 4)
9:00 AM | "" | Standard (Patient 5)
9:10 AM | "" | Finish Standard (Patient 5)
....
I want to give them a box where they enter the date and the type of appointment and it displays the available times, I just can't figure out how I would do that. I tried a couple of things and none of them work out ... I would love any ideas, right now I store the all kinds of information and I would like to make in a way that they can change the appointment lengths or amount of time slots required with out me having to do anything (a user settings section) If anyone wants to give me there ideas I can explain exact what structures and information I'm storing but it doesn't matter whatever it takes that what I can change it to ...
Thanks
I'm been working on a EMR program for a chiropractor friend of mine. I have got most of it working, there are ten touch screen (stations) with dual monitors that display x-rays and allow the doctor to make up his reports and billing information. Everything works over the network I stream everything its multi-threaded and has been working alright. Now I'm trying to integrate there appointments (there using paper now) and its just driving me crazy. I will say that the way he does his appointments is one of the most complex I've heard but he tells me its a standard practice in there kind of office.
I will try and explain it the best I can, for the sake of this example there are 4 different types of appointments, we will call them Standard, Console, Console & Xray, Extendend.
He books appointments every 20 mins, and has 2 of them at a time.
Standard appointments last 20 mins long
Console appointments last 30 mins
Console & X-Ray last 40 mins
extendend last 60 mins
He can do 2 Standard appointments at once (they take 1 available slot for that time slot)
Console appointments take 3 slots (2 in one time period and 1 in the next time period)
console & x-ray take 4 slots (2 in both time periods)
extended take 8 (2 in the first time slot and 1 in every other time slot)
if you think about it like this is helps
Time | Slot 1
| Slot 28:00 AM | Standard (Patient 1)
| Standard (Patient 2)8:10 AM | Finish Standard (Patient 1) | Finish Standard (Patient 2)
8:20 AM | Console (Patient 3) | Console (Patient 3)
8:30 AM | Console (Patient 3) | Standard (Patient 4)
8:40 AM | Finish console (Patient 3) | Finish Standard (Patient 4)
8:50 AM | Extended (Patient 4) | Extended (Patient 4)
9:00 AM | "" | Standard (Patient 5)
9:10 AM | "" | Finish Standard (Patient 5)
....
I want to give them a box where they enter the date and the type of appointment and it displays the available times, I just can't figure out how I would do that. I tried a couple of things and none of them work out ... I would love any ideas, right now I store the all kinds of information and I would like to make in a way that they can change the appointment lengths or amount of time slots required with out me having to do anything (a user settings section) If anyone wants to give me there ideas I can explain exact what structures and information I'm storing but it doesn't matter whatever it takes that what I can change it to ...
Thanks