Hi Aimee,

What is the length of the UIDs? The dhis2 accepts UID length of 11 and can
accept any other types (letters and numbers) so long as the first one is a
letter.

If you want to avoid duplication of UID, the easiest way is by generating
them yourself using other tools or languages.
See the following example on UID generation.
https://github.com/jason-p-pickering/dhis2-data-munging/blob/master/bootstrap/bootstrap.Rmd

Thank you.
==========================
Isaiah Nyabuto
+254729572616
Bsc. Health Records Management and Informatics


On Feb 8, 2018 16:32, "Aimee Edmondo" <aedmo...@akros.com> wrote:

Greetings all,
In Zambia we are investigating the possibility of having sub instances of
tracker capture that feed into a main instance, but we want to avoid the
issue of duplicate UIDs coming from the sub instances. We were hoping to
add a prefix onto the automatic UID generation - such as NG#######, where
the prefix "NG" remains consistent and the numbers are automatically
generated. We've experimented with the UID options and the system does not
accept this pattern. Has anyone successfully done this before or have any
ideas as to how to do this?
Thanks,
*Aimee Edmondo, MPH* | Informatics Associate
aedmo...@akros.com <acmar...@akros.com> | +260.976.076524

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to