Setting up commcareHQ reminders

Hi All,
I am trying to setup SMS reminders for my project by following the
instructions given here
https://wiki.commcarehq.org/display/commcarepublic/Set-up+Reminders, some
fields seem to be un-clear to me
Can someone help me understand the following fields? You can give an
example if possible.

  1. For cases of type (1)
  2. Start when case property (4)

Also, Patients are supposed to be visited after every 28 days, I want to
remind the user to visit the client 2 days before visit day, how do i go
about setting the schedule for this?

Any guidance will be appreciated.
Thanks

Hi Peter,

To add to what Clayton mentioned, here is one way to configure the
reminder rule and schedule you mentioned:

For cases of type | patient |, start the below | SMS | schedule,
sending to | the user whose case matches the rule |

Start when case property | first_appointment_date | | takes any
value |

Once this happens, start sending | on the date referenced by case
property | | first_appointment_date | plus | -2 | day(s).

Stop sending | after repeating the schedule the following number of
times | : | 10 |

The event day(s) and time(s) below | represent the exact day and time
in the schedule |

On day | 0 | , at | 09:00 | (hh:ss), send message | en | | You have an
appointment with {case.name} in two days. | with callback intervals
| |

A single schedule cycle lasts | 28 | day(s).

With this definition, for all cases whose type is "patient", as soon
as case property "first_appointment_date" takes the value of the first
appointment date, a reminder will be scheduled to be sent to the user
two days prior to that date, as well as every 28 days after. This will
happen for a total of 10 appointments (since the field "after
repeating the schedule the following number of times" is equal to 10
in this example).

Thanks,
Giovanni

··· On May 18, 8:22 am, Clayton Sims wrote: > Peter, > > The (1) case_type field describes the id assigned to the cases in a > specific module. This can be found in HQ under a module's settings as well > if you want a reference as to what case_type is being used in your app. > > The (4) case property is the name of a property you've defined in the > application builder to be updated to be the same as the value of a question > from a form after the form is filled out. > > To set up your use case I think you would create a new field in your case > that is the date of the next visit - 2, and trigger that with a field in > the form whose value depends on the next visit occurring (if your form > closes the case, you don't want it to trigger an SMS, for example). > > -Clayton > > On Fri, May 18, 2012 at 6:06 AM, Peter D Lubambi wrote: > > > Hi All, > > I am trying to setup SMS reminders for my project by following the > > instructions given here > >https://wiki.commcarehq.org/display/commcarepublic/Set-up+Reminders, some > > fields seem to be un-clear to me > > Can someone help me understand the following fields? You can give an > > example if possible. > > > 1. For cases of type (1) > > 2. Start when case property (4) > > > Also, Patients are supposed to be visited after every 28 days, I want to > > remind the user to visit the client 2 days before visit day, how do i go > > about setting the schedule for this? > > > Any guidance will be appreciated. > > Thanks > >

Peter,

The (1) case_type field describes the id assigned to the cases in a
specific module. This can be found in HQ under a module's settings as well
if you want a reference as to what case_type is being used in your app.

The (4) case property is the name of a property you've defined in the
application builder to be updated to be the same as the value of a question
from a form after the form is filled out.

To set up your use case I think you would create a new field in your case
that is the date of the next visit - 2, and trigger that with a field in
the form whose value depends on the next visit occurring (if your form
closes the case, you don't want it to trigger an SMS, for example).

-Clayton

··· On Fri, May 18, 2012 at 6:06 AM, Peter D Lubambi wrote:

Hi All,
I am trying to setup SMS reminders for my project by following the
instructions given here
https://wiki.commcarehq.org/display/commcarepublic/Set-up+Reminders, some
fields seem to be un-clear to me
Can someone help me understand the following fields? You can give an
example if possible.

  1. For cases of type (1)
  2. Start when case property (4)

Also, Patients are supposed to be visited after every 28 days, I want to
remind the user to visit the client 2 days before visit day, how do i go
about setting the schedule for this?

Any guidance will be appreciated.
Thanks