(a) The long-term care ombudsman is allowed access to any resident's records, including medical records, reasonably necessary to any investigation carried out pursuant to the provisions of section ten of this article, under the following conditions:
(1) If the resident is competent and has the ability to write, access may only be obtained by the written consent of the resident;