Automatically closing the case

Hi,

I would like to automatically close a case when certain criteria is
met. For example, I have a Eligible Couple module that comprises of
women of reproductive age (15 to 49 years of age). I want to
automatically close the cases in which woman’s age has reached 49
(calculation based on today’s date and the DOB of the woman). Is it
currently possible to do it in commcare?

Thanks,
Chandni

Hi Chandi,

I would like to automatically close a case when certain criteria is
met. For example, I have a Eligible Couple module that comprises of
women of reproductive age (15 to 49 years of age). I want to
automatically close the cases in which woman’s age has reached 49
(calculation based on today’s date and the DOB of the woman). Is it
currently possible to do it in commcare?

Currently there is no way to close (or update) a case without some kind of
user interaction. However, what you can do is have a form that, when filled
out, honors this logic. To do this you would want to load the DOB into a
data node in your form, add another data node that uses a calculate
expression to determine whether the woman is eligible by reading from that
data node, and then define the close logic based on the answer to the
second node. You can get more information on advanced use cases like this
on our wiki [1][2][3].

thanks,
Cory

[1] https://wiki.commcarehq.org/display/commcarepublic/Advanced
[2]
https://confluence.dimagi.com/display/commcarepublic/Common+Logic+and+Calculations
[3]
https://wiki.commcarehq.org/display/commcarepublic/Calculating+and+Displaying+a+Value+Inside+a+Form

··· On Mon, Apr 9, 2012 at 12:30 AM, Chandni wrote:

Thanks,
Chandni

Hi Cory

Is this supported yet? Or is there any plan to support this?

Thanks

William

··· From: Cory Zue Sent: Monday, April 09, 2012 9:00 AM To: commcare-users@googlegroups.com Cc: chandnidhanjal@gmail.com Subject: Re: Automatically closing the case

Hi Chandi,

On Mon, Apr 9, 2012 at 12:30 AM, Chandni chandnidhanjal@gmail.com wrote:

I would like to automatically close a case when certain criteria is
met. For example, I have a Eligible Couple module that comprises of
women of reproductive age (15 to 49 years of age). I want to
automatically close the cases in which woman’s age has reached 49
(calculation based on today’s date and the DOB of the woman). Is it
currently possible to do it in commcare?

Currently there is no way to close (or update) a case without some kind of user interaction. However, what you can do is have a form that, when filled out, honors this logic. To do this you would want to load the DOB into a data node in your form, add another data node that uses a calculate expression to determine whether the woman is eligible by reading from that data node, and then define the close logic based on the answer to the second node. You can get more information on advanced use cases like this on our wiki [1][2][3].

thanks,
Cory

[1] https://wiki.commcarehq.org/display/commcarepublic/Advanced
[2] https://confluence.dimagi.com/display/commcarepublic/Common+Logic+and+Calculations
[3] https://wiki.commcarehq.org/display/commcarepublic/Calculating+and+Displaying+a+Value+Inside+a+Form

Thanks,
Chandni

Hi William,

This is still not supported and not currently a high-priority workflow. If
you could tell us more about your use case, the community may be able to
come up with some clever workflows that could serve the same purpose for
your end users. If you required something automated you could also
implement a more heavyweight solution that leverages the APIs to have your
own external program close these cases for you, but this would require you
to write code and stand up a server or script somewhere.

Cory

··· On Tue, Mar 12, 2013 at 8:04 PM, William Aviles Monterrey <wravmon@gmail.com wrote:

**
Hi Cory

Is this supported yet? Or is there any plan to support this?

Thanks

William

From: Cory Zue czue@dimagi.com
Sent: Monday, April 09, 2012 9:00 AM
To: commcare-users@googlegroups.com
Cc: chandnidhanjal@gmail.com
Subject: Re: Automatically closing the case

Hi Chandi,

On Mon, Apr 9, 2012 at 12:30 AM, Chandni chandnidhanjal@gmail.comwrote:

I would like to automatically close a case when certain criteria is
met. For example, I have a Eligible Couple module that comprises of
women of reproductive age (15 to 49 years of age). I want to
automatically close the cases in which woman’s age has reached 49
(calculation based on today’s date and the DOB of the woman). Is it
currently possible to do it in commcare?

Currently there is no way to close (or update) a case without some kind of
user interaction. However, what you can do is have a form that, when filled
out, honors this logic. To do this you would want to load the DOB into a
data node in your form, add another data node that uses a calculate
expression to determine whether the woman is eligible by reading from that
data node, and then define the close logic based on the answer to the
second node. You can get more information on advanced use cases like this
on our wiki [1][2][3].

