It can, but not now. Maybe in 10 - 15 years (or more).
The numerous available online (mobile apps) symptom checkers are a good indicator of the current state of how a computer can solve your health/medical issue. Computers need a lot more systematic data which is currently not available.
A blod post on this topic: https://medium.com/@iamhealee/you-should-use-symptom-checker...