I think the OpenMRS project has considered this question extensively (and many others that are relevant for a patient system).
Knut On Mon, Feb 1, 2010 at 7:31 AM, Jason Pickering <[email protected] > wrote: > > 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 > -- Cheers, Knut Staring
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

