Test/Review: Newpatient form assigning provider ID

medfetch wrote on Friday, February 19, 2016:

Brady rebased my ophthal files with the latest codebase to this branch:

with the latest commit being:

From the Help forums a problem was noted regarding the assignment of a providerID in the billng module. I had the same problem but it was an issue for me at the encounter/form level, so I added some code to the newencounter form to allow selection of a provider at this level. For example, a patient comes late. They are not “arrived”, but “arrived late” in the calendar by the front staff. No encounter is auto-created. It must be manually crreated and if not done by the provider him/herself, but say by a tech or MA/physician extender, no provider is assigned. This change allows a procviderID be assigned to a new encounter, or change on when editing it.

Here are the encounter summary form changes which affect two files:
interface/forms/newpatient/common.php
and interface/forms/newpatient/save.php

If anyone has time to test and review these newpatient files I would appreciate it.
Thanks,
Ray

teryhill wrote on Friday, February 19, 2016:

There is code in the newest version of feesheet that I believe will handle this. It assigns the provider based on encounter, if no encounter it uses the logged on user if they are authorized, if not it uses the provider assigned in the patient file. Will this work for what you need?

Thanks

Terry

medfetch wrote on Friday, February 19, 2016:

That’s perfect Terry. I added it into the eye_mag new.php file. Just what I needed. Thanks.

teryhill wrote on Friday, February 19, 2016:

The entire commit is here

Terry