I don't think I've ever had a doctor I felt I could contact directly, let alone text. Best I've ever had was that I could contact the reception / nurses and leave a message with them, then expect them to ask the doctor my question and get back to me.
I understand why doctors form a boundary between themselves and patients, I don't begrudge them their privacy, but I always see this kind of post and wonder whether or not my experience is the minority.
edit: remove random word that my keyboard left in there, as a treat.