Authorization link dont work after chart label update

arnabnaha wrote on Friday, September 12, 2014:

Hi…
On Random testing after the recent chart label update, found out that Miscellaneous->Authorizations dont work anymore. on clicking authorization, it used to show a page saying “Authorization” as a link. Now nothing happens. In my test site, which is running the dev tip just previous to the chart label update, the authorization link is working fine. So I guess, there has been an issue with this update… BTW, what does this authorization do basically, never found it working miracles…

arnabnaha wrote on Saturday, September 13, 2014:

Any update on this?

bradymiller wrote on Saturday, September 13, 2014:

Hi,

Is same behavior happening in the online demo?
http://www.open-emr.org/wiki/index.php/Development_Demo#Daily_Build_Development_Demo

Are you seeing any errors in your php error log?

-brady
OpenEMR

bradymiller wrote on Saturday, September 13, 2014:

Hi,

I just committed a possible bug fix.

-brady
OpenEMR

arnabnaha wrote on Saturday, September 13, 2014:

Hi Brady…
checked on the online Demo…everything was fine…no issues…so it was just a windows issue.

Applied your commit…and it works fine now…Issue closed…Thanks a lot

teryhill wrote on Saturday, September 13, 2014:

What was the fix?

Terry

bradymiller wrote on Sunday, September 14, 2014:

Hi Terry,

It looks like html comments had incorrect syntax (the trailing stuff):

Glad to have super windows tester Arnab to catch these windows bugs :slight_smile:

-brady
OpenEMR

teryhill wrote on Sunday, September 14, 2014:

What version of windows are you using? I am developing using 2008 server and did not get the error, But I am still running 4.1.2.

Thanks Terry

arnabnaha wrote on Sunday, September 14, 2014:

Hi Terry…
I am on windows 8.1 pro with xampp 1.8.2 and thanks Brady for that “super windows tester” :slight_smile: Loved it…Ha ha

arnabnaha wrote on Sunday, September 14, 2014:

One Query…What work does authorizations do in openemr?

bradymiller wrote on Monday, September 15, 2014:

Hi,

I remember looking into this a couple years back. That script actually was the default bottom frame script after login, which then was downgraded (replaced by messages frame) since it wasn’t doing much. There are several fields (billing, pnotes, transactions and forms) which have an authorized toggle. If these are set to 0 in other scripts, then they need to be “authorized”, which is done on this authorization. From what I recall when looking at this, there was minimal support, if any, in the other scripts to use this feature (hence everything is already “authorized”). The plan at some point is to integrate this into the Message module:
http://www.open-emr.org/wiki/index.php/Active_Projects#Messages

-brady
OpenEMR

teryhill wrote on Monday, September 15, 2014:

What web browser are you using?

arnabnaha wrote on Tuesday, September 16, 2014:

Thanks Brady for the explanation

Terry, I am using Chrome v37

teryhill wrote on Tuesday, September 16, 2014:

Thanks for the info I am having an extra page printing in fire fox but chrome works fine for me.

Thanks
Terry

teryhill wrote on Wednesday, September 17, 2014:

Arnab, I added a couple of spaces to help firefox with printing the labels.

The code change is in line 74 of label.php
Make it like this

$text = sprintf("  %s %s\n  %s\n  %s\n  %s", $patdata['fname'], $patdata['lname'], $dob, $today, $patdata['pid']);

Thanks
Terry

teryhill wrote on Thursday, September 18, 2014:

Is this what you are looking for?

Terry

bradymiller wrote on Friday, September 19, 2014:

Hi,
Should this go into official codebase?
(or is a globals option needed?)
-brady
OpenEMR

arnabnaha wrote on Friday, September 19, 2014:

Hii
just saw the barcode label in another post…wonderful extension i must say…

teryhill wrote on Friday, September 19, 2014:

Samples of 2 of the 12 types of barcodes offered in openemr.

Terry

arnabnaha wrote on Friday, September 19, 2014:

Thanks for such great contributions