Difference between revisions of "OpenEMR Patches"

From OpenEMR Project Wiki
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
= <center>5.0.1 Patch (1/19/19)</center> =
= <center>5.0.2 Patch (10/15/19)</center> =
<br>
<br>
=== Download link ===
=== Download link ===
<googa>https://www.open-emr.org/patch/5-0-1-Patch-7.zip|5-0-1-Patch-7.zip|/download/file/patch_5_0_1</googa>
<googa>https://www.open-emr.org/patch/5-0-2-Patch-1.zip|5-0-2-Patch-1.zip|/download/file/patch_5_0_2</googa>
<br>
<br>
<br>
<br>


=== Description ===
=== Description ===
This is the 7th patch. It also contains all changes from prior patches. '''Please read through the [[OpenEMR_Patches#List_of_files_(5.0.1)|list of modified files]] to ensure you haven't customized any of these, since this will copy over this.'''
This is the 1st patch. '''Please read through the [[OpenEMR_Patches#List_of_files_(5.0.2)|list of modified files]] to ensure you haven't customized any of these, since this will copy over this.'''
<br>
<br>
<br>
<br>
Line 20: Line 20:


==== Linux ====
==== Linux ====
:1. Move the patch file to the openemr web directory, then type 'unzip 5-0-1-Patch-7.zip', and confirm ok to copy over files.
:1. Move the patch file to the openemr web directory, then type 'unzip 5-0-2-Patch-1.zip', and confirm ok to copy over files.
:2. Open web browser and go to <nowiki>http://your_server_name_or_ip/openemr/sql_patch.php</nowiki>
:2. Open web browser and go to <nowiki>http://your_server_name_or_ip/openemr/sql_patch.php</nowiki>
:::(this script will run automatically and patch the database)
:::(this script will run automatically and patch the database)
Line 28: Line 28:


