1. If it was the income of Hospital, then why the invoice was Rs 100?? You just send the invoice for Rs 40. I believe it is a case of contract testing.
2. In any case, TDS shall on Rs 40 and it is the hospital who is liable to deduct TDS on the same.