Added ability to return vitals as a string instead of outputting it directly

Signed-off-by: tajemo <cbezuidenhout@tajemo.co.za>
Added time slot availability checking at appointment save time to avoid double booking errors.
In our previous commit of "Payment Popup", we had made modifications to insert the COPAYs to ar_activity table instead of billing. Also we have made a script to transfer the existing COPAYs from billing table to ar_activity table. In the function ar_get_invoice_summary, we are fetching the COPAYs from the billing table. We have now added an extra modification to fetch the COPAYs from ar_activity table also.

Signed-off-by: Jacob T.Paul <jacob@zhservices.com>
Added a Provider entry to patient demographics.

 -Since the current provider entry in demographics was
  being used both as referring provider and main
  provider in the codebase, did the following:
  -Made the current providerID entry only for the main
   provider.
  -Created a new ref_providerID entry for referring provider
  -For upgraders, copied the providerID info to the
   ref_providerID field to ensure previous fx is not broken.
  -In codebase, elements that were using providerID to collect
   the referring provider now map to ref_providerID.
translation engine - allow comments in constants and translations
Migrated the copyright notice file to a acknowledgements and copyright notice file

 -Goal of this is to credit/acknowledgements anybody that has contributed any
  time/money/effort towards the project.
change to load enum for new adodb
This is an API for storing the documents in Apache CouchDB instead of in the disk.

It is implemented in such a way that it is configurable whether to store the documents only in the disk or CouchDB. The CouchDB has got a good replication feature which will make it easy to have a copy of documents in another system. Its also a good feature that CouchDB database is in consistent stage at every time. So a backup of CouchDB database can be taken at anytime by simply copying the database(CouchDB_root/var/lib/couchdb). We think this feature will be useful when the documents total size grows into GBs.

Even though CouchDB is not officially supported in Windows an unofficial version is available here:

1) http://wiki.apache.org/couchdb/Installing_on_Windows
2) https://github.com/downloads/dch/couchdb/setup-couchdb-1.1.1_js185_otp_R14B03+fix-win32-crypto.exe

Linux version is available here:

1) http://couchdb.apache.org/downloads.html

We have implemented this feature in Documents upload/download screen in Patient Demographics. This feature also can be used for storing the following files:

1) Generated X12 file
2) Generated PDF file
3) ERA file

We will implement it after getting the feedback from the community.

Configuring:

1) Install the Apache CouchDB.
2) If installation is success, normally it will be available on port number 5984.
3) It can be reached through the browser (http://localhost:5984).
4) Basic administration utility will be available in http://localhost:5984/_utils.
5) Initially it is running without username and password with all privileges. This can be reset by going to CouchDB\etc\couchdb\local.ini. In the lower side uncomment the
;admin = mysecretpassword . Put the desired password. On restarting the couchDB, this will take effect and also the password set will be hashed in the local.ini.
6) Enable CouchDB from Administration->Globals->Documents->Document Storage Method.

Signed-off-by: eldhochacko <eldho_c@yahoo.co.in>
Added DataTables 1.9.0, minus examples and documentation.
New dynamic patient list/finder feature.
Refinements to dynamic patient list/finder feature.
increment version.php for previous commit
Integration of external ICD9/10 and SNOMED

 --Integrating the external ICD9/10 tables into custom/code_types.inc.php functions
   --Functions also return customizations of external codes within the codes sql table
 --Fully integrated external ICD9/10/SNOMED into Administration->Services
 --Improved external code type choosing in the administration->lists->code types gui
Bug fix for showing active/inactive external code set entries and misc commenting
Code types - used formatted (ie. with decimals) sql columns for ICD9/10 external tables
Code types: bug fix for ICD10 external code to only show codes that are valid for coding
Optimized the Batch communication tool
Internationalization fix
minor internationalization fix
Fix to remove modifiers from diagnostic code types