Is it OK to have 2 modules with the same case type?

Good day,

Will having 2 modules using the same case type be likely to cause any
problems?

A bit more background - I have the following structure:

Family Registration [case type: family]

  • Add new FAMILY [creates new family]

Families [case type: family]

  • Add new PERSON to family [creates new child-case patient]

Patient [case type: patient]

  • Screening (updates patient)

Note that patient is a child-case of family

It seems to work fine, and there is only one “family” displayed in the Case
Summary view, but I want to be sure there won’t be any implications or
strange behaviour down the line.

The reason for this approach is wanting to be able to use the Minimize
Duplicates
https://wiki.commcarehq.org/pages/viewpage.action?pageId=30605985
functionality on both the Families list and the child-case Patient list.
The documentation linked above says:
"The minimize duplicates setting cannot be used for modules that have
Parent/Child Case Selection turned on."
So I’m wondering if I’ve just performed a workaround to something that was
turned off directly for a good reason!?

Thanks,
Andrew

Hi Andrew,

This seems like the right way to solve this problem! You can definitely
have more than one module with the same case type and I agree that the
minimize duplicates functionality does work with parent-child selection (I
have used this before!) We’ll look into why the documentation was written
this way and change it appropriately.

-Jen

··· On Thursday, January 5, 2017 at 7:14:04 AM UTC-5, Andrew Cawood wrote: > > Good day, > > *Will having 2 modules using the same case type be likely to cause any > problems?* > > > A bit more background - I have the following structure: > > Family Registration [case type: *family*] > - Add new FAMILY [creates new *family*] > > Families [case type: *family*] > - Add new PERSON to family [creates new child-case *patient*] > > Patient [case type: *patient*] > - Screening (updates *patient*) > > Note that *patient* is a child-case of *family* > > > It seems to work fine, and there is only one "family" displayed in the > Case Summary view, but I want to be sure there won't be any implications or > strange behaviour down the line. > > The reason for this approach is wanting to be able to use the Minimize > Duplicates > > functionality on both the Families list and the child-case Patient list. > The documentation linked above says: > "The minimize duplicates setting cannot be used for modules that have > Parent/Child Case Selection turned on." > So I'm wondering if I've just performed a workaround to something that was > turned off directly for a good reason!? > > > Thanks, > Andrew > >

Hi Andrew,

I have a related question (2 years later!). I am wondering – in this configuration, how (specifically) did users add a new person to the family? Were they able to add more new people after they completed the initial registration form? We are trying to do something similar in our app.

Thanks in advance for any guidance,

Rachel