Creating a case from within another case?

Is it possible to create a new case from within another case and too
in another module? The scenario where I need it is that in the mother
module I have a form that collects the pregnancy outcome information
such as delivery date, child weight etc. Based on this information I
want to automatically register a child in the child module (i.e.
creating a child case from mother case). If it is possible, will
appreciate help on how to do it else possible alternates to address
this issue are also welcomed.

Thank,
Chandni

Hi Chandni,

Is it possible to create a new case from within another case and too
in another module? The scenario where I need it is that in the mother
module I have a form that collects the pregnancy outcome information
such as delivery date, child weight etc. Based on this information I
want to automatically register a child in the child module (i.e.
creating a child case from mother case). If it is possible, will
appreciate help on how to do it else possible alternates to address
this issue are also welcomed.

While this is possible to do on the mobile side we do not currently support
it in the application builder on CommCare HQ. This is an important feature
that we are currently working on, but it may be a few months before it is
rolled out for our users. In the meantime, unfortunately the only way to
support the workflow you want today would be to switch to a manually
configured application, which is not something we recommend unless you have
access to strong technical people to help configure and maintain the
application's XML configuration files.

If you aren't in a rush to deploy your app I'd recommend waiting and
monitoring this list for announcements for when we do support this. If you
are in a rush your best bet is probably just to collect the information
twice (once in the pregnancy outcome, and once in a new module in a child
registration form).

Cory

··· On Sat, Apr 7, 2012 at 4:31 AM, Chandni wrote:

Thank,
Chandni

Cory,

Thanks for the reply! This is an important feature that we want to include
in our app, and for the pilot program would like to have this feature
working. I will discuss the manual configuration approach with other
members of our tech team as I personally don't have experience doing that.
If we decide to take this route, will keep commcare users posted on the
progress.

When you say it will take a few months before the feature is rolled out,
approx. how many months are we talking about? Just want to have a better
sense of when to expect the feature to be out before making any decision.

Thanks,
Chandni

··· On Sun, Apr 8, 2012 at 4:54 PM, Cory Zue wrote:

Hi Chandni,

On Sat, Apr 7, 2012 at 4:31 AM, Chandni chandnidhanjal@gmail.com wrote:

Is it possible to create a new case from within another case and too
in another module? The scenario where I need it is that in the mother
module I have a form that collects the pregnancy outcome information
such as delivery date, child weight etc. Based on this information I
want to automatically register a child in the child module (i.e.
creating a child case from mother case). If it is possible, will
appreciate help on how to do it else possible alternates to address
this issue are also welcomed.

While this is possible to do on the mobile side we do not currently
support it in the application builder on CommCare HQ. This is an important
feature that we are currently working on, but it may be a few months before
it is rolled out for our users. In the meantime, unfortunately the only way
to support the workflow you want today would be to switch to a manually
configured application, which is not something we recommend unless you have
access to strong technical people to help configure and maintain the
application's XML configuration files.

If you aren't in a rush to deploy your app I'd recommend waiting and
monitoring this list for announcements for when we do support this. If you
are in a rush your best bet is probably just to collect the information
twice (once in the pregnancy outcome, and once in a new module in a child
registration form).

Cory

Thank,
Chandni

Hi Chandni,

Thanks for the reply! This is an important feature that we want to include
in our app, and for the pilot program would like to have this feature
working. I will discuss the manual configuration approach with other
members of our tech team as I personally don't have experience doing that.
If we decide to take this route, will keep commcare users posted on the
progress.

When you say it will take a few months before the feature is rolled out,
approx. how many months are we talking about? Just want to have a better
sense of when to expect the feature to be out before making any decision.

We don't like publicly committing to getting features out on any particular
timeline because inevitably anything can come up that either prevents us
from working on something, or causes something to take longer than we
anticipated. That said, my guess would be about 2 months, but please do not
treat that as a firm commitment!

Cory

··· On Mon, Apr 9, 2012 at 2:57 AM, Chandni Dhanjal wrote:

Thanks,
Chandni

On Sun, Apr 8, 2012 at 4:54 PM, Cory Zue czue@dimagi.com wrote:

Hi Chandni,

On Sat, Apr 7, 2012 at 4:31 AM, Chandni chandnidhanjal@gmail.com wrote:

Is it possible to create a new case from within another case and too
in another module? The scenario where I need it is that in the mother
module I have a form that collects the pregnancy outcome information
such as delivery date, child weight etc. Based on this information I
want to automatically register a child in the child module (i.e.
creating a child case from mother case). If it is possible, will
appreciate help on how to do it else possible alternates to address
this issue are also welcomed.

