Single case per module

Hi Everyone,

I would like to discuss a use case for suggestions on implementation in
Commcare. We are building a mHealth solution for the mother and newborn
program in pakistan. The CMWs use mobile application to register and update
cases for all the clients in their jurisdiction. ‘pregnancy’ is the core
module in the application which has a register form and follow up forms.
Now we want the CMWs to give additional information about the population in
their catchment area to find the expected pregnancies and expected births
as per the statics from that area. We have created another module called
’catchment population’ with just two forms; one to open a case and other to
edit the details (for example a change in the population of the catchment
area). Ideally speaking this should mean that each CMW will use the form to
open a new case and give information on the population. The edit form can
be used at any later time to update that information. How can i make sure
the CMW will use the first form only once and then use the edit form for
any update. Is there any way via which we can say something like … only
open a new case if there is no open case so far…otherwise only give
option for editing.

Any suggestions to achieve this or any other way to do this would be
greatly appreciated.

Thanks and Regards
Zaineb

Hi Zaineb,

Unfortunately that isn’t directly possible. Here are a couple of options:

  1. Create a second application within the same project that has the same
    case type in one of its modules. Use this application to register
    "catchment_population" and do not have a "catchment_population"
    registration form within your main application.
  2. Upload a single “catchment_population” case per user using our Excel
    Upload functionality (
    https://confluence.dimagi.com/display/commcarepublic/Excel+Importer+Instructions).
    Then do not provide a “catchment_population” registration form within your
    main application.

Thanks,
Sheel

··· On Mon, Feb 17, 2014 at 5:45 AM, wrote:

Hi Everyone,

I would like to discuss a use case for suggestions on implementation in
Commcare. We are building a mHealth solution for the mother and newborn
program in pakistan. The CMWs use mobile application to register and update
cases for all the clients in their jurisdiction. ‘pregnancy’ is the core
module in the application which has a register form and follow up forms.
Now we want the CMWs to give additional information about the population in
their catchment area to find the expected pregnancies and expected births
as per the statics from that area. We have created another module called
’catchment population’ with just two forms; one to open a case and other to
edit the details (for example a change in the population of the catchment
area). Ideally speaking this should mean that each CMW will use the form to
open a new case and give information on the population. The edit form can
be used at any later time to update that information. How can i make sure
the CMW will use the first form only once and then use the edit form for
any update. Is there any way via which we can say something like … only
open a new case if there is no open case so far…otherwise only give
option for editing.

Any suggestions to achieve this or any other way to do this would be
greatly appreciated.

Thanks and Regards
Zaineb


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.


Sheel Shah
Project Manager | Dimagi
m: +1.781.428.5419 | skype: sheel_shah

Hi Sheel,

Thanks for your reply. Will it help if i just remove the edit feature for
now. So all i want to be able to do then is for the CMWs to be able to view
the

1)estimated pregancies in their catchment area 2)estimated births in
their catchment area

based on the total population of the catchment area. One possible way i was
reading up to do this could be to use custom data at the time of
registration for the CMWs where we enter this fixed information on
catchment population. Then have a form in the application with two hidden
values calculating the estimates and two labels displaying that info. The
only thing i am not sure about is that will the following work in this
scenario:

instance(‘commcaresession’)/session/user/data/user_data_name

even if this display form is not using cases at all?

