OpenEMR 5.0.0 Patch

bradymiller wrote on Sunday, February 26, 2017:

Hi,

The 1st patch for OpenEMR 5.0.0 has been released:
http://www.open-emr.org/wiki/index.php/OpenEMR_Patches

The patch includes the following fix:
–Fix to patient PDF report - reported by Arnab Naha and fixed by Brady Miller and epsdky

-brady
OpenEMR

1 Like

Hi,

I am working on releasing patch 2 soon. The current demo is now using the newly patched code, so please test if possible:
http://www.open-emr.org/wiki/index.php/OpenEMR_Demo

Note I use the following scratchpad wiki page to track the patch, which shows what to test:
http://www.open-emr.org/wiki/index.php/Ongoing_5.0.0_Patch_Trail
(see below ‘NEED TO TAKE OVER TO PATCH(list of files):’ line for items that have patched along with related files that have been changed)

@rmagauran , note I added your fixes to this patch, so would be good if you could do some testing on the eye form in the above demo.

thanks,
-brady

Hi,

The 2nd patch for OpenEMR 5.0.0 has been released:
http://www.open-emr.org/wiki/index.php/OpenEMR_Patches

The patch includes the following new fixes:
*Fix for duplicate procedures in the procedure order edit form - reported by Sherwin and A1Gard, fixed by Sunset systems
*Fix for tabs layout in Edge browser - reported by Sunset Systems, fixed by Jerry
*Fix to allow multiple codes of same code type on the layout billing code widget - reported by Alfonso, fixed by Brady
*Fix dated reminders to show message when forward it - fixed by Matrix
*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 - fixed by Brady

-brady

Already testing the second patch in my test environment before doing it on production.

Any ideas on how to integrate changes I’ve already made to the arrays used for ins_type variable that is defined in php (Should be in SQL I think) that I had to do to add another type of payer/insurance.

Regards,

Hi @crlsgzmn,
Depends whether you have data changes in database or code changes. Data changes in database will be fine. If you have modified php files, then need to check the file list in patch to ensure your changes are not overwritten by the patch:
http://www.open-emr.org/wiki/index.php/OpenEMR_Patches#List_of_files_.285.0.0.29
-brady

Hi Brady,

What I really meant is that it probably would be a good idea to migrate this part of the program to a list/sql data.

This is the code i’m reffering to in library/classes/InsuranceCompany.class.php

define (“INS_TYPE_OTHER_HCFA”,1);
define (“INS_TYPE_MEDICARE”,2);
define (“INS_TYPE_MEDICAID”,3);
define (“INS_TYPE_CHAMPUSVA”,4);
define (“INS_TYPE_CHAMPUS”,5);
define (“INS_TYPE_BCBS”,6);
define (“INS_TYPE_FECA”,7);
define (“INS_TYPE_SELF_PAY”,8);
define (“INS_TYPE_CENTRAL_CERTIFICATION”,9);
define (“INS_TYPE_OTHER_NON-FEDERAL_PROGRAMS”,10);
define (“INS_TYPE_PREFERRED_PROVIDER_ORGANIZATION”,11);
define (“INS_TYPE_POINT_OF_SERVICE”,12);
define (“INS_TYPE_EXCLUSIVE_PROVIDER_ORGANIZATION”,13);
define (“INS_TYPE_INDEMNITY_INSURANCE”,14);
define (“INS_TYPE_HMO_MEDICARE_RISK”,15);
define (“INS_TYPE_AUTOMOBILE_MEDICAL”,16);
define (“INS_TYPE_COMMERCIAL_INSURANCE”,17);
define (“INS_TYPE_DISABILITY”,18);
define (“INS_TYPE_HEALTH_MAINTENANCE_ORGANIZATION”,19);
define (“INS_TYPE_LIABILITY”,20);
define (“INS_TYPE_LIABILITY_MEDICAL”,21);
define (“INS_TYPE_OTHER_FEDERAL_PROGRAM”,22);
define (“INS_TYPE_TITLE_V”,23);
define (“INS_TYPE_VETERANS_ADMINISTRATION_PLAN”,24);
define (“INS_TYPE_WORKERS_COMPENSATION_HEALTH_PLAN”,25);
define (“INS_TYPE_MUTUALLY_DEFINED”,26);
define (“INS_TYPE_LETTER_OF_PROTECTION”,27);

require_once(“PhoneNumber.class.php”);
require_once(“Address.class.php”);
require_once(“X12Partner.class.php”);
require_once(“ORDataObject.class.php”);

/**

  • class Insurance Company

*/

class InsuranceCompany extends ORDataObject{
var $id;
var $name;
var $phone;
var $attn;
var $cms_id;
var $alt_cms_id;
//this is now deprecated use new x12 partners instead
var $x12_receiver_id;
var $x12_default_partner_id;

/*
*	OpenEMR used this value to determine special formatting for the specified type of payer.
*	This value is a mutually exclusive choice answering the FB.Payer.isX API calls
*	It references a set of constant defined in this file INS_TYPE_XXX
*	Defaults to type INS_TYPE_OTHER_HCFA
*	@var int Holds constant for type of payer as far as INS is concerned, see FB.Payer.isXXX API calls
*/
var $ins_type_code;

/*
*	Array used to populate select dropdowns or other form elements, it must coincide with the INS_TYPE_XXX constants
*	@var array Values are display strings that match constants for FB.Payer.isXXX payer types, used for populating select dropdowns, etc
*/
var $ins_type_code_array = array('','Other HCFA'
                                    ,'Medicare Part B'
                                    ,'Medicaid'
                                    ,'ChampUSVA'
                                    ,'ChampUS'
                                    ,'Blue Cross Blue Shield'
                                    ,'FECA'
                                    ,'Self Pay'
                                    ,'Central Certification'
                                    ,'Other Non-Federal Programs'
                                    ,'Preferred Provider Organization (PPO)'
                                    ,'Point of Service (POS)'
                                    ,'Exclusive Provider Organization (EPO)'
                                    ,'Indemnity Insurance'
                                    ,'Health Maintenance Organization (HMO) Medicare Risk'
                                    ,'Automobile Medical'
                                    ,'Commercial Insurance Co.'
                                    ,'Disability'
                                    ,'Health Maintenance Organization'
                                    ,'Liability'
                                    ,'Liability Medical'
                                    ,'Other Federal Program'
                                    ,'Title V'
                                    ,'Veterans Administration Plan'
                                    ,'Workers Compensation Health Plan'
                                    ,'Mutually Defined'
																			,'Letter of Protection'
                                    );

var $ins_claim_type_array = array(''
                                   ,'16'
                                   ,'MB'
                                   ,'MC'
                                   ,'CH'
                                   ,'CH'
                                   ,'BL'
                                   ,'16'
                                   ,'09'
                                   ,'10'
                                   ,'11'
                                   ,'12'
                                   ,'13'
                                   ,'14'
                                   ,'15'
                                   ,'16'
                                   ,'AM'
                                   ,'CI'
                                   ,'DS'
                                   ,'HM'
                                   ,'LI'
                                   ,'LM'
                                   ,'OF'
                                   ,'TV'
                                   ,'VA'
                                   ,'WC'
                                   ,'ZZ'
																	 ,'LP'
                                   );

Regards,

Hi @crlsgzmn ,
Agree would be good to migrate to a list in list_options sql table.
-brady

Hi,

The 3rd patch for OpenEMR 5.0.0 has been released:
http://www.open-emr.org/wiki/index.php/OpenEMR_Patches

The patch includes the following new fixes:
*Fix in Patient PDF report regarding vital signs - reported by Arnab, fixed by Jerry
*Support all diagnostic codes (including ICD10) in post payments - reported by Kim, fixed by Stephen
*Fix delete patient- reported by Terry and APerez; fixed by Stephen

-brady

Hi,

The 5th patch for OpenEMR 5.0.0 has been released, which is a CRITICAL SECURITY patch:
http://www.open-emr.org/wiki/index.php/OpenEMR_Patches

The patch includes the following new security fix:
*Critical security fix - reported by Isaac Sears, fixed by Brady

-brady

Hi,

The 6th patch for OpenEMR 5.0.0 has been released, which is a CRITICAL SECURITY patch:
http://www.open-emr.org/wiki/index.php/OpenEMR_Patches

The patch includes the following new fixes:
*Critical security fix - reported by Sven Krewitt, fixed by Brady
*Fix backup module - fixed by Brady

-brady

Hi,

I have tried to install patch 5.0.0.6 (-5 vent without problems). Seems to go without problems, but the page shows:
Updating version indicators…
Database Patch 5 finished.
OpenEMR Version = 5.0.0(5).
Should it not write 5.0.0.6?
Linux Ubuntu 16.04 LTS, gnome browser, apache/mysql sytem.

Regards
Jes

Hello Jes_Drost_Nissen,
We have applied patch6 for OpenEMR 5, it has been updated successfully. Refer to the attachment.
Could you share more information like screen-shot regarding the issues that you have.

Thanks,
ViSolve

I tried again, completing the full patch-procedure, and now I have the correct picture, as shown by you.

Thanks
Jes

That’s good. :slight_smile:

Thanks,
ViSolve OpenEMR Support Team

Hi,

Getting prepared to release patch 7 for OpenEMR 5.0.0, which brings in a new graphing engine along with several minor security and bug fixes (note the graphing engine actually needed to be replaced for security reasons). Can test OpenEMR with this patch here:
http://www.open-emr.org/wiki/index.php/Development_5.0.0_Demo

To help with testing the right places, below is list of the fixes/features along with related scripts that were modified:
–“fix view 835 html report in edihistory - fixed by Stephen”
library/edihistory/edih_x12file_class.php

–“patient delete bug fix for tabs layout - fixed by Brady”
interface/patient_file/summary/demographics.php

–“added back the close patient note shortcut - reported by Jeff, fixed by Brady”
interface/patient_file/summary/pnotes_full_add.php

–“adding service location to 2310B for same npi, different address - reported by Carlos, fixed by Stephen”
library/gen_x12_837.inc.php

–“fix for box 32b for hfca billing form - reported by Henry, fixed by Stephen”
library/gen_hcfa_1500.inc.php

–“bug fix when modifying external codes - fixed by Brady”
interface/patient_file/encounter/superbill_custom_full.php

–“Convert graphing to dygraphs - security fix, reported by SEC Consult Vulnerability Lab , fixed by Brady”
interface/forms/track_anything/history.php
interface/forms/track_anything/report.js
interface/forms/track_anything/report.php
interface/forms/vitals/templates/vitals/general_new.html
interface/patient_file/encounter/forms.php
interface/patient_file/encounter/trend_form.php
interface/patient_file/summary/labdata.php
library/ajax/graph_track_anything.php
library/ajax/graphs.php
library/js/xl/dygraphs.js.php
public/assets/modified/dygraphs-2-0-0/README.md
public/assets/modified/dygraphs-2-0-0/dygraph.css
public/assets/modified/dygraphs-2-0-0/dygraph.js

–“bug fix for inventory module destroyed menu link - reported by Nzube, fixed by Brady”
interface/main/tabs/menu/menu_data.php

–“fixed encounter menu z-index - reported by Daniel, fixed by Ray”
interface/themes/style_babyblu.css
interface/themes/style_metal.css
interface/themes/style_oemr.css
interface/themes/style_pdf.css
interface/themes/style_purple.css
interface/themes/style_sky_blue.css
interface/themes/style_tan.css

–“security fix - reported by ADLab of Venustech, fixed by Brady”
library/edihistory/edih_csv_inc.php
library/sanitize.inc.php

–“calendar fix - reported by Morten, fixed by epsdky”
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/header.html
interface/themes/ajax_calendar.css

–“nation notes report fix - fixed by Frankie”
interface/forms/LBF/report.php

–“calendar fix 2 - reported by Morten, fixed by epsdky”
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/ajax_template.html

–“fixed insurance popup in demographics gui - fixed by Visolve”
interface/new/new_comprehensive.php
interface/patient_file/summary/demographics_full.php

–“security fixes - fixed by Alfie”
templates/prescription/general_fragment.html
templates/prescription/general_list.html

-brady

1 Like

Hi,

The 7th patch for OpenEMR 5.0.0 has been released, which includes security fixes, a large graphing upgrade, and bug fixes:
http://www.open-emr.org/wiki/index.php/OpenEMR_Patches

The patch includes the following:
*Upgraded graphing to dygraphs that was necessary for a security fix - reported by SEC Consult Vulnerability Lab, fixed by Brady
*Security fix - reported by ADLab of Venustech, fixed by Brady
*Security fixes - fixed by Alfie
*Fix view 835 html report in edihistory - fixed by Stephen
*Fix patient delete bug for tabs layout - fixed by Brady
*Added back the close patient note shortcut - reported by Jeff, fixed by Brady
*Added service location to 2310B for same npi, different address - reported by Carlos, fixed by Stephen
*Fix for box 32b for hfca billing form - reported by Henry, fixed by Stephen
*Fix for modifying external codes - fixed by Brady
*Fix for inventory module destroyed menu link - reported by Nzube, fixed by Brady
*Fixed encounter menu - reported by Daniel, fixed by Ray
*Fixes for calendar - reported by Morten, fixed by epsdky
*Fix nation notes report - fixed by Frankie
*Fix insurance popup in demographics user interface - fixed by Visolve

-brady

1 Like

Hi,

The 8th patch for OpenEMR 5.0.0 has been released, which includes PACS imaging support and security improvements:
https://www.open-emr.org/wiki/index.php/OpenEMR_Patches

The patch includes the following:
*Added PACS Imaging Viewer - by Victor, Jerry, and Matthew
*Added Support for MySQL/MariaDB SSL Connection - by Brady

-brady

Implemented this patch without error. I however want to raise an issue with destroying stock from the inventory. Currently it doesn’t give room for the user to specify what quantity to destroy. I think this should be added to allow for specific quantity rather than the entire batch.

hi @reverton ,
Sounds like a reasonable feature to have. Guessing would not involve too much code work. Are you a developer (if so, I’d be glad to help provide your guidance on adding this to the codebase).
thanks,
-brady

Hi Brady,

Sure, I will need the guidance if you have the time to support.