checksum¶
checksum
Used for validating the Luhn-30 checksums used with the OpenMRS and ChildCount+ health IDs.
-
checksum.checksum.
BASE_CHARACTERS
= u'0123456789acdefghjklmnprtuvwxy'¶ Valid characters for health IDs
-
exception
checksum.checksum.
CheckDigitException
[source]¶ Raised on invalid input to checksum methods