Difference between revisions of "OpenEMR Patches"

From OpenEMR Project Wiki
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
= <center>5.0.0 Patch (12/04/17)</center> =
= <center>5.0.2 Patch (10/15/19)</center> =
<span style="color:red;">'''This patch is for OpenEMR version 5.0.0. If you are using a prior OpenEMR version, then you can find most recent patch [[Old_Outdated_OpenEMR_Patches|HERE]] or find out how to upgrade to 5.0.0 [[OpenEMR_Upgrade_Guides|HERE]].'''</span>
<br>
<br>
<br>
=== Download link ===
=== Download link ===
<googa>http://www.open-emr.org/patch/5-0-0-Patch-7.zip|5-0-0-Patch-7.zip|/download/file/patch_5_0_0</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. There are 72 files that are changed and this patch also includes the changes from prior patches.  '''Please read through the [[OpenEMR_Patches#List_of_files_(5.0.0)|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 19: Line 17:
:::(this script will run automatically and patch the database)
:::(this script will run automatically and patch the database)
:::(if you are using the [[OpenEMR_Multiple_Sites_Module|Multisite Module]], then skip step 2 and [[OpenEMR_Multiple_Sites_Module#Patches|follow these instructions]])
:::(if you are using the [[OpenEMR_Multiple_Sites_Module|Multisite Module]], then skip step 2 and [[OpenEMR_Multiple_Sites_Module#Patches|follow these instructions]])
:3. Remove the setup.php file from the openemr web directory (if you need this file in the future, then can download it at [https://raw.githubusercontent.com/openemr/openemr/rel-500/setup.php setup.php]).
:3. Delete the sql_patch.php file from the openemr web directory


==== Linux ====
==== Linux ====
:1. Move the patch file to the openemr web directory, then type 'unzip 5-0-0-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)
:::(if you are using the [[OpenEMR_Multiple_Sites_Module|Multisite Module]], then skip step 2 and [[OpenEMR_Multiple_Sites_Module#Patches|follow these instructions]])
:::(if you are using the [[OpenEMR_Multiple_Sites_Module|Multisite Module]], then skip step 2 and [[OpenEMR_Multiple_Sites_Module#Patches|follow these instructions]])
:3. Remove the setup.php file from the openemr web directory (if you need this file in the future, then can download it at [https://raw.githubusercontent.com/openemr/openemr/rel-500/setup.php setup.php]).
:3. Delete the sql_patch.php file from the openemr web directory
<br>
<br>


=== 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
*Upgraded graphing to dygraphs that was necessary for a security fix, reported by SEC Consult Vulnerability Lab, fixed by Brady**
*Added custom modules support - by Jerry Padgett
*Security fix - reported by ADLab of Venustech, fixed by Brady**
*MariaDB critical fix for install/upgrade - reported by Robert Down, fixed by Brady Miller
*Security fixes - fixed by Alfie**
*Cookie and session fixes - reported by Jerry Padgett, fixed by Brady Miller
*Fix view 835 html report in edihistory - fixed by Stephen**
*Clear billing log feature added - by Sherwin Gaddis
*Fix patient delete bug for tabs layout - fixed by Brady**
*Billing manager updates - by Jerry Padgett
*Added back the close patient note shortcut - reported by Jeff, fixed by Brady**
*Patient portal fixes - reported and fixed by Jerry Padgett
*Added service location to 2310B for same npi, different address - reported by Carlos, fixed by Stephen**
*CCDA fix - reported and fixed by Jerry Padgett
*Fix for box 32b for hfca billing form - reported by Henry, fixed by Stephen**
*Eye form fixes - reported and fixed by Ray Magauran
*Fix for modifying external codes - fixed by Brady**
*User editing fix - reported and fixed by Sherwin Gaddis
*Fix for inventory module destroyed menu link - reported by Nzube, fixed by Brady**
*Patient history save fix - reported by CodderEMR, fixed by Stephen Waite
*Fixed encounter menu - reported by Daniel, fixed by Ray**
*Patient history fix - reported by Stephen Waite, fixed by Jerry Padgett
*Fixes for calendar - reported by Morten, fixed by epsdky**
*Batch payment fixes - reported by Stephen Waite, fixed by zbig01
*Fix nation notes report - fixed by Frankie**
*837 claim fix - reported by Ray Magauran, fixed by Stephen Waite
*Fix insurance popup in demographics user interface - fixed by Visolve**
*X12 fix - reported and fixed by Derrik Milligan
*[[Critical_Security_Fix_for_OpenEMR_setup.php|Critical security fix]] - reported by Sven Krewitt, fixed by Brady
*Another X12 fix - reported by Ray Magauran, fixed by Stephen Waite
*Fix backup module - fixed by Brady
*Fee sheet fixes - reported by Stephen Waite and Ray Magauran, fixed by Jerry Padgett
*[[Critical_Security_Fix_for_CVE-2017-16540|Critical security fix]] - reported by Isaac Sears, fixed by Brady
*EOB invoice last bill date - reported and fixed by Stephen Waite
*Fix in Patient PDF report regarding vital signs - reported by Arnab, fixed by Jerry
*API (patient service) fix - reported and fixed by Stephen Waite
*Support all diagnostic codes (including ICD10) in post payments - reported by Kim, fixed by Stephen
*Code styling fix - reported and fixed by Brady Miller
*Fix delete patient- reported by Terry and APerez; fixed by Stephen
*MedEx fix - reported and fixed by Jerry Padgett
*Fix for duplicate procedures in the procedure order edit form - reported by Sherwin and A1Gard, fixed by Sunset systems
*New patient add fix - reported by Jeremiah Ocasio, fixed by Stephen Waite
*Fix for tabs layout in Edge browser - reported by Sunset Systems, fixed by Jerry
*Calendar scrolling fix - reported and fixed by Aaron Chantrill
*Fix to allow multiple codes of same code type on the layout billing code widget - reported by Alfonso, fixed by Brady
*eRX fix - reported by Harley Tuck, fixed by Ken Chapple
*Fix dated reminders to show message when forward it - fixed by Matrix
*Save and dispense rx  fix - reported and fixed by Dimitry Remish
*Fix to prevent unnecessary encoding errors during upgrade and globals editing - fixed by Brady
*Fix drawable images in layout based forms with larger image sizes - reported by aperez, fixed by Sunset Systems
*Fixes for Eye form - fixed by Ray
*Fix patient report tool for code_text. - fixed by Daniel
*Fix patient report tool for vitals - reported by Arnab, fixed by Arnab, Jerry and Matthew
*Fix fee sheet - reported by Carlos, fixed by Terry
*Fix past appointments widget in patient summary screen - fixed by epsdky
*Fix registration feature - reported by Arnab, fixed by Jerry
*Security fixes - reported by SEC Consult Vulnerability Lab, fixed by Brady. The OpenEMR team thanks Wan Ikram, Fikri Fadzil and Jasveer Singh from SEC Consult Vulnerability Lab (https://www.sec-consult.com/) for responsibly reporting the identified issues and working with us as we addressed them.
*Fix to patient PDF report - reported by Arnab Naha, fixed by Brady Miller and epsdky
<br>
<br>


=== List of files (5.0.0) ===
=== List of files (5.0.2) ===
(note the ones prepended with * have new changes with this patch)
<pre>acknowledge_license_cert.html
<pre>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/payment_pat_sel.inc.php
interface/fax/fax_dispatch.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/SpectacleRx.php
interface/forms/eye_mag/a_issue.php
interface/forms/eye_mag/a_issue.php
interface/forms/eye_mag/css/style.css
interface/forms/eye_mag/css/style.css
interface/forms/eye_mag/help.php
interface/forms/eye_mag/js/eye_base.php
interface/forms/eye_mag/js/eye_base.php
interface/forms/LBF/new.php
interface/forms/eye_mag/php/eye_mag_functions.php
*interface/forms/LBF/report.php
interface/forms/eye_mag/save.php
interface/forms/procedure_order/new.php
interface/forms/eye_mag/view.php
*interface/forms/track_anything/history.php
interface/forms/fee_sheet/new.php
*interface/forms/track_anything/report.js
interface/forms/fee_sheet/review/fee_sheet_justify_view_model.js
*interface/forms/track_anything/report.php
interface/forms/fee_sheet/review/initialize_review.js
interface/forms/vitals/report.php
interface/forms/fee_sheet/review/initialize_review.php
*interface/forms/vitals/templates/vitals/general_new.html
interface/forms/fee_sheet/review/js/fee_sheet_core.js
interface/main/backup.php
interface/login/login.php
interface/main/backuplog.php
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/ajax_template.html
interface/main/backuplog.sh
interface/main/dated_reminders/dated_reminders.php
interface/main/calendar/modules/PostCalendar/pnincludes/Date/Calc.php
interface/modules/zend_modules/config/application.config.php
*interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/ajax_template.html
interface/modules/zend_modules/module/Carecoordination/config/module.config.php
*interface/main/calendar/modules/PostCalendar/pntemplates/default/views/header.html
interface/modules/zend_modules/module/Installer/view/installer/installer/index.phtml
interface/main/dated_reminders/dated_reminders_add.php
interface/new/new_comprehensive.php
*interface/main/tabs/menu/menu_data.php
interface/orders/pending_followup.php
*interface/new/new_comprehensive.php
interface/orders/pending_orders.php
*interface/patient_file/encounter/forms.php
interface/orders/procedure_provider_edit.php
*interface/patient_file/encounter/superbill_custom_full.php
interface/patient_file/download_template.php
*interface/patient_file/encounter/trend_form.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/custom_report.php
interface/patient_file/summary/demographics.php
interface/patient_file/report/patient_report.php
*interface/patient_file/summary/demographics_full.php
interface/reports/collections_report.php
*interface/patient_file/summary/labdata.php
interface/reports/insurance_allocation_report.php
*interface/patient_file/summary/pnotes_full_add.php
interface/reports/ippf_cyp_report.php
interface/product_registration/product_registration_service.php
interface/reports/pat_ledger.php
*interface/themes/ajax_calendar.css
interface/reports/patient_list.php
*interface/themes/style_babyblu.css
interface/reports/sales_by_item.php
*interface/themes/style_metal.css
interface/reports/svc_code_financial_report.php
*interface/themes/style_oemr.css
interface/super/edit_layout.php
*interface/themes/style_pdf.css
interface/usergroup/usergroup_admin.php
*interface/themes/style_purple.css
library/MedEx/MedEx.php
*interface/themes/style_sky_blue.css
library/billrep.inc
*interface/themes/style_tan.css
library/classes/TreeMenu.php
interface/themes/tabs_style_compact.css
library/clinical_rules.php
interface/themes/tabs_style_full.css
library/custom_template/add_template.php
*library/ajax/graph_track_anything.php
library/dialog.js
*library/ajax/graphs.php
library/formdata.inc.php
library/appointments.inc.php
library/htmlspecialchars.inc.php
library/calendar.inc
library/classes/Installer.class.php
library/custom_template/ckeditor/_samples/assets/_posteddata.php
*library/edihistory/edih_csv_inc.php
*library/edihistory/edih_x12file_class.php
library/encounter_events.inc.php
library/FeeSheet.class.php
library/globals.inc.php
*library/gen_hcfa_1500.inc.php
*library/gen_x12_837.inc.php
*library/js/xl/dygraphs.js.php
*library/openflashchart/open-flash-chart.swf
library/options.inc.php
library/options.inc.php
library/patient_tracker.inc.php
library/options.js.php
library/report.inc
library/patient.inc
*library/sanitize.inc.php
library/smarty/plugins/function.dispatchPatientDocumentEvent.php
*public/assets/modified/dygraphs-2-0-0/README.md
portal/_header.php
*public/assets/modified/dygraphs-2-0-0/dygraph.css
portal/add_edit_event_user.php
*public/assets/modified/dygraphs-2-0-0/dygraph.js
portal/home.php
*setup.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/database.sql
sql/patch.sql
sql/patch.sql
*templates/prescription/general_fragment.html
src/Billing/X12_5010_837P.php
*templates/prescription/general_list.html
src/Common/Session/SessionUtil.php
*version.php</pre>
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</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