One of the exceptions to your obligation to disclose information to the patient and to provide him or her with their records or a report that you have created in relation to them is if you reasonably believe that giving access would pose a serious threat to the life, health or safety of any individual.
There may be situations where you are concerned that providing records regarding mental health assessments etc, might pose such a threat to a patient. You may be able to redact the records, or object to providing the records on this basis.
This will be a matter for your judgement, taking into account all the circumstances.
If a patient cannot give informed consent to release of information because of their mental health – then the usual steps for obtaining consent in cases where there is impairment will apply. You may need to contact the substitute decision-maker for that person.