A signed application to purchase a firearm shall constitute a waiver of confidentiality and written request that the health care authority, mental health institutions, and other health care facilities release information relevant to the applicant's eligibility to purchase a firearm to an inquiring court, law enforcement agency, or the Washington state patrol firearms background check program.