Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. On CommCare HQ, go into your desired application. Click on the form in which you are registering your subcase/ related case.

  2. Select the “case management” tab. On the bottom of the case management tab, you will see the heading “Child Cases””. Select the plus (+) sign to open the secondary case you want that is linked to the “main” case. For example, if the child case were a baby, select the module in which the case type is "baby." 

  3. If desired, you can add a question that serves as the condition to open the child case (i.e. Only if the answer to <question> is <answer>). 

  4. Select the questions/data points that you want to also be associated to the child case. At a minimum you must specify a question that serves as the name of the new case.

  5. Save your changes and try it out!

...

Opening Child Cases from a Repeat

...

Groups

It is possible to open a child case from questions that are in a repeat group Repeat Groups . This is useful if you want to be able to open multiple child cases of one type - for example if you want to be able to conduct a survey and register a case for every household member.

...

Accessing Parent Case Properties

...

The application builder gives Child cases the ability to access and update properties of the parent case.

...