I am modeling one clinic where I have following requirements:
1. Multiple MD available based on schedule divided in 20 mins slot each. But only 60% slots are patient bookable and booking is completely random.
2. While booking appointment patient may book 1 slot (20 min) or 2 slot (40 min) with 1:1.
3. While off-shift MD has to be seen in base location (home) and while working they have to present on desk.
I am able to model it but I think that is not the best way to model it. I am not able to upload model due to some technical issues but let me explain you my approach:
1. Generating schedule for each MD using Data Time Source activity (separate activity for each MD schedule) with MD Name and slot availability for patient. I feel in this way model will not be having good scalability because each time, new activity has to be created for addition MD schedule if required.
2. Then I am separation slots based on bookable and non bookable
3. After this, I am splitting this flow in 2 branches -
a. one branch is pushing tokens to list to keep record of MD slots
b. 2nd branch is creating patient slots generation tokens and again splitting into 2 branches to separate 60% slots which are booked by patient
4. Now we have 60% random slots booked by patient
5. Now again patient has to book 20 min and 40 mins slots in 1:1 ratio. I am separating based on % here. But I feel that is not right way to do it. Reason is available slots are not continuous. So there may be situation that slot are not continuous so patient has to wait long hours to complete examination. How to model it in effective way.
6. Also, Need help to show MDs presence at home and on desk based on schedule in sitting position.
Please let me know if need further clarity on any point.
Any help will be appreciated.