(a) Notwithstanding AS 47.30.845, when a superior court orders the involuntary commitment of a person under AS 47.30.735 - 47.30.755 or when relief from a disability resulting from an involuntary commitment or an adjudication of mental illness or mental incompetence is granted under AS 47.30.851(b), the court shall immediately transmit the following information, if known, to the Department of Public Safety:
(1) the person's
(A) name, date of birth, and address;
(B) aliases;
(C) social security number;
(D) driver's license or state identification card number;
(2) the date of the order and whether the order is
(A) an involuntary commitment; or
(B) relief from the disability resulting from an involuntary commitment or an adjudication of mental illness or mental incompetence;
(3) the statutory authority for the involuntary commitment or the disability resulting from an involuntary commitment or an adjudication of mental illness or mental incompetence;
(4) whether the person was offered an opportunity to be heard and represented by counsel in the involuntary commitment proceeding or adjudication of mental illness or mental incompetence; and
(5) any other information required by the Department of Public Safety or by the United States Department of Justice for inclusion in the National Instant Criminal Background Check System established under P.L. 103-159, 107 Stat. 1536 (Brady Handgun Violence Prevention Act).
(b) This section does not apply to initial involuntary commitment procedures, emergency detention for evaluation, or hospitalization for examination under AS 47.30.700 - 47.30.715 if the person is released under AS 47.30.720.