Hi Vince,
From a diagnostic standpoint, it appears as though things are bit up in the air at the moment.
Passing out can have all manner of causes. Sometimes persons pass out on only a single occasion and the cause never is identified. Or, it can be the result of unusual stress, dehydration or similar conditions that are not expected to recur.
Moreover, it is possible for chronic "glomerunephritis" (severity not otherwise specified) to in some manner be related to elevated blood ammonia levels, but unrelated to episodes of loss of consciousness. One would want to have a baseline measure of such ammonia levels against which to compare that obtained just after an event of loss of consciousness. An assay of relevant amino acids and enzymes also would be useful.
In any event, a fairly recent incident of unexplained loss of consciousness is quite worrisome as such an event well could prove fatal underwater. It clearly is in the diver's best interests to be confident that it will not recur.
If it is determined that extreme stress or dehydration contributed to the episode, then avoiding stressful diving conditions and taking vigorous efforts to stay fully hydrated seem well advised.
Given that no cause is found despite a comprehensive work up, it would be prudent for the diver to wait a fainting-free year, then seek medical clearance, preferably from a diving medicine physician.
This is educational only and does not constitute or imply a doctor-patient relationship. It is not medical advice to you or any other individual and should not be construed as such.
Regards,
DocVikingo