I found some great documentation for a way to great a unique, sequential ID for each case registered using a mobile worker custom field (prefix).
I am wondering if it is possible to generate unique, sequential ID ID for each case registered among a case-sharing groups?
Our use case is that two people will be registering cases at the same location, and ideally there would be a way to generate a unique, sequential ID for each patient, irrespective of which person "registers" the case. ie if worker1 registers case1, and immediately after worker2 registers a case, then ideally counting that as case2, etc.
At the moment I have only been able to make it so that there are 2 prefixes that share the same "root" prefix, and then an identifier for the mobile worker (ex: 123.1 and 123.2), followed by the order of the case registered. But doing so means we'd have two "lists" of sequential cases (ex: 123.1.0001, 123.2.0001), rather than a single sequential list shared between the two (ex: 123.0001, 123.0002, etc)
Ideally trying to avoid using location-based case sharing...
Thanks for your help!