I run a Companion service and will be using CommCare to track clients' health every week, I would like to include a calendar or visit scheduled for our mobile workers in the app.
Has anyone any idea how to do this
I run a Companion service and will be using CommCare to track clients' health every week, I would like to include a calendar or visit scheduled for our mobile workers in the app.
Has anyone any idea how to do this
it depends on how good you need your scheduling functionality to be.
Remember, this is a platform intended for use in both connected and disconnected environments. which means that "bookings" will be double booked if there's no connectivity. making your purpose impossible to achieve or guaranteed.
that being said, there are a few ways you can do this. but nothing that will show you a clickable calendar that will only show you available slots.
you could probably design something with a case type for "booking slots" that you can have your users select from. that way, you can update those cases to indicate that they are no longer available - and therefor making them unavailable for selection
but then, you start looking at things like, updating bookings, changing time from a standard 12:00-12:30 to 12:15 - 12:45. it gets so nuanced and complicated that I am scared of even analyzing it.
So it is more of a calendar or list showing their scheduled visits than allowing them to book slots that I am looking for. our visits are very routine for example it Mary is always visited at 12:15pm on a Tuesday.
Yeah that's not going to be easy to do without being a bit proficient in CommCare. you can create "booking" cases and do some casedb queries that check for time slots that are available. but really, it's not easy to explain in a quick comment.
is there then a less complicated way of seeing what visits/forms are due to be submitted by the mobile workers