Billing Behavior

uncommenartist wrote on Wednesday, December 12, 2012:

I need to change the behavior so each billing line shows the patient assigned provider rather than the default provider (-Default-). Does any one know how? It is normally found xampp\htdocs\openemr\interface\forms\fee_sheet. Thank you.

juggernautsei wrote on Thursday, December 13, 2012:

My first question is do you have anyone in the drop down list at all?

If not, do you have the providers marked in the users profile?

Sherwin
openmedpractice.com

uncommenartist wrote on Wednesday, December 19, 2012:

Yes, I do have choices in my drop down list. providers i have added.
I wish not to have to choose a provider. Instead the information from the patient’s demographics should linked so when i add additional lines of fee code i don t have to change the drop down. By default it reads  -Default-

uncommenartist wrote on Wednesday, December 19, 2012:

line 232 in the new.php file is where the drop down list is located

bradymiller wrote on Saturday, December 22, 2012:

Hi,
This shouldn’t be too tough, but will require a little php coding(in a nutshelly you’ll collect the primary provider id from the patient_data table and then set this to the default drop-down selection: http://stackoverflow.com/questions/3518002/how-to-set-default-value-for-html-select-element).
-brady
OpenEMR

bradymiller wrote on Saturday, December 22, 2012:

Hi,
It’s actually even simpler; you’ll substitute the $provider_id variable with a variable that represents the primary provider you get above (however, you only do this if the $provider_id is not set to zero or not set).
-brady
OpenEMR