··· On Monday, February 17, 2014 9:20:32 PM UTC+5, Sheel Shah wrote: > > Hi Zaineb, > > Unfortunately that isn't directly possible. Here are a couple of options: > > 1. Create a second application within the same project that has the > same case type in one of its modules. Use this application to register > "catchment_population" and do not have a "catchment_population" > registration form within your main application. > 2. Upload a single "catchment_population" case per user using our > Excel Upload functionality ( > https://confluence.dimagi.com/display/commcarepublic/Excel+Importer+Instructions). > Then do not provide a "catchment_population" registration form within your > main application. > > Thanks, > Sheel > > > On Mon, Feb 17, 2014 at 5:45 AM, <zaineb....@gmail.com >wrote: > >> Hi Everyone, >> >> I would like to discuss a use case for suggestions on implementation in >> Commcare. We are building a mHealth solution for the mother and newborn >> program in pakistan. The CMWs use mobile application to register and update >> cases for all the clients in their jurisdiction. 'pregnancy' is the core >> module in the application which has a register form and follow up forms. >> Now we want the CMWs to give additional information about the population in >> their catchment area to find the expected pregnancies and expected births >> as per the statics from that area. We have created another module called >> 'catchment population' with just two forms; one to open a case and other to >> edit the details (for example a change in the population of the catchment >> area). Ideally speaking this should mean that each CMW will use the form to >> open a new case and give information on the population. The edit form can >> be used at any later time to update that information. How can i make sure >> the CMW will use the first form only once and then use the edit form for >> any update. Is there any way via which we can say something like ... only >> open a new case if there is no open case so far...otherwise only give >> option for editing. >> >> Any suggestions to achieve this or any other way to do this would be >> greatly appreciated. >> >> Thanks and Regards >> Zaineb >> >> -- >> 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-user...@googlegroups.com . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Sheel Shah > Project Manager | Dimagi > m: +1.781.428.5419 | skype: sheel_shah > > >

Hi Zaineb,

Sounds like that’s a good solution! You can update the custom user
registration data over time if the catchment population or pregnancies
change.

Thanks,
Sheel

··· On Wed, Feb 19, 2014 at 4:01 AM, wrote:

Hi Sheel,

Thanks for your reply. Will it help if i just remove the edit feature for
now. So all i want to be able to do then is for the CMWs to be able to view
the

1)estimated pregancies in their catchment area 2)estimated births in
their catchment area

based on the total population of the catchment area. One possible way i
was reading up to do this could be to use custom data at the time of
registration for the CMWs where we enter this fixed information on
catchment population. Then have a form in the application with two hidden
values calculating the estimates and two labels displaying that info. The
only thing i am not sure about is that will the following work in this
scenario:

instance(‘commcaresession’)/session/user/data/user_data_name

even if this display form is not using cases at all?

On Monday, February 17, 2014 9:20:32 PM UTC+5, Sheel Shah wrote:

Hi Zaineb,

