> So we are thinking of an algorithm to generate the id for the whole country, > but not depend on the organisation unit. It should only depend on patient > information and the time of creating...
A UUID perhaps? Seems to be the only way to guarantee you will end up with a unique ID, especially in a federated setting. Otherwise, national identity numbers, but there are privacy issues here to consider. http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.html Regards, Jason _______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

