The military could access anything theoretically speaking but they don't for one reason. MONEY. It would cost entirely too much and require entirely too much man power to check every applicant's medical records. I mean, thousands of applications for officer spots on top of the tons of enlisted files just makes it impossible.