Was the hospital a US military one ?
Then it is part of the base...
We lived in base housing at one base 3 miles from the actual base...
But it was still part of the base.
My understanding is that the hospital was not actually on the base, but was under contract to the Navy.
McCain’s eligibility is very questionable