For the purpose of advising as to the exercise by the nearest relative of a patient who is liable to be detained or subject to guardianship under this Part of this Act , or who is a community patient, of any power to order his discharge, any registered medical practitioner or approved clinician authorised by or on behalf of the nearest relative of the patient may, at any reasonable time, visit the patient and examine him in private.
Any registered medical practitioner or approved clinician authorised for the purposes of subsection (1) above to visit and examine a patient may require the production of and inspect any records relating to the detention or treatment of the patient in any hospital or to any after-care services provided for the patient under section 117 below..
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .