Brian Dunning's FileMaker Custom Functions

fnValidMBI ( MBI )

Validate MBI (Medicare Beneficiary Identification)

  Average rating: 1.0 (1 vote) Log in to vote

Travis L. Herring   Travis L. Herring - Show more from this author
Travis L Herring MD PA
http://drherringmd.com/

Share on Facebook Share on Twitter

  Sample input:
fnValidMBI("1EG4TE5MKZ")
  Sample output:
"Invalid MBI. There are not exactly 11 characters. Character value error at position(s) 10, 11."

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

FileMaker custom function fnValidMBI(MBI) checks the supplied MBI identification and returns an empty value if valid. If not valid, the return value is an explanation of errors found. This format and rules for MBI are to be implemented after April 2018 and replace the old format for MC numbers which were based on the social security number, SSN.

Note: Tests only for valid format of supplied value.
Note: I'm thinking the one-star rating may have been from someone who had the rating system backward! It works for me and as far as I know, nothing is wrong with it. (Or I would have fixed it.)

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: