How do I validate a Medicare number?
I'm developing an online form in which user-entered Medicare numbers will need to be validated. (My specific problem concerns Australian Medicare numbers, but I'm happy for answers regarding American ones too. This question is about Medicare numbers in general.) So how should I do it? (It would be good to have the answer in Javascript...