Earlier quoted context omitted.
I suspect his doctor just knew to code it properly as low vitamin D for monitoring of replacement therapy. Since he legitimately has low D and is on replacement therapy there’s no issue. For first timers not sure if they are or not an experienced doctor will just label it this way anyway and tell you 9/10 it’ll work. 1/10 you’ll have to pay the fee. It’s just another example of our nonsensical health system at work.
I really have no idea although I'm very skeptical that my former primary care doctor would have done anything more sophisticated than checking a bunch of boxes on the blood work sheet and faxed it to the hospital lab. It certainly wasn't in response to any symptoms about anything; it just came in low in the lab results at some point. Of course, may be a function of particular insurance provider policies.
This is just one of the many frustrating parts of the way our medical system is set-up. As a doctor, I have even considered not seeing my own doctor for labs and using a private company, as others have mentioned in this thread. At least those companies provide price transparency.