Not exactly sure of what the sanitarium treated.
I do know that Dr. James Walker (my grandmother's uncle) owned the place and that Dr. Roswell Parks worked there for him. Dr. Parks moved to Buffalo and established the cancer hospital there. I think the Hornell Evening Tribune online edition may have an article about the hospital.