Everyone seems to be missing the bolded part. The doc said he could safely handle firearms. Medical records can't be "expunged" but can be updated with current condition. This should be the ultimate deciding factor in this case.
The courts don't seem to care what any doctors say. It's only what Congress says according to them, meaning the "right" really is no right at all if you have to get it through a political process and not the courts.