Auto Unique Identifiers-Alphanumetical

Hi,

Can anyone take me through how my tracker capture can automatically generate Unique IDs with a specific algorithm such as first two letters of the first name, first two letters of the surname, last two digits of the year of birth and area code.

Has anyone done this successfully? Or has anyone used another software to generate this kind of UIC.

Thanks

3 Likes

Stanley,

See JIRA issue for this - Stian is currently working on it.

Regards

Calle

···

On 2 December 2017 at 11:41, Stanley Kalyati skalyati@gmail.com wrote:

Hi,

Can anyone take me through how my tracker capture can automatically generate Unique IDs with a specific algorithm such as first two letters of the first name, first two letters of the surname, last two digits of the year of birth and area code.

Has anyone done this successfully? Or has anyone used another software to generate this kind of UIC.

Thanks


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

–


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


1 Like

Thanks Calle,

Regards

Stanley

···

On 2 December 2017 at 11:41, Stanley Kalyati skalyati@gmail.com wrote:

Hi,

Can anyone take me through how my tracker capture can automatically generate Unique IDs with a specific algorithm such as first two letters of the first name, first two letters of the surname, last two digits of the year of birth and area code.

Has anyone done this successfully? Or has anyone used another software to generate this kind of UIC.

Thanks


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

–


Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@gmail.com

Skype: calle_hedberg


1 Like

Hey have you found a solution for this?

1 Like

Hi,

Auto-generated numbers can now be a combination of sections (random numbers, dates, orgunits) - see the relevant manual(s) for details

Regards
Calle

3 Likes

Hi,

To add on to what Calle mentioned, you can see a previous post about this here:

Good luck!

4 Likes

Actually I was looking for a solution that concatenate few track entity attribute and generate unique identifier. Finally solved the issue by writing a program rule.

In my rule I have concatenated
Unique Identifier code = First letter of Gender + Org unit code + First 2 character of patient name + birth rank + First 2 character of mother name.

1 Like

Hi,

Is it working? Would you please share the logic or the rules you have created? thanks in advance