Even highly trained, highly intelligent, highly paid dermatologists, oncologists, etc are not safe from automation. It is a curse and a blessing. I feel awful for medical professionals. Yet, this is a real benefit to humanity that many people can look forward to much lower health care costs and early detection and hopefully, successful treatment of an assortment of medical conditions.
Solution -- Money