thanks,
Cory

[1] https://wiki.commcarehq.org/display/commcarepublic/Advanced
[2]
https://confluence.dimagi.com/display/commcarepublic/Common+Logic+and+Calculations
[3]
https://wiki.commcarehq.org/display/commcarepublic/Calculating+and+Displaying+a+Value+Inside+a+Form

Thanks,
Chandni


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey William -

One option would be making a screen for “Lost to follow-up cases” or
something that the users can easily close out. Curious if that detail is
requested by your partners. In HIV/AIDS work we’ve done, they needed to
explicitly declare the patient lost to follow-up (as opposed to the worker
not visitor them, for example) for M&E reasons.
-J

··· On Wed, Mar 13, 2013 at 6:28 AM, William Aviles Monterrey <wravmon@gmail.com wrote:

**
Hi Cory, thanks for your answer.

The use case it’s pretty simple, we have a list of cases that we could
have or not contact with them in the next 8 weeks, If we do contact them,
there’s no problem, but in the case we don’t, the users would prefer not to
have them in the list and close them automatically. For now, when we have
contact with the patient and the case met the criteria (>8 weeks and no
contact), the form closes the case, but if they don’t show up, they remain
in the list as active cases.

It’s not really a high priority, but if you can point me to the API
description, it’s something that probably will take a look in the future.

Thanks again

William

From: Cory Zue czue@dimagi.com
Sent: Wednesday, March 13, 2013 7:10 AM
To: commcare-users@googlegroups.com
Cc: Chandni Dhanjal chandnidhanjal@gmail.com
Subject: Re: Automatically closing the case

Hi William,

This is still not supported and not currently a high-priority workflow. If
you could tell us more about your use case, the community may be able to
come up with some clever workflows that could serve the same purpose for
your end users. If you required something automated you could also
implement a more heavyweight solution that leverages the APIs to have your
own external program close these cases for you, but this would require you
to write code and stand up a server or script somewhere.

Cory

On Tue, Mar 12, 2013 at 8:04 PM, William Aviles Monterrey < wravmon@gmail.com> wrote:

**
Hi Cory

Is this supported yet? Or is there any plan to support this?

Thanks

William

From: Cory Zue czue@dimagi.com
Sent: Monday, April 09, 2012 9:00 AM
To: commcare-users@googlegroups.com
Cc: chandnidhanjal@gmail.com
Subject: Re: Automatically closing the case

Hi Chandi,

On Mon, Apr 9, 2012 at 12:30 AM, Chandni chandnidhanjal@gmail.comwrote:

I would like to automatically close a case when certain criteria is
met. For example, I have a Eligible Couple module that comprises of
women of reproductive age (15 to 49 years of age). I want to
automatically close the cases in which woman’s age has reached 49
(calculation based on today’s date and the DOB of the woman). Is it
currently possible to do it in commcare?

Currently there is no way to close (or update) a case without some kind
of user interaction. However, what you can do is have a form that, when
filled out, honors this logic. To do this you would want to load the DOB
into a data node in your form, add another data node that uses a calculate
expression to determine whether the woman is eligible by reading from that
data node, and then define the close logic based on the answer to the
second node. You can get more information on advanced use cases like this
on our wiki [1][2][3].

thanks,
Cory

[1] https://wiki.commcarehq.org/display/commcarepublic/Advanced
[2]
https://confluence.dimagi.com/display/commcarepublic/Common+Logic+and+Calculations
[3]
https://wiki.commcarehq.org/display/commcarepublic/Calculating+and+Displaying+a+Value+Inside+a+Form

Thanks,
Chandni


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Cory, thanks for your answer.

The use case it’s pretty simple, we have a list of cases that we could have or not contact with them in the next 8 weeks, If we do contact them, there’s no problem, but in the case we don’t, the users would prefer not to have them in the list and close them automatically. For now, when we have contact with the patient and the case met the criteria (>8 weeks and no contact), the form closes the case, but if they don’t show up, they remain in the list as active cases.

It’s not really a high priority, but if you can point me to the API description, it’s something that probably will take a look in the future.

Thanks again

William

··· From: Cory Zue Sent: Wednesday, March 13, 2013 7:10 AM To: commcare-users@googlegroups.com Cc: Chandni Dhanjal Subject: Re: Automatically closing the case

Hi William,