=== Fixes and New Features ===
=== Fixes and New Features ===
(note the ones with ** are new with this patch):
*Security fixes - reports by Will Porter ([https://lodestonesecurity.com/ from Lodestone Security]), Mera, Mirna Bassaly, and Brady Miller; fixes by Will Porter ([https://lodestonesecurity.com/ from Lodestone Security]) and Brady Miller
*Allow individual portal features ledger, secure chat and appointments disable in globals.  - Jerry Padgett**
*Added custom modules support - by Jerry Padgett
*Added Portal alerts to companion with Messages alerts on main header - Jerry Padgett**
*MariaDB critical fix for install/upgrade - reported by Robert Down, fixed by Brady Miller
*Fix encounter incorrectly populating Billing location - Jerry Padgett**
*Cookie and session fixes - reported by Jerry Padgett, fixed by Brady Miller
*Add Telemedicine POS - Jerry Padgett**
*Clear billing log feature added - by Sherwin Gaddis
*Fix POS default logic. POS now reflects service location and not billing location by default - Jerry Padgett**
*Billing manager updates - by Jerry Padgett
*Fix not selecting saved POS on encounter view(chance of selecting multiple POS on list init) - Jerry Padgett**
*Patient portal fixes - reported and fixed by Jerry Padgett
*Encounters Service and Billing locations track when POS, billing and/or service location are selected - Jerry Padgett**
*CCDA fix - reported and fixed by Jerry Padgett
*Update selected facility default POS code when facility is changed in encounter. - Jerry Padgett**
*Eye form fixes - reported and fixed by Ray Magauran
*Invoice statement reflects service and billing locations from encounter. - by Daniel Pflieger and Jerry Padgett**
*User editing fix - reported and fixed by Sherwin Gaddis
*Select statement logo file location in Globals - by Daniel Pflieger**
*Patient history save fix - reported by CodderEMR, fixed by Stephen Waite
*Change statement insurance reference to indicate type ie. primary secondary etc. - Jerry Padgett**
*Patient history fix - reported by Stephen Waite, fixed by Jerry Padgett
*LBF Option bug fix where Read Only, Write Once and Billing description modifiers (options) not invoked. - Reported by Sherwin Gaddis fixed by Jerry Padgett**
*Batch payment fixes - reported by Stephen Waite, fixed by zbig01
*QRDA reporting fixes for php 7.1 - fixed by Brady Miller**
*837 claim fix - reported by Ray Magauran, fixed by Stephen Waite
*rxnorm fix - reported by Craig Sparks, fixed by Stephen Waite**
*X12 fix - reported and fixed by Derrik Milligan
*Security fixes - reported by Jasper Yu and Purplemet team, fixed by Brady Miller
*Another X12 fix - reported by Ray Magauran, fixed by Stephen Waite
*CAMOS form fix - reported by Michael Farina and Richard Burt, fixed by Brady Miller
*Fee sheet fixes - reported by Stephen Waite and Ray Magauran, fixed by Jerry Padgett
*Security fixes - reported by Cyku, Project Insecurity, AZ Kuo, SunNn11 and l00ph0le, fixed by Brady Miller
*EOB invoice last bill date - reported and fixed by Stephen Waite
*Backup fix - fixed by Jerry Padgett
*API (patient service) fix - reported and fixed by Stephen Waite
*Tab fix - fixed by Amiel Elboim (Matrix)
*Code styling fix - reported and fixed by Brady Miller
*privDB fix - reported by Sandra Gutierrez, fixed by Brady Miller
*MedEx fix - reported and fixed by Jerry Padgett
*Billing fixes - reported by luminosity, fixed by Stephen Waite
*New patient add fix - reported by Jeremiah Ocasio, fixed by Stephen Waite
*Fax fix - reported by Venu Julapalli, fixed by Jerry Padgett
*Calendar scrolling fix - reported and fixed by Aaron Chantrill
*Main dialogue fixes - fixed by Jerry Padgett
*eRX fix - reported by Harley Tuck, fixed by Ken Chapple
*SBR fixes - fixed by Stephen Waite
*Save and dispense rx  fix - reported and fixed by Dimitry Remish
*Encounter fix - fixed by mdsupport
*Scheduling date formatting fix - reported by Brian Elcock, fixex by epsdky
*Charges panel fix - reported by Venu Julapalli, fixed by epsdky
*Miscellaneous fixes - fixed by Jerry Padgett
*Security fixes - reported by Project Insecurity - insecurity.sh, fixed by Jerry Padgett and Brady Miller
*Patient portal improvements and fixes - fixed by Jerry Padgett
*Patient image fix - reported by Luis Angel Uriarte, fixed by Brady Miller
*Redis bug fix - fixed by Brady Miller
*Session fixes - reported by htuck and cornutaurus, fixed by Brady Miller
*Backup download fix- reported by Jack Chan, fixed by Jerry Padgett
*Mysql 8 fixes - reported by Nick Igbinosa, fixed by Brady Miller and zbig01
*CCDA fixes - fixed by Jerry Padget
*WENO erx updates and fixes - fixed by Sherwin Gaddis
*Patient portal fix - fixed by Jerry Padgett
*Recurring appointments fix - fixed by epsdky
*Appointments fix - fixed by Jerry Padgett
*Couchdb fix - fixed by Brady Miller
*Acl username fix - fixed by Santiago Semhan
*Fix for prepayment in payment validation - reported by Sherwin Gaddis, fixed by Jerry Padgett
*Fix for encounter history - reported by Roland, fixed by Stephen Waite
*Fix to show text files in document viewer - fixed by Stephen Waite
*Fix in fax module - reported by Venu Julapalli, fixed by Jerry Padgett
*Fix in misc_billing form - reported by Mouse55, fixed by Stephen Waite
*Fix in MedEx - fixed by Ray Magauran
*Patient summary menu fixes - reported by luisuriarte, fixed by Brady Miller
*Security fixes -  reported by Gloomywind, fixed by Brady
*Fix display of text files in patient report - fixed by Stephen Waite
<br>
<br>


=== List of files (5.0.1) ===
=== List of files (5.0.2) ===
(note the ones prepended with * have new changes with this patch)
<pre>acknowledge_license_cert.html
<pre>ccdaservice/ccda_gateway.php 
ci/ci.sh
ccdaservice/package.json 
controllers/C_Document.class.php
ccdaservice/README.md 
interface/batchcom/batchcom.inc.php
ccdaservice/serveccda.js 
interface/billing/billing_process.php
common/database/Connector.php
interface/billing/billing_report.php
contrib/util/docker/README.md 
interface/billing/clear_log.php
contrib/util/express.php
interface/billing/edit_payment.php
contrib/util/ubuntu_package_scripts/production/changelog.Debian 
interface/billing/new_payment.php
contrib/util/ubuntu_package_scripts/production/control-php5 
interface/billing/payment_master.inc.php
contrib/util/ubuntu_package_scripts/production/control-php7 
interface/billing/payment_pat_sel.inc.php
contrib/util/ubuntu_package_scripts/production/copyright 
interface/billing/search_payments.php
contrib/util/ubuntu_package_scripts/production/README.Debian 
interface/billing/sl_eob_invoice.php
docker-compose.yml     
interface/eRxXMLBuilder.php
*interface/billing/sl_eob_search.php
interface/forms/LBF/new.php
interface/de_identification_forms/de_identification_screen2.php
interface/forms/eye_mag/SpectacleRx.php
interface/de_identification_forms/find_code_popup.php
interface/forms/eye_mag/a_issue.php
interface/de_identification_forms/find_drug_popup.php
interface/forms/eye_mag/css/style.css
interface/de_identification_forms/find_immunization_popup.php
interface/forms/eye_mag/js/eye_base.php
*interface/eRx.php     
interface/forms/eye_mag/php/eye_mag_functions.php
*interface/eRxXMLBuilder.php
interface/forms/eye_mag/save.php
interface/fax/faxq.php
interface/forms/eye_mag/view.php
interface/fax/fax_dispatch.php
interface/forms/fee_sheet/new.php
interface/fax/fax_view.php
interface/forms/fee_sheet/review/fee_sheet_justify_view_model.js
interface/forms/CAMOS/ajax_save.php
interface/forms/fee_sheet/review/initialize_review.js
interface/forms/CAMOS/content_parser.php
interface/forms/fee_sheet/review/initialize_review.php
interface/forms/eye_mag/php/taskman_functions.php
interface/forms/fee_sheet/review/js/fee_sheet_core.js
interface/forms/eye_mag/taskman.php
interface/login/login.php
interface/forms/misc_billing_options/new.php 
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/ajax_template.html
*interface/forms/newpatient/common.php
interface/main/dated_reminders/dated_reminders.php
interface/forms/newpatient/report.php
interface/modules/zend_modules/config/application.config.php
interface/globals.php  
interface/modules/zend_modules/module/Carecoordination/config/module.config.php
interface/login/login.php 
interface/modules/zend_modules/module/Installer/view/installer/installer/index.phtml
interface/main/backup.php
interface/new/new_comprehensive.php
interface/main/calendar/add_edit_event.php
interface/orders/pending_followup.php
interface/main/calendar/includes/pnAPI.php
interface/orders/pending_orders.php
interface/main/calendar/modules/PostCalendar/pntemplates/default/user/ajax_search.html 
interface/orders/procedure_provider_edit.php
interface/main/calendar/modules/PostCalendar/pnuser.php 
interface/patient_file/download_template.php
interface/main/calendar/modules/PostCalendar/pnuserapi.php
interface/patient_file/front_payment.php
interface/main/daemon_frame.php 
interface/patient_file/history/history.php
interface/main/main_screen.php 
interface/patient_file/history/history_save.php
*interface/main/tabs/js/custom_bindings.js
interface/patient_file/report/custom_report.php
interface/main/tabs/js/patient_data_view_model.js 
interface/patient_file/report/patient_report.php
*interface/main/tabs/js/tabs_view_model.js 
interface/reports/collections_report.php
*interface/main/tabs/js/user_data_view_model.js 
interface/reports/insurance_allocation_report.php
*interface/main/tabs/main.php
interface/reports/ippf_cyp_report.php
*interface/main/tabs/templates/patient_data_template.php
interface/reports/pat_ledger.php
interface/modules/zend_modules/module/Carecoordination/src/Carecoordination/Controller/EncounterccdadispatchController.php
interface/reports/patient_list.php
interface/modules/zend_modules/module/Carecoordination/src/Carecoordination/Model/EncounterccdadispatchTable.php 
interface/reports/sales_by_item.php
interface/patient_file/encounter/diagnosis_full.php
interface/reports/svc_code_financial_report.php
interface/patient_file/encounter/forms.php
interface/super/edit_layout.php
interface/patient_file/encounter/search_code.php
interface/usergroup/usergroup_admin.php
interface/patient_file/front_payment.php
library/MedEx/MedEx.php
interface/patient_file/history/encounters.php
library/billrep.inc
interface/patient_file/letter.php
library/classes/TreeMenu.php
interface/patient_file/printed_fee_sheet.php
library/clinical_rules.php
interface/patient_file/report/custom_report.php
library/custom_template/add_template.php
interface/patient_file/summary/demographics.php
library/dialog.js
interface/patient_file/summary/pnotes_fragment.php
library/formdata.inc.php
interface/patient_tracker/patient_tracker.php
library/htmlspecialchars.inc.php
interface/super/edit_list.php
library/options.inc.php
interface/super/manage_document_templates.php
library/options.js.php
interface/super/manage_site_files.php
library/patient.inc
interface/super/rules/library/RulesPlanMappingEventHandlers_ajax.php
library/smarty/plugins/function.dispatchPatientDocumentEvent.php
interface/usergroup/addrbook_list.php
portal/_header.php
interface/usergroup/adminacl.php
portal/add_edit_event_user.php
interface/usergroup/usergroup_admin.php
portal/home.php
interface/usergroup/usergroup_admin_add.php
portal/import_template_ui.php
interface/weno/admin.php 
portal/index.php
interface/weno/validate.php 
portal/lib/doc_lib.php
library/ajax/addlistitem.php 
portal/lib/download_template.php
library/ajax/adminacl_ajax.php 
portal/patient/_machine_config.php
*library/ajax/dated_reminders_counter.php 
portal/patient/libs/Controller/OnsiteDocumentController.php
*library/ajax/facility_ajax_code.php
portal/patient/scripts/app/onsiteactivityviews.js
library/appointments.inc.php 
portal/patient/scripts/app/onsitedocuments.js
library/auth.inc       
portal/patient/scripts/app/onsiteportalactivities.js
library/authentication/login_operations.php 
portal/patient/scripts/app/patientdata.js
library/authentication/privDB.php 
portal/patient/templates/OnsiteDocumentListView.tpl.php
library/classes/CouchDB.class.php
portal/patient/templates/ProviderHome.tpl.php
library/classes/Installer.class.php
portal/patient/templates/_Footer.tpl.php
*library/classes/POSRef.class.php
portal/patient/templates/_FormsHeader.tpl.php
*library/classes/QRDAXml.class.php 
portal/sign/assets/signer_api.js
*library/dated_reminder_functions.php 
portal/sign/assets/signer_modal.tpl.php
*library/dialog.js      
portal/sign/assets/signit.php
library/encounter_events.inc.php
portal/sign/css/signer_modal.css
library/ESign/js/jquery.esign.js 
portal/sign/lib/save-signature.php
library/forms.inc     
portal/sign/lib/show-signature.php
library/gen_hcfa_1500.inc.php
setup.php
library/gen_hcfa_1500_02_12.inc.php 
sql_patch.php
library/gen_x12_837.inc.php 
sql/5_0_1-to-5_0_2_upgrade.sql
*library/globals.inc.php 
sql/database.sql
*library/invoice_summary.inc.php 
sql/patch.sql
library/log.inc        
src/Billing/X12_5010_837P.php
library/MedEx/API.php  
src/Common/Session/SessionUtil.php
library/menu/src/MenuRole.php 
src/Core/ModulesApplication.php
*library/options.inc.php
src/Events/PatientDocuments/PatientDocumentEvent.php
library/options_listadd.inc
src/Events/PatientReport/PatientReportEvent.php
library/registry.inc   
src/Services/Globals/GlobalSetting.php
library/sanitize.inc.php 
src/Services/PatientService.php
library/tabs/src/TabsWrapper.php 
templates/documents/general_list.html
patients/add_edit_event_user.php
templates/documents/general_upload.html
patients/find_appt_popup_user.php 
templates/documents/general_view.html
portal/account/account.php
templates/prescription/general_edit.html
portal/account/register.php 
version.php</pre>
portal/add_edit_event_user.php
portal/find_appt_popup_user.php 
portal/get_patient_info.php 
*portal/home.php        
portal/import_template.php 
*portal/import_template_ui.php
portal/index.php      
portal/lib/appsql.class.php
*portal/lib/doc_lib.php
*portal/lib/download_template.php
*portal/lib/portal_mail.inc 
*portal/messaging/messages.php 
*portal/messaging/secure_chat.php 
*portal/patient/libs/Controller/ProviderController.php 
*portal/patient/scripts/app/onsitedocuments.js
*portal/patient/templates/OnsiteDocumentListView.tpl.php
*portal/patient/templates/_Footer.tpl.php
portal/patient/_machine_config.php
*portal/portal_payment.php
*portal/sign/assets/flashcanvas.js
*portal/sign/assets/flashcanvas.swf 
*portal/sign/assets/signpad.css 
*portal/sign/css/signer.css
*portal/_header.php    
*setup.php              
*sites/default/statement.inc.php 
*sql/database.sql      
*sql/patch.sql          
*sql_patch.php          
templates/documents/general_list.html
templates/documents/general_view.html
*version.php</pre>
<br>
<br>
<br>
<br>

Revision as of 19:52, 15 October 2019

5.0.2 Patch (10/15/19)


Download link

5-0-2-Patch-1.zip

Description

This is the 1st patch. Please read through the list of modified files to ensure you haven't customized any of these, since this will copy over this.

Installation instructions

Windows

1. Extract the zipped file into the openemr web directory, and say yes to copying over files
2. Open web browser and go to http://your_server_name_or_ip/openemr/sql_patch.php
(this script will run automatically and patch the database)
(if you are using the Multisite Module, then skip step 2 and follow these instructions)
3. Delete the sql_patch.php file from the openemr web directory

Linux

1. Move the patch file to the openemr web directory, then type 'unzip 5-0-2-Patch-1.zip', and confirm ok to copy over files.
2. Open web browser and go to http://your_server_name_or_ip/openemr/sql_patch.php
(this script will run automatically and patch the database)
(if you are using the Multisite Module, then skip step 2 and follow these instructions)
3. Delete the sql_patch.php file from the openemr web directory


Fixes and New Features

  • Security fixes - reports by Will Porter (from Lodestone Security), Mera, Mirna Bassaly, and Brady Miller; fixes by Will Porter (from Lodestone Security) and Brady Miller
  • Added custom modules support - by Jerry Padgett
  • MariaDB critical fix for install/upgrade - reported by Robert Down, fixed by Brady Miller
  • Cookie and session fixes - reported by Jerry Padgett, fixed by Brady Miller
  • Clear billing log feature added - by Sherwin Gaddis
  • Billing manager updates - by Jerry Padgett
  • Patient portal fixes - reported and fixed by Jerry Padgett
  • CCDA fix - reported and fixed by Jerry Padgett
  • Eye form fixes - reported and fixed by Ray Magauran
  • User editing fix - reported and fixed by Sherwin Gaddis
  • Patient history save fix - reported by CodderEMR, fixed by Stephen Waite
  • Patient history fix - reported by Stephen Waite, fixed by Jerry Padgett
  • Batch payment fixes - reported by Stephen Waite, fixed by zbig01
  • 837 claim fix - reported by Ray Magauran, fixed by Stephen Waite
  • X12 fix - reported and fixed by Derrik Milligan
  • Another X12 fix - reported by Ray Magauran, fixed by Stephen Waite
  • Fee sheet fixes - reported by Stephen Waite and Ray Magauran, fixed by Jerry Padgett
  • EOB invoice last bill date - reported and fixed by Stephen Waite
  • API (patient service) fix - reported and fixed by Stephen Waite
  • Code styling fix - reported and fixed by Brady Miller
  • MedEx fix - reported and fixed by Jerry Padgett
  • New patient add fix - reported by Jeremiah Ocasio, fixed by Stephen Waite
  • Calendar scrolling fix - reported and fixed by Aaron Chantrill
  • eRX fix - reported by Harley Tuck, fixed by Ken Chapple
  • Save and dispense rx fix - reported and fixed by Dimitry Remish


List of files (5.0.2)

acknowledge_license_cert.html
ci/ci.sh
controllers/C_Document.class.php
interface/batchcom/batchcom.inc.php
interface/billing/billing_process.php
interface/billing/billing_report.php
interface/billing/clear_log.php
interface/billing/edit_payment.php
interface/billing/new_payment.php
interface/billing/payment_master.inc.php
interface/billing/payment_pat_sel.inc.php
interface/billing/search_payments.php
interface/billing/sl_eob_invoice.php
interface/eRxXMLBuilder.php
interface/forms/LBF/new.php
interface/forms/eye_mag/SpectacleRx.php
interface/forms/eye_mag/a_issue.php
interface/forms/eye_mag/css/style.css
interface/forms/eye_mag/js/eye_base.php
interface/forms/eye_mag/php/eye_mag_functions.php
interface/forms/eye_mag/save.php
interface/forms/eye_mag/view.php
interface/forms/fee_sheet/new.php
interface/forms/fee_sheet/review/fee_sheet_justify_view_model.js
interface/forms/fee_sheet/review/initialize_review.js
interface/forms/fee_sheet/review/initialize_review.php
interface/forms/fee_sheet/review/js/fee_sheet_core.js
interface/login/login.php
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/ajax_template.html
interface/main/dated_reminders/dated_reminders.php
interface/modules/zend_modules/config/application.config.php
interface/modules/zend_modules/module/Carecoordination/config/module.config.php
interface/modules/zend_modules/module/Installer/view/installer/installer/index.phtml
interface/new/new_comprehensive.php
interface/orders/pending_followup.php
interface/orders/pending_orders.php
interface/orders/procedure_provider_edit.php
interface/patient_file/download_template.php
interface/patient_file/front_payment.php
interface/patient_file/history/history.php
interface/patient_file/history/history_save.php
interface/patient_file/report/custom_report.php
interface/patient_file/report/patient_report.php
interface/reports/collections_report.php
interface/reports/insurance_allocation_report.php
interface/reports/ippf_cyp_report.php
interface/reports/pat_ledger.php
interface/reports/patient_list.php
interface/reports/sales_by_item.php
interface/reports/svc_code_financial_report.php
interface/super/edit_layout.php
interface/usergroup/usergroup_admin.php
library/MedEx/MedEx.php
library/billrep.inc
library/classes/TreeMenu.php
library/clinical_rules.php
library/custom_template/add_template.php
library/dialog.js
library/formdata.inc.php
library/htmlspecialchars.inc.php
library/options.inc.php
library/options.js.php
library/patient.inc
library/smarty/plugins/function.dispatchPatientDocumentEvent.php
portal/_header.php
portal/add_edit_event_user.php
portal/home.php
portal/import_template_ui.php
portal/index.php
portal/lib/doc_lib.php
portal/lib/download_template.php
portal/patient/_machine_config.php
portal/patient/libs/Controller/OnsiteDocumentController.php
portal/patient/scripts/app/onsiteactivityviews.js
portal/patient/scripts/app/onsitedocuments.js
portal/patient/scripts/app/onsiteportalactivities.js
portal/patient/scripts/app/patientdata.js
portal/patient/templates/OnsiteDocumentListView.tpl.php
portal/patient/templates/ProviderHome.tpl.php
portal/patient/templates/_Footer.tpl.php
portal/patient/templates/_FormsHeader.tpl.php
portal/sign/assets/signer_api.js
portal/sign/assets/signer_modal.tpl.php
portal/sign/assets/signit.php
portal/sign/css/signer_modal.css
portal/sign/lib/save-signature.php
portal/sign/lib/show-signature.php
setup.php
sql_patch.php
sql/5_0_1-to-5_0_2_upgrade.sql
sql/database.sql
sql/patch.sql
src/Billing/X12_5010_837P.php
src/Common/Session/SessionUtil.php
src/Core/ModulesApplication.php
src/Events/PatientDocuments/PatientDocumentEvent.php
src/Events/PatientReport/PatientReportEvent.php
src/Services/Globals/GlobalSetting.php
src/Services/PatientService.php
templates/documents/general_list.html
templates/documents/general_upload.html
templates/documents/general_view.html
templates/prescription/general_edit.html
version.php



Previous Patches

Previous OpenEMR version patches