(c) Upon receipt of a complaint, other than a complaint alleging denial of a statutory right of access to a community care facility or certified family home, the state department shall make a preliminary review and, unless the state department determines that the complaint is willfully intended to harass a licensee or is without any reasonable basis, it shall make an onsite inspection of the community care facility or certified family home within 10 days after receiving the complaint, except where a visit would adversely affect the licensing investigation or the investigation of other agencies. In either event, the complainant shall be promptly informed of the state department's proposed course of action.
If the department determines that the complaint is intended to harass, is without a reasonable basis, or, after a site inspection, is unfounded, then the complaint and any documents related to it shall be marked confidential and shall not be disclosed to the public. If the complaint investigation included a site visit, the licensee or certified family home and foster family agency shall be notified in writing within 30 days of the dismissal that the complaint has been dismissed.