This is still not supported and not currently a high-priority workflow. If you could tell us more about your use case, the community may be able to come up with some clever workflows that could serve the same purpose for your end users. If you required something automated you could also implement a more heavyweight solution that leverages the APIs to have your own external program close these cases for you, but this would require you to write code and stand up a server or script somewhere.

Cory

On Tue, Mar 12, 2013 at 8:04 PM, William Aviles Monterrey wravmon@gmail.com wrote:

Hi Cory

Is this supported yet? Or is there any plan to support this?

Thanks

William

From: Cory Zue
Sent: Monday, April 09, 2012 9:00 AM
To: commcare-users@googlegroups.com
Cc: chandnidhanjal@gmail.com
Subject: Re: Automatically closing the case

Hi Chandi,

On Mon, Apr 9, 2012 at 12:30 AM, Chandni chandnidhanjal@gmail.com wrote:

I would like to automatically close a case when certain criteria is
met. For example, I have a Eligible Couple module that comprises of
women of reproductive age (15 to 49 years of age). I want to
automatically close the cases in which woman's age has reached 49
(calculation based on today's date and the DOB of the woman). Is it
currently possible to do it in commcare?

Currently there is no way to close (or update) a case without some kind of user interaction. However, what you can do is have a form that, when filled out, honors this logic. To do this you would want to load the DOB into a data node in your form, add another data node that uses a calculate expression to determine whether the woman is eligible by reading from that data node, and then define the close logic based on the answer to the second node. You can get more information on advanced use cases like this on our wiki [1][2][3].

thanks,
Cory

[1] https://wiki.commcarehq.org/display/commcarepublic/Advanced
[2] https://confluence.dimagi.com/display/commcarepublic/Common+Logic+and+Calculations
[3] https://wiki.commcarehq.org/display/commcarepublic/Calculating+and+Displaying+a+Value+Inside+a+Form

Thanks,
Chandni


You received this message because you are subscribed to the Google Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

**
Hi Cory, thanks for your answer.

The use case it’s pretty simple, we have a list of cases that we could
have or not contact with them in the next 8 weeks, If we do contact them,
there’s no problem, but in the case we don’t, the users would prefer not to
have them in the list and close them automatically. For now, when we have
contact with the patient and the case met the criteria (>8 weeks and no
contact), the form closes the case, but if they don’t show up, they remain
in the list as active cases.

If they just want to not see them in the case list you can use a filter to
filter out anyone who hasn’t been seen in 8 weeks. See the bottom of this
page for more information:

https://wiki.commcarehq.org/display/commcarepublic/Case+List+and+Case+Detail+View+Configuration

It’s not really a high priority, but if you can point me to the API
description, it’s something that probably will take a look in the future.

API docs are here:
https://wiki.commcarehq.org/display/commcarepublic/CommCare+HQ+APIs

··· On Wed, Mar 13, 2013 at 9:28 AM, William Aviles Monterrey <wravmon@gmail.com wrote:

Thanks again

William

From: Cory Zue czue@dimagi.com
Sent: Wednesday, March 13, 2013 7:10 AM
To: commcare-users@googlegroups.com
Cc: Chandni Dhanjal chandnidhanjal@gmail.com
Subject: Re: Automatically closing the case

Hi William,

This is still not supported and not currently a high-priority workflow. If
you could tell us more about your use case, the community may be able to
come up with some clever workflows that could serve the same purpose for
your end users. If you required something automated you could also
implement a more heavyweight solution that leverages the APIs to have your
own external program close these cases for you, but this would require you
to write code and stand up a server or script somewhere.

Cory

On Tue, Mar 12, 2013 at 8:04 PM, William Aviles Monterrey < wravmon@gmail.com> wrote:

**
Hi Cory

Is this supported yet? Or is there any plan to support this?

Thanks

William

From: Cory Zue czue@dimagi.com
Sent: Monday, April 09, 2012 9:00 AM
To: commcare-users@googlegroups.com
Cc: chandnidhanjal@gmail.com
Subject: Re: Automatically closing the case

Hi Chandi,

On Mon, Apr 9, 2012 at 12:30 AM, Chandni chandnidhanjal@gmail.comwrote:

I would like to automatically close a case when certain criteria is
met. For example, I have a Eligible Couple module that comprises of
women of reproductive age (15 to 49 years of age). I want to
automatically close the cases in which woman’s age has reached 49
(calculation based on today’s date and the DOB of the woman). Is it
currently possible to do it in commcare?

Currently there is no way to close (or update) a case without some kind
of user interaction. However, what you can do is have a form that, when
filled out, honors this logic. To do this you would want to load the DOB
into a data node in your form, add another data node that uses a calculate
expression to determine whether the woman is eligible by reading from that
data node, and then define the close logic based on the answer to the
second node. You can get more information on advanced use cases like this
on our wiki [1][2][3].

thanks,
Cory

[1] https://wiki.commcarehq.org/display/commcarepublic/Advanced
[2]
https://confluence.dimagi.com/display/commcarepublic/Common+Logic+and+Calculations
[3]
https://wiki.commcarehq.org/display/commcarepublic/Calculating+and+Displaying+a+Value+Inside+a+Form

Thanks,
Chandni


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Jon and Cory,

Yes, it is something that they asked for. In this case, the application won’t work in the field but in the health post, and the cases go to the facility for their follow-up.

I think the best option is filters. Using filters allows me to fulfill with their requirements and also to document that the case was never closed (which means we never had follow-up contact with this patient).

Thanks

William

··· From: Jonathan Jackson Sent: Wednesday, March 13, 2013 7:31 AM To: commcare-users@googlegroups.com Subject: Re: Automatically closing the case

Hey William -

One option would be making a screen for “Lost to follow-up cases” or something that the users can easily close out. Curious if that detail is requested by your partners. In HIV/AIDS work we’ve done, they needed to explicitly declare the patient lost to follow-up (as opposed to the worker not visitor them, for example) for M&E reasons.
-J

On Wed, Mar 13, 2013 at 6:28 AM, William Aviles Monterrey wravmon@gmail.com wrote:

Hi Cory, thanks for your answer.

The use case it’s pretty simple, we have a list of cases that we could have or not contact with them in the next 8 weeks, If we do contact them, there’s no problem, but in the case we don’t, the users would prefer not to have them in the list and close them automatically. For now, when we have contact with the patient and the case met the criteria (>8 weeks and no contact), the form closes the case, but if they don’t show up, they remain in the list as active cases.

It’s not really a high priority, but if you can point me to the API description, it’s something that probably will take a look in the future.

Thanks again

William

From: Cory Zue
Sent: Wednesday, March 13, 2013 7:10 AM
To: commcare-users@googlegroups.com
Cc: Chandni Dhanjal
Subject: Re: Automatically closing the case

Hi William,

This is still not supported and not currently a high-priority workflow. If you could tell us more about your use case, the community may be able to come up with some clever workflows that could serve the same purpose for your end users. If you required something automated you could also implement a more heavyweight solution that leverages the APIs to have your own external program close these cases for you, but this would require you to write code and stand up a server or script somewhere.

Cory

On Tue, Mar 12, 2013 at 8:04 PM, William Aviles Monterrey wravmon@gmail.com wrote:

Hi Cory

Is this supported yet? Or is there any plan to support this?

Thanks

William



From: Cory Zue 
Sent: Monday, April 09, 2012 9:00 AM
To: commcare-users@googlegroups.com 
Cc: chandnidhanjal@gmail.com 
Subject: Re: Automatically closing the case


Hi Chandi, 


On Mon, Apr 9, 2012 at 12:30 AM, Chandni <chandnidhanjal@gmail.com> wrote:

  I would like to automatically close a case when certain criteria is
  met. For example, I have a Eligible Couple module that comprises of
  women of reproductive age (15 to 49 years of age). I want to
  automatically close the cases in which woman's age has reached 49
  (calculation based on today's date and the DOB of the woman). Is it
  currently possible to do it in commcare?



Currently there is no way to close (or update) a case without some kind of user interaction. However, what you can do is have a form that, when filled out, honors this logic. To do this you would want to load the DOB into a data node in your form, add another data node that uses a calculate expression to determine whether the woman is eligible by reading from that data node, and then define the close logic based on the answer to the second node. You can get more information on advanced use cases like this on our wiki [1][2][3].


thanks,
Cory


[1] https://wiki.commcarehq.org/display/commcarepublic/Advanced
[2] https://confluence.dimagi.com/display/commcarepublic/Common+Logic+and+Calculations
[3] https://wiki.commcarehq.org/display/commcarepublic/Calculating+and+Displaying+a+Value+Inside+a+Form



  Thanks,
  Chandni




-- 
You received this message because you are subscribed to the Google Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi William,

One small warning about using the filter in this way: the filter controls
what cases show up in the case list, but all cases remain on the phone.
Unless you expos a way to close the old cases, they will remain on the
phone forever - if there are too many this could potentially cause problems
loading the case list over time.

We have projects that have a module filtered to show only old cases, and
the CHWs are trained to go here and manually close out the cases every
week. A supervisor could also do this using CloudCare.

Thanks,
Amelia

··· On Thu, Mar 14, 2013 at 9:27 AM, William Aviles Monterrey <wravmon@gmail.com wrote:

**
Hi Jon and Cory,

Yes, it is something that they asked for. In this case, the application
won’t work in the field but in the health post, and the cases go to the
facility for their follow-up.

I think the best option is filters. Using filters allows me to fulfill
with their requirements and also to document that the case was never closed
(which means we never had follow-up contact with this patient).

Thanks

William

From: Jonathan Jackson jjackson@dimagi.com
Sent: Wednesday, March 13, 2013 7:31 AM
To: commcare-users@googlegroups.com
Subject: Re: Automatically closing the case

Hey William -

One option would be making a screen for “Lost to follow-up cases” or
something that the users can easily close out. Curious if that detail is
requested by your partners. In HIV/AIDS work we’ve done, they needed to
explicitly declare the patient lost to follow-up (as opposed to the worker
not visitor them, for example) for M&E reasons.
-J

On Wed, Mar 13, 2013 at 6:28 AM, William Aviles Monterrey < wravmon@gmail.com> wrote:

**
Hi Cory, thanks for your answer.

The use case it’s pretty simple, we have a list of cases that we could
have or not contact with them in the next 8 weeks, If we do contact them,
there’s no problem, but in the case we don’t, the users would prefer not to
have them in the list and close them automatically. For now, when we have
contact with the patient and the case met the criteria (>8 weeks and no
contact), the form closes the case, but if they don’t show up, they remain
in the list as active cases.

It’s not really a high priority, but if you can point me to the API
description, it’s something that probably will take a look in the future.

Thanks again

William

From: Cory Zue czue@dimagi.com
Sent: Wednesday, March 13, 2013 7:10 AM
To: commcare-users@googlegroups.com
Cc: Chandni Dhanjal chandnidhanjal@gmail.com
Subject: Re: Automatically closing the case

Hi William,

This is still not supported and not currently a high-priority workflow.
If you could tell us more about your use case, the community may be able to
come up with some clever workflows that could serve the same purpose for
your end users. If you required something automated you could also
implement a more heavyweight solution that leverages the APIs to have your
own external program close these cases for you, but this would require you
to write code and stand up a server or script somewhere.

Cory

On Tue, Mar 12, 2013 at 8:04 PM, William Aviles Monterrey < wravmon@gmail.com> wrote:

**
Hi Cory

Is this supported yet? Or is there any plan to support this?

Thanks

William

From: Cory Zue czue@dimagi.com
Sent: Monday, April 09, 2012 9:00 AM
To: commcare-users@googlegroups.com
Cc: chandnidhanjal@gmail.com
Subject: Re: Automatically closing the case

Hi Chandi,

On Mon, Apr 9, 2012 at 12:30 AM, Chandni chandnidhanjal@gmail.comwrote:

I would like to automatically close a case when certain criteria is
met. For example, I have a Eligible Couple module that comprises of
women of reproductive age (15 to 49 years of age). I want to
automatically close the cases in which woman’s age has reached 49
(calculation based on today’s date and the DOB of the woman). Is it
currently possible to do it in commcare?

Currently there is no way to close (or update) a case without some kind
of user interaction. However, what you can do is have a form that, when
filled out, honors this logic. To do this you would want to load the DOB
into a data node in your form, add another data node that uses a calculate
expression to determine whether the woman is eligible by reading from that
data node, and then define the close logic based on the answer to the
second node. You can get more information on advanced use cases like this
on our wiki [1][2][3].

thanks,
Cory

[1] https://wiki.commcarehq.org/display/commcarepublic/Advanced
[2]
https://confluence.dimagi.com/display/commcarepublic/Common+Logic+and+Calculations
[3]
https://wiki.commcarehq.org/display/commcarepublic/Calculating+and+Displaying+a+Value+Inside+a+Form

Thanks,
Chandni


You received this message because you are subscribed to the Google
Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Amelia

Thanks.

I like the idea of using cloud care for this. The supervisors could be trained to do so.

Best,

William

··· From: Amelia Sagoff Sent: Thursday, March 14, 2013 8:47 AM To: commcare-users@googlegroups.com Subject: Re: Automatically closing the case

Hi William,

One small warning about using the filter in this way: the filter controls what cases show up in the case list, but all cases remain on the phone. Unless you expos a way to close the old cases, they will remain on the phone forever - if there are too many this could potentially cause problems loading the case list over time.

We have projects that have a module filtered to show only old cases, and the CHWs are trained to go here and manually close out the cases every week. A supervisor could also do this using CloudCare.

Thanks,
Amelia

On Thu, Mar 14, 2013 at 9:27 AM, William Aviles Monterrey wravmon@gmail.com wrote:

Hi Jon and Cory,

Yes, it is something that they asked for. In this case, the application won’t work in the field but in the health post, and the cases go to the facility for their follow-up.

I think the best option is filters. Using filters allows me to fulfill with their requirements and also to document that the case was never closed (which means we never had follow-up contact with this patient).

Thanks

William

From: Jonathan Jackson
Sent: Wednesday, March 13, 2013 7:31 AM
To: commcare-users@googlegroups.com
Subject: Re: Automatically closing the case

Hey William -

One option would be making a screen for “Lost to follow-up cases” or something that the users can easily close out. Curious if that detail is requested by your partners. In HIV/AIDS work we’ve done, they needed to explicitly declare the patient lost to follow-up (as opposed to the worker not visitor them, for example) for M&E reasons.
-J

On Wed, Mar 13, 2013 at 6:28 AM, William Aviles Monterrey wravmon@gmail.com wrote:

Hi Cory, thanks for your answer.

The use case it's pretty simple, we have a list of cases that we could have or not contact with them in the next 8 weeks, If we do contact them, there's no problem, but in the case we don't, the users would prefer not to have them in the list and close them automatically. For now, when we have contact with the patient and the case met the criteria (>8 weeks and no contact), the form closes the case, but if they don't show up, they remain in the list as active cases.

It's not really a high priority, but if you can point me to the API description, it's something that probably will take a look in the future.

Thanks again

William



From: Cory Zue 
Sent: Wednesday, March 13, 2013 7:10 AM
To: commcare-users@googlegroups.com 
Cc: Chandni Dhanjal 
Subject: Re: Automatically closing the case


Hi William, 


This is still not supported and not currently a high-priority workflow. If you could tell us more about your use case, the community may be able to come up with some clever workflows that could serve the same purpose for your end users. If you required something automated you could also implement a more heavyweight solution that leverages the APIs to have your own external program close these cases for you, but this would require you to write code and stand up a server or script somewhere.


Cory



On Tue, Mar 12, 2013 at 8:04 PM, William Aviles Monterrey <wravmon@gmail.com> wrote:

  Hi Cory

  Is this supported yet? Or is there any plan to support this?

  Thanks

  William



  From: Cory Zue 
  Sent: Monday, April 09, 2012 9:00 AM
  To: commcare-users@googlegroups.com 
  Cc: chandnidhanjal@gmail.com 
  Subject: Re: Automatically closing the case


  Hi Chandi, 


  On Mon, Apr 9, 2012 at 12:30 AM, Chandni <chandnidhanjal@gmail.com> wrote:

    I would like to automatically close a case when certain criteria is
    met. For example, I have a Eligible Couple module that comprises of
    women of reproductive age (15 to 49 years of age). I want to
    automatically close the cases in which woman's age has reached 49
    (calculation based on today's date and the DOB of the woman). Is it
    currently possible to do it in commcare?



  Currently there is no way to close (or update) a case without some kind of user interaction. However, what you can do is have a form that, when filled out, honors this logic. To do this you would want to load the DOB into a data node in your form, add another data node that uses a calculate expression to determine whether the woman is eligible by reading from that data node, and then define the close logic based on the answer to the second node. You can get more information on advanced use cases like this on our wiki [1][2][3].


  thanks,
  Cory


  [1] https://wiki.commcarehq.org/display/commcarepublic/Advanced
  [2] https://confluence.dimagi.com/display/commcarepublic/Common+Logic+and+Calculations
  [3] https://wiki.commcarehq.org/display/commcarepublic/Calculating+and+Displaying+a+Value+Inside+a+Form



    Thanks,
    Chandni




  -- 
  You received this message because you are subscribed to the Google Groups "commcare-users" group.
  To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.
   
   




-- 
You received this message because you are subscribed to the Google Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


-- 
You received this message because you are subscribed to the Google Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.