Unfortunately that isn’t directly possible. Here are a couple of options:

  1. Create a second application within the same project that has the
    same case type in one of its modules. Use this application to register
    "catchment_population" and do not have a "catchment_population"
    registration form within your main application.
  2. Upload a single “catchment_population” case per user using our
    Excel Upload functionality (https://confluence.dimagi.
    com/display/commcarepublic/Excel+Importer+Instructionshttps://confluence.dimagi.com/display/commcarepublic/Excel+Importer+Instructions).
    Then do not provide a “catchment_population” registration form within your
    main application.

Thanks,
Sheel

On Mon, Feb 17, 2014 at 5:45 AM, zaineb....@gmail.com wrote:

Hi Everyone,

I would like to discuss a use case for suggestions on implementation in
Commcare. We are building a mHealth solution for the mother and newborn
program in pakistan. The CMWs use mobile application to register and update
cases for all the clients in their jurisdiction. ‘pregnancy’ is the core
module in the application which has a register form and follow up forms.
Now we want the CMWs to give additional information about the population in
their catchment area to find the expected pregnancies and expected births
as per the statics from that area. We have created another module called
’catchment population’ with just two forms; one to open a case and other to
edit the details (for example a change in the population of the catchment
area). Ideally speaking this should mean that each CMW will use the form to
open a new case and give information on the population. The edit form can
be used at any later time to update that information. How can i make sure
the CMW will use the first form only once and then use the edit form for
any update. Is there any way via which we can say something like … only
open a new case if there is no open case so far…otherwise only give
option for editing.

Any suggestions to achieve this or any other way to do this would be
greatly appreciated.

Thanks and Regards
Zaineb


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-user...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.


Sheel Shah
Project Manager | Dimagi
m: +1.781.428.5419 | skype: sheel_shah


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.


Sheel Shah
Project Manager | Dimagi
m: +1.781.428.5419 | skype: sheel_shah

Sheel,

I just implemented and tried to work it out the way i mentioned. The issue
i am facing is that this feature works only when the form has “updates or
closes a case” as the selected option in the case management. Therefore
even to look at this information which is obviously not specific to any one
case the CMW is handling, the user will have to select a client and then
get to this form and also at the end it says “Save the form and Exit” where
as all i want is the CMW to have this information.

Also on a side note i noticed that although the information i am displaying
is passive(labels) there is a checkbox under all the label with OK as an
option. why is that and how can i get rid of it?

··· On Wednesday, February 19, 2014 9:50:46 PM UTC+5, Sheel Shah wrote: > > Hi Zaineb, > > Sounds like that's a good solution! You can update the custom user > registration data over time if the catchment population or pregnancies > change. > > Thanks, > Sheel > > > On Wed, Feb 19, 2014 at 4:01 AM, <zaineb....@gmail.com >wrote: > >> Hi Sheel, >> >> Thanks for your reply. Will it help if i just remove the edit feature for >> now. So all i want to be able to do then is for the CMWs to be able to view >> the >> >> 1)estimated pregancies in their catchment area 2)estimated births in >> their catchment area >> >> based on the total population of the catchment area. One possible way i >> was reading up to do this could be to use custom data at the time of >> registration for the CMWs where we enter this fixed information on >> catchment population. Then have a form in the application with two hidden >> values calculating the estimates and two labels displaying that info. The >> only thing i am not sure about is that will the following work in this >> scenario: >> >> instance('commcaresession')/session/user/data/user_data_name >> >> even if this display form is not using cases at all? >> >> >> On Monday, February 17, 2014 9:20:32 PM UTC+5, Sheel Shah wrote: >> >>> Hi Zaineb, >>> >>> Unfortunately that isn't directly possible. Here are a couple of >>> options: >>> >>> 1. Create a second application within the same project that has the >>> same case type in one of its modules. Use this application to register >>> "catchment_population" and do not have a "catchment_population" >>> registration form within your main application. >>> 2. Upload a single "catchment_population" case per user using our >>> Excel Upload functionality (https://confluence.dimagi. >>> com/display/commcarepublic/Excel+Importer+Instructions). >>> Then do not provide a "catchment_population" registration form within your >>> main application. >>> >>> Thanks, >>> Sheel >>> >>> >>> On Mon, Feb 17, 2014 at 5:45 AM, wrote: >>> >>>> Hi Everyone, >>>> >>>> I would like to discuss a use case for suggestions on implementation in >>>> Commcare. We are building a mHealth solution for the mother and newborn >>>> program in pakistan. The CMWs use mobile application to register and update >>>> cases for all the clients in their jurisdiction. 'pregnancy' is the core >>>> module in the application which has a register form and follow up forms. >>>> Now we want the CMWs to give additional information about the population in >>>> their catchment area to find the expected pregnancies and expected births >>>> as per the statics from that area. We have created another module called >>>> 'catchment population' with just two forms; one to open a case and other to >>>> edit the details (for example a change in the population of the catchment >>>> area). Ideally speaking this should mean that each CMW will use the form to >>>> open a new case and give information on the population. The edit form can >>>> be used at any later time to update that information. How can i make sure >>>> the CMW will use the first form only once and then use the edit form for >>>> any update. Is there any way via which we can say something like ... only >>>> open a new case if there is no open case so far...otherwise only give >>>> option for editing. >>>> >>>> Any suggestions to achieve this or any other way to do this would be >>>> greatly appreciated. >>>> >>>> Thanks and Regards >>>> Zaineb >>>> >>>> -- >>>> 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-user...@googlegroups.com. >>>> >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >>> >>> -- >>> Sheel Shah >>> Project Manager | Dimagi >>> m: +1.781.428.5419 | skype: sheel_shah >>> >>> >>> -- >> 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-user...@googlegroups.com . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Sheel Shah > Project Manager | Dimagi > m: +1.781.428.5419 | skype: sheel_shah > > >

Hi Zaineb,

Thanks for the info - this will work even if the form is setup for “Does
Not Use Cases”. Unfortunately, they will still need to go through the form
to view the information - you can train users to not submit the form (but
it doesn’t hurt to submit it). Can you please “Report an Issue” from your
project if it still does not work?

We currently do not support removing the checkbox under the label -
however, you can vote for the idea on our UserVoice site:

Thanks,
Sheel

··· On Wed, Feb 19, 2014 at 2:12 PM, wrote:

Sheel,

I just implemented and tried to work it out the way i mentioned. The issue
i am facing is that this feature works only when the form has “updates or
closes a case” as the selected option in the case management. Therefore
even to look at this information which is obviously not specific to any one
case the CMW is handling, the user will have to select a client and then
get to this form and also at the end it says “Save the form and Exit” where
as all i want is the CMW to have this information.

Also on a side note i noticed that although the information i am
displaying is passive(labels) there is a checkbox under all the label with
OK as an option. why is that and how can i get rid of it?

On Wednesday, February 19, 2014 9:50:46 PM UTC+5, Sheel Shah wrote:

Hi Zaineb,

Sounds like that’s a good solution! You can update the custom user
registration data over time if the catchment population or pregnancies
change.

Thanks,
Sheel

On Wed, Feb 19, 2014 at 4:01 AM, zaineb....@gmail.com wrote:

Hi Sheel,

Thanks for your reply. Will it help if i just remove the edit feature
for now. So all i want to be able to do then is for the CMWs to be able to
view the

1)estimated pregancies in their catchment area 2)estimated births
in their catchment area

