Facility identifier number

Hello team,

We will like to auto-generated sequential number allocated to each facility when it is added to the master list.

Please should someone can share experience using the Luhn Algorithm (mod 10) ?

Sincerely,

···

=========================
EKANI Guy

No experience, but perhaps this is useful for you:

https://gist.github.com/DiegoSalazar/4075533

···

On Thu, Jun 15, 2017 at 9:36 AM, Guy Ekani constyekani@gmail.com wrote:

Hello team,

We will like to auto-generated sequential number allocated to each facility when it is added to the master list.

Please should someone can share experience using the Luhn Algorithm (mod 10) ?

Sincerely,

=========================
EKANI Guy


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

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Though apparently this is a lot faster:
https://gist.github.com/ShirtlessKirk/2134376

···

On Thu, Jun 15, 2017 at 10:18 AM, Knut Staring knutst@gmail.com wrote:

No experience, but perhaps this is useful for you:

https://gist.github.com/DiegoSalazar/4075533

On Thu, Jun 15, 2017 at 9:36 AM, Guy Ekani constyekani@gmail.com wrote:

Hello team,

We will like to auto-generated sequential number allocated to each facility when it is added to the master list.

Please should someone can share experience using the Luhn Algorithm (mod 10) ?

Sincerely,

=========================
EKANI Guy


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

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Thank you Knut,

···

On Thu, Jun 15, 2017 at 9:19 AM, Knut Staring knutst@gmail.com wrote:

Though apparently this is a lot faster:
https://gist.github.com/ShirtlessKirk/2134376

On Thu, Jun 15, 2017 at 10:18 AM, Knut Staring knutst@gmail.com wrote:

No experience, but perhaps this is useful for you:

https://gist.github.com/DiegoSalazar/4075533


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Thu, Jun 15, 2017 at 9:36 AM, Guy Ekani constyekani@gmail.com wrote:

Hello team,

We will like to auto-generated sequential number allocated to each facility when it is added to the master list.

Please should someone can share experience using the Luhn Algorithm (mod 10) ?

Sincerely,

=========================
EKANI Guy


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

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org