← Back to team overview

dhis2-devs team mailing list archive

Re: Greetings + new DHIS patient module

 

> 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



Follow ups

References