based on the total population of the catchment area. One possible way i
was reading up to do this could be to use custom data at the time of
registration for the CMWs where we enter this fixed information on
catchment population. Then have a form in the application with two hidden
values calculating the estimates and two labels displaying that info. The
only thing i am not sure about is that will the following work in this
scenario:

instance(‘commcaresession’)/session/user/data/user_data_name

even if this display form is not using cases at all?

On Monday, February 17, 2014 9:20:32 PM UTC+5, Sheel Shah wrote:

Hi Zaineb,

Unfortunately that isn’t directly possible. Here are a couple of
options:

  1. Create a second application within the same project that has the
    same case type in one of its modules. Use this application to register
    "catchment_population" and do not have a "catchment_population"
    registration form within your main application.
  2. Upload a single “catchment_population” case per user using our
    Excel Upload functionality (https://confluence.dimagi.com
    /display/commcarepublic/Excel+Importer+Instructionshttps://confluence.dimagi.com/display/commcarepublic/Excel+Importer+Instructions).
    Then do not provide a “catchment_population” registration form within your
    main application.

Thanks,
Sheel

On Mon, Feb 17, 2014 at 5:45 AM, zaineb....@gmail.com wrote:

Hi Everyone,

I would like to discuss a use case for suggestions on implementation
in Commcare. We are building a mHealth solution for the mother and newborn
program in pakistan. The CMWs use mobile application to register and update
cases for all the clients in their jurisdiction. ‘pregnancy’ is the core
module in the application which has a register form and follow up forms.
Now we want the CMWs to give additional information about the population in
their catchment area to find the expected pregnancies and expected births
as per the statics from that area. We have created another module called
’catchment population’ with just two forms; one to open a case and other to
edit the details (for example a change in the population of the catchment
area). Ideally speaking this should mean that each CMW will use the form to
open a new case and give information on the population. The edit form can
be used at any later time to update that information. How can i make sure
the CMW will use the first form only once and then use the edit form for
any update. Is there any way via which we can say something like … only
open a new case if there is no open case so far…otherwise only give
option for editing.

Any suggestions to achieve this or any other way to do this would be
greatly appreciated.

Thanks and Regards
Zaineb


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-user...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.


Sheel Shah
Project Manager | Dimagi
m: +1.781.428.5419 | skype: sheel_shah


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-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Sheel Shah
Project Manager | Dimagi
m: +1.781.428.5419 | skype: sheel_shah


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.


Sheel Shah
Project Manager | Dimagi
m: +1.781.428.5419 | skype: sheel_shah