While this is possible to do on the mobile side we do not currently
support it in the application builder on CommCare HQ. This is an important
feature that we are currently working on, but it may be a few months before
it is rolled out for our users. In the meantime, unfortunately the only way
to support the workflow you want today would be to switch to a manually
configured application, which is not something we recommend unless you have
access to strong technical people to help configure and maintain the
application's XML configuration files.

If you aren't in a rush to deploy your app I'd recommend waiting and
monitoring this list for announcements for when we do support this. If you
are in a rush your best bet is probably just to collect the information
twice (once in the pregnancy outcome, and once in a new module in a child
registration form).

Cory

Thank,
Chandni

Just as a heads up, it's possible to use CommCare HQ for everything in the
app except for creating a case, as long as you're willing to edit one of
the XForms by hand and insert the appropriate XML.

Still requires some technical skill, but you won't need to manage the
entire app outside of the HQ app builder.

-Clayton

··· On Mon, Apr 9, 2012 at 9:18 AM, Cory Zue wrote:

Hi Chandni,

On Mon, Apr 9, 2012 at 2:57 AM, Chandni Dhanjal chandnidhanjal@gmail.comwrote:

Thanks for the reply! This is an important feature that we want to
include in our app, and for the pilot program would like to have this
feature working. I will discuss the manual configuration approach with
other members of our tech team as I personally don't have experience doing
that. If we decide to take this route, will keep commcare users posted on
the progress.

When you say it will take a few months before the feature is rolled out,
approx. how many months are we talking about? Just want to have a better
sense of when to expect the feature to be out before making any decision.

We don't like publicly committing to getting features out on any
particular timeline because inevitably anything can come up that either
prevents us from working on something, or causes something to take longer
than we anticipated. That said, my guess would be about 2 months, but
please do not treat that as a firm commitment!

Cory

Thanks,
Chandni

On Sun, Apr 8, 2012 at 4:54 PM, Cory Zue czue@dimagi.com wrote:

Hi Chandni,

On Sat, Apr 7, 2012 at 4:31 AM, Chandni chandnidhanjal@gmail.comwrote:

Is it possible to create a new case from within another case and too
in another module? The scenario where I need it is that in the mother
module I have a form that collects the pregnancy outcome information
such as delivery date, child weight etc. Based on this information I
want to automatically register a child in the child module (i.e.
creating a child case from mother case). If it is possible, will
appreciate help on how to do it else possible alternates to address
this issue are also welcomed.

While this is possible to do on the mobile side we do not currently
support it in the application builder on CommCare HQ. This is an important
feature that we are currently working on, but it may be a few months before
it is rolled out for our users. In the meantime, unfortunately the only way
to support the workflow you want today would be to switch to a manually
configured application, which is not something we recommend unless you have
access to strong technical people to help configure and maintain the
application's XML configuration files.

If you aren't in a rush to deploy your app I'd recommend waiting and
monitoring this list for announcements for when we do support this. If you
are in a rush your best bet is probably just to collect the information
twice (once in the pregnancy outcome, and once in a new module in a child
registration form).

Cory

Thank,
Chandni

That's good to know. That mean I can just edit that very Xform from which I
want to create a new case and let other forms continue to be developed in
HQ app builder?

-Chandni

··· On Tue, Apr 10, 2012 at 10:03 AM, Clayton Sims wrote:

Just as a heads up, it's possible to use CommCare HQ for everything in the
app except for creating a case, as long as you're willing to edit one of
the XForms by hand and insert the appropriate XML.

Still requires some technical skill, but you won't need to manage the
entire app outside of the HQ app builder.

-Clayton

On Mon, Apr 9, 2012 at 9:18 AM, Cory Zue czue@dimagi.com wrote:

Hi Chandni,

On Mon, Apr 9, 2012 at 2:57 AM, Chandni Dhanjal <chandnidhanjal@gmail.com wrote:

Thanks for the reply! This is an important feature that we want to
include in our app, and for the pilot program would like to have this
feature working. I will discuss the manual configuration approach with
other members of our tech team as I personally don't have experience doing
that. If we decide to take this route, will keep commcare users posted on
the progress.

When you say it will take a few months before the feature is rolled out,
approx. how many months are we talking about? Just want to have a better
sense of when to expect the feature to be out before making any decision.

