modifications to the prescriptions

 - fixed columns in list view
 - changed cursor to a hand for table rows (feels more natural)
 - stopped from from going to send screen after adding line item. Improves Work Flow
 - automatically checks line items created on the current encounter. Improves the flow
 - made print to html open in new window, works a bit better

Signed-off-by: Craig Bezuidenhout <cbezuidenhout@tajemo.co.za>
A new general survey form's XML file

Signed-off-by: Arnab Naha <superarnab@gmail.com>
Fixes Incorrect date showing on CCR report

Signed-off-by: Craig Bezuidenhout <cbezuidenhout@tajemo.co.za>
Acknowledgements update
Standardized the diagnosis code searching in the Rules admin GUI
Simplified code from previous commit
Fix for editing current event in a recurring appointment

Signed-off-by: Craig Bezuidenhout <cbezuidenhout@tajemo.co.za>
Support for storing code type in justify column of billing sql table
This helps in Cases where fees may not be required or as in our case, compatible.

It looks more proffesional to not have it than to say it does not work

Signed-off-by: Craig Bezuidenhout <cbezuidenhout@tajemo.co.za>

minor mods by brady:
fixed a merge conflict in left_nav.php
incremented version.php database parameter
minor mod to english constants to avoid creating two separate enlgish constants that are very similar
Clarified sql functions by adding a sqlQueryNoLog function
Documenting library/sql.inc file and adding a default copyright statement to acknowledge_license_cert.html page.
Updated acknowledgements
documented the library/sql_upgrade_fx.php script

 changed function names in contrib/util/de_identification_upgrade.php
 to ensure all library/sql_upgrade_fx.php functions are unique.
Audit engine bug fix in sql_checksum_of_modified_row function

 -sql queries throw errors (this was not an issues until the queries
  were recently run through a function that died on errors). Fixed
  by running it through a function that skips errors.

 TODO:
 -sql_checksum_of_modified_row needs to be better optimized and also
  utilize binded values in order to be more successful on collecting
  hashes
 -hopefully can optimize sql_checksum_of_modified_row to not require
  a sql function that skips errors
utf8 bug fix - removed some casing functions calls that break utf8 encoding
If the patient_data is null Patient Portal get the pid for new patient is as null, so fixed to get as 1

Signed-off-by: Jacob T.Paul <jacob@zhservices.com>
minor comment fix in library/sql.inc
Financial summary by service code report

 Additional modifications by bradymiller:
 -Use administration->services interface rather than lists to set
  the important codes
 --Select the important codes in Administration->Services (set
   'Service Reporting' for the code)
 -Modified the Administration->Services to have option to only
  search for codes with 'Service Reporting' set.
 -Dealt with following issues in the report main query:
 --Removed the CPT4 hard-coding and instead join in code_types
   table to allow any code types with ct_fee selected
 --Modifier removed from join to the codes table
 --Billing table code_type is not the same as the codes table code_type
   so removed from the join
Support flexiblility in code types utilized in claims
Added a code_type column and support for it to the ar_activity sql table, take 4.

 -added a code_types sql column to ar_activity table
 -worked this into Z&H's previous code that migrated copays from billing to ar_session/activity tables
 -display code types in encounter history
 -incorporated storage of code type in ar_activity in arPostPayment/Adjustment functions
 -incorporated interface/billing/sl_eob_invoice.php to store code type in ar_activity
 -incorporated interface/billing/sl_eob_process.php
 -mapping of code_type in ar_activity table is flexible (ie. it will also support
  upgraders from previous versions where it is not mapped)