. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Elements; /** * NATIONAL_ID_NUMBER := {Size=1:30} * A nationally-controlled number assigned to an individual. Commonly known * national numbers should be assigned their own tag, such as SSN for U.S. * Social Security Number. The use of the IDNO tag requires a subordinate TYPE * tag to identify what kind of number is being stored. * For example: * n IDNO 43-456-1899 * +1 TYPE Canadian Health Registration */ class NationalIdNumber extends AbstractElement { protected const MAXIMUM_LENGTH = 30; protected const SUBTAGS = [ 'DATE' => '0:1', 'PLAC' => '0:1', 'NOTE' => '0:M', 'OBJE' => '0:M', 'SOUR' => '0:M', 'RESN' => '0:1', ]; }