The following article resumes the developpment of the GS1/HIBC BUDI checksum:
https://www.medtechintelligence.com/feature_article/gs1-updates-global-model-number-identifier-for-use-as-a-basic-udi-di-to-meet-eu-mdr-requirements/