We don't like publicly committing to getting features out on any
particular timeline because inevitably anything can come up that either
prevents us from working on something, or causes something to take longer
than we anticipated. That said, my guess would be about 2 months, but
please do not treat that as a firm commitment!

Cory

Thanks,
Chandni

On Sun, Apr 8, 2012 at 4:54 PM, Cory Zue czue@dimagi.com wrote:

Hi Chandni,

On Sat, Apr 7, 2012 at 4:31 AM, Chandni chandnidhanjal@gmail.comwrote:

Is it possible to create a new case from within another case and too
in another module? The scenario where I need it is that in the mother
module I have a form that collects the pregnancy outcome information
such as delivery date, child weight etc. Based on this information I
want to automatically register a child in the child module (i.e.
creating a child case from mother case). If it is possible, will
appreciate help on how to do it else possible alternates to address
this issue are also welcomed.

While this is possible to do on the mobile side we do not currently
support it in the application builder on CommCare HQ. This is an important
feature that we are currently working on, but it may be a few months before
it is rolled out for our users. In the meantime, unfortunately the only way
to support the workflow you want today would be to switch to a manually
configured application, which is not something we recommend unless you have
access to strong technical people to help configure and maintain the
application's XML configuration files.

If you aren't in a rush to deploy your app I'd recommend waiting and
monitoring this list for announcements for when we do support this. If you
are in a rush your best bet is probably just to collect the information
twice (once in the pregnancy outcome, and once in a new module in a child
registration form).

Cory

Thank,
Chandni

Yes, you would add the information into that xform using the same case_type
as is used in another module, and then you can develop the followup forms
in that module using HQ as usual.

-Clayton

··· On Tue, Apr 10, 2012 at 11:46 AM, Chandni Dhanjal wrote:

That's good to know. That mean I can just edit that very Xform from which
I want to create a new case and let other forms continue to be developed in
HQ app builder?

-Chandni

On Tue, Apr 10, 2012 at 10:03 AM, Clayton Sims csims@dimagi.com wrote:

Just as a heads up, it's possible to use CommCare HQ for everything in
the app except for creating a case, as long as you're willing to edit one
of the XForms by hand and insert the appropriate XML.

Still requires some technical skill, but you won't need to manage the
entire app outside of the HQ app builder.

-Clayton

On Mon, Apr 9, 2012 at 9:18 AM, Cory Zue czue@dimagi.com wrote:

Hi Chandni,

On Mon, Apr 9, 2012 at 2:57 AM, Chandni Dhanjal < chandnidhanjal@gmail.com> wrote:

Thanks for the reply! This is an important feature that we want to
include in our app, and for the pilot program would like to have this
feature working. I will discuss the manual configuration approach with
other members of our tech team as I personally don't have experience doing
that. If we decide to take this route, will keep commcare users posted on
the progress.

When you say it will take a few months before the feature is rolled
out, approx. how many months are we talking about? Just want to have a
better sense of when to expect the feature to be out before making any
decision.

We don't like publicly committing to getting features out on any
particular timeline because inevitably anything can come up that either
prevents us from working on something, or causes something to take longer
than we anticipated. That said, my guess would be about 2 months, but
please do not treat that as a firm commitment!

Cory

Thanks,
Chandni

On Sun, Apr 8, 2012 at 4:54 PM, Cory Zue czue@dimagi.com wrote:

Hi Chandni,

On Sat, Apr 7, 2012 at 4:31 AM, Chandni chandnidhanjal@gmail.comwrote:

Is it possible to create a new case from within another case and too
in another module? The scenario where I need it is that in the mother
module I have a form that collects the pregnancy outcome information
such as delivery date, child weight etc. Based on this information I
want to automatically register a child in the child module (i.e.
creating a child case from mother case). If it is possible, will
appreciate help on how to do it else possible alternates to address
this issue are also welcomed.

While this is possible to do on the mobile side we do not currently
support it in the application builder on CommCare HQ. This is an important
feature that we are currently working on, but it may be a few months before
it is rolled out for our users. In the meantime, unfortunately the only way
to support the workflow you want today would be to switch to a manually
configured application, which is not something we recommend unless you have
access to strong technical people to help configure and maintain the
application's XML configuration files.

If you aren't in a rush to deploy your app I'd recommend waiting and
monitoring this list for announcements for when we do support this. If you
are in a rush your best bet is probably just to collect the information
twice (once in the pregnancy outcome, and once in a new module in a child
registration form).

Cory

Thank,
Chandni