The department shall issue certified copies of or disclose a record from which illegitimacy of birth can be ascertained only upon (1) an order of a court of competent jurisdiction specifying the record sought and holding that such record is necessary for the determination of personal or property rights, or (2) a finding by an officer of the department designated by the Secretary of Health that the applicant therefor has attained majority and is not incompetent and is the person to whom the record relates or the mother or legal representative of the person to whom the record relates, and further that the information contained in the record is necessary for the determination of personal or property rights.
35 P.S. § 450.803