. */ 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 = [ 'TYPE' => '0:1:?', 'DATE' => '0:1', 'PLAC' => '0:1', 'ADDR' => '0:1:?', 'CAUS' => '0:1:?', 'AGNC' => '0:1', 'RELI' => '0:1:?', 'NOTE' => '0:M', 'OBJE' => '0:M', 'SOUR' => '0:M', 'RESN' => '0:1', ]; }