Added create_migration.sh script to create migration template, migration log to track and migrate.php to run custom database migrations [OEMR-2]
Merge pull request #4 in OPENEMR/openemr-mi2 from OEMR-2-migrations to master

* commit '65dbd336daed405833395b3c332e59df5a814b56':
  Added create_migration.sh script to create migration template, migration log to track and migrate.php to run custom database migrations [OEMR-2]
MU2 rebase to allow review with brady's suggestions incorporated.

MU2 related change to open the education site from reminders section

a14-Patient list creation
Changes at search section and fix to the sort by functionality.

Changes against MU2 item: a13-Family health history

MUOII-12: a11 Smoking Status - display SNOMED code description alongwith the smoking status

Changes against d9-Accounting of disclosures

Changes against d4-Amendments

Changes against d2-Auditable events and tamper-resistance

Copied new tables

Fixes against Brady's suggestion
fixes for prior commit (MU2 stuff)
Fix in prior commit when php mycrypt not installed.(MU2 stuff)

Forcing enable_auditlog_encryption to be turned off if try to turn on in globals
when php mycrypt not installed. Otherwise, it will break OpenEMR when turn this on.
Need to either find a substitute for mycrypt or detail how to get it to work during
intallation.
Added Time to the date control at Log report
Time added to the date control at Clinical Report
Ensoftek:MU2: Clinical reports: Communication display in the report.
              Immunization: Added Expiration Date column
fixes for prior commit
Implemented the following changes at Clinical report as per the Vamsi's request
- show data based on the below check boxes.
fix to prior commit
Fixes
- diagnosis code was not displaying
- communication sorting
- sort by diagnosis title, drug, lab results
fix for prior commit
Changes to the Clients>Clinical report
New sort fields to sort by Allergies and Medical Problems as per the requirement came up during the MU2 certification
Also refined the sort order for Communication field
fix to prior commit
Implemented the following functionality for MU2 - §170.314(a)(12) Image Results

1. Provision to tag the encounter to the uploaded document at patient/documents page.
2. Display the links to uploaded tagged documents in the encounter page.
3. Display the links to uploded tagged documents in the past encounter page.
4. New menu option "Documents" at Patient demographics left menu to view the documents uploded to the "Lab Report" category
5. Provision to preview the uploaded document as a tooltip at above Documents page.
fixes for prior commit - moved Documents menu item to Procedures->Lab documents
Merge branch 'master' of https://stash.mi-squared.com/scm/openemr/openemr-mi2