idnumbers
    Preparing search index...

    The Medicare Number of Australia. This page is generated from the registry metadata of the library.

    Property Value
    Country code AUS, AU
    ID type Medicare Number
    Official name Medicare Number
    Also known as Medicare Number; Medicare No
    Display format #### ##### #(/#)
    Input masks #### ##### #, #### ##### #/#
    Length 9 to 11
    Example 2123 45670 1
    Checksum yes
    Checksum algorithm Weighted sum mod 10 (weights 1,3,7,9,1,3,7,9 over first 8 digits)
    Parsable no

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('AUS', '2123 45670 1').isValid; // true

    To bundle only this country, import its definition from idnumbers/countries/aus and pass it to register():

    import { register, validateNationalId } from 'idnumbers/core';
    import { country } from 'idnumbers/countries/aus';

    register(country);
    validateNationalId('AUS', '2123 45670 1').isValid; // true