openemr / openemr Goto Github PK
View Code? Open in Web Editor NEWThe most popular open source electronic health records and medical practice management solution.
Home Page: https://open-emr.org/
License: GNU General Public License v3.0
The most popular open source electronic health records and medical practice management solution.
Home Page: https://open-emr.org/
License: GNU General Public License v3.0
With current dev code, if I set Idle Session Timeout Seconds to 300, turn on tabs, log out and log in again, and let the browser sit for 5 minutes it fails to auto-logout after 5 minutes. If instead I use the sliding menu it works.
When find_code_popup.php is called, if a search_term passed in, the search is now run on first load, allowing the end user to simply click the desired result. If no search_term is provided, or the term needs refinement, the original functionality remains.
https://github.com/ophthal/openEMR_2/tree/find_code_popup
Commit to cherry-pick:
ophthal/openemr_2@26b9be5
Support keyboard shortcuts in the tab layout.
This is pretty odd and creates a blue border at bottom of tab because of it. Looks like it is only a couple pixels too large vertically. Guessing the fix will be easy.
The Open Encounter listing at top of tab layout is not getting populated when save a new encounter
Instead of line 90 in globals.php:
if (!$ignoreAuth) die("Site ID is missing from session data!");
redirect the user to the login screen and display the error message,
"Site ID is missing. Please login again."
The title elements of the Zend modules are not correctly using the translations engine (only in about 5 places). Can fix by mimicking what was done in the PatientValidation Zend module to support translation of the title element.
Emergency login email not sent when emergency access user is activated. An email should be sent.
When you activate the user that has been assigned 'Emergency Login' ACL. It should send an email to the nominated address in the globals.
Nothing, no email is received.
Trying to fix an outdated PR O_o
In the Add New Issue / Edit Issue window the Title list box is populated with list IDs instead of list Titles (which are not translated).
Here is the fix.
Not all menu items are represented in the tab layout(for example, missing the offsite and CMS portal menu items). Need to go through and ensure all the menu items are represented.
this is a testing isuue
Several strings in interface/main/tabs/js/tabs_view_model.js need translating.
When storing canvas drawings, the drawings are sent to the server as $_POST['imgBase64'] in base64 encoding (at least the Eye Form works this way). The images are processed by the addNewDocument function, called in save.php.
forms/eye_mag/save.php around line 912:
$return = addNewDocument($filename,$type,$_POST["imgBase64"],0,$size,$_SESSION['authUserID'],$pid,$category_id);
If the Global->Document->Generate thumbnail is checked, the addNewDocument fails and throws an error. It works without this checked.
Sherwin recently contributed code that is a nice starting point for drug-drug interaction which was brought into the codebase:
43694fd
The option for turning it on and quick instructions for use can be found here:
http://www.open-emr.org/wiki/index.php/Administration_Globals#Rx_NLM_Drug-Drug
The algorithm for collecting the rxcui list of the patient is here:
openemr/interface/weno/drug-drug.php
Lines 36 to 42 in 43694fd
It basically converts drugs to rxcui numbers and then checks the interactions via online call to nih service. At this point, it basically does the following:
Recommend also adding the following to improve the capturing of the patient meds/drugs:
Currently menu item list stays active after clicking (selecting) an item. It collapses only after mouse is exits the area.
Not a show stopper but certainly unusual UI behavior.
Both the popups that the flow board uses (calendar popup for recurrent appt and the standard flow board popup for regular appt) are likely not being called correctly from the page, so are not placed in the center of the screen like the other popups in the tab layout.
If I close a tab, I'm stuck with a blank screen, upon closing a tab, the next tab in the list should be opened automatically. If you closed the last tab, the new last tab should be opened.
Hi.
When I ran this database.sql file from command line (in xampp on windows) I got it -
mysql -uroot -p openemr_p2 < sql/database.sql
Enter password:
ERROR 1064 (42000) at line 6392: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '----------------------------------------------------------
DROP TABLE IF EXIS' at line 1
mysql -uroot -p openemr_p2 < sql/database.sql
Enter password:
ERROR 1064 (42000) at line 8317: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--------------------------------------------------------
CREATE TABLE `immuniz' at line 1
and the script failed.
Need to adapt the logic from here:
https://github.com/openemr/openemr/blob/master/interface/main/left_nav.php#L404-L409
And place it here:
openemr/interface/main/tabs/main.php
Lines 52 to 53 in 334477e
I just install a fresh openemr from git. After I add my facilty on Administration -> Facilities and them I add a office visit the Clinic Name does not show in Facility dropdown list
If a recurrtype 3 (Days of Week) appointment is edited by unchecking a week day that corresponds to an individual appointment with date equal to pc_eventDate, an individual appointment corresponding to that weekday will persist (with date equal to pc_eventDate)
The fix is here
EDIT - added detail to description.
To prevent issues for upgraders (whom don't clear their web browser cache) would be helpful to use the current cache busting scheme for dialog.js throughout the codebase (since there are changes in it for the tab layout).
I noticed this with the latest tab/design code. It affects my product registration buttons so I have a temporary override in place (forces the buttons to have a specific background/foreground color as opposed to using jQueryUI theme styles).
Anyway, on to the bug at hand. Please note the 3 buttons to the left (I highlighted the bottom one):
I wonder if there are other areas are affected as well.
OPENEMR: Version Number: v5.0.0-dev (which I am developing on top of)
SYSTEM: Chromium Version 50.0.2661.102 Built on Ubuntu 14.04, running on LinuxMint 17.3
Hi OpenEMR,
The use of OSI logo on the OpenEMR site (http://www.open-emr.org/) does not comply with the OSI guidelines (https://opensource.org/trademark-guidelines). We are very happy to allow continued use of the logo to highlight that OpenEMR is distributed with an OSI Approved Open Source License, but do ask that your use comply with our guidelines. Can you please:
Finally should OpenEMR use the logo elsewhere, please provide a copy of its use to the Trademark Supervisor (trademarks(a)opensource.org) within seven (7) days of its initial use, for example by sending a URL or other copy of such use.
Thanks so much,
Patrick
Use the Administration->Globals->Appearance->'Main Top Pane Screen' to populate the first tab after a user initially logs in to OpenEMR.
If the Global->Security->New form validation is not checked, a new encounter can not be created via the New Encounter Form.
Legacy themes are all the themes except for Light and Radiant.
If go the patient flow board and do following:
Looks like Doctrine is available in the codebase. It’s decent looking and compatible with Zend.
If ORM is a go, create issues for all major objects.
Add ability to be able to drag and drop the tabs (ie. reorganize them) in the tabs layout.
OpenEMR import does not support the more recent RF1 packages.
(1/2015 SNOMED RF1 package and later no longer imports correctly)
Using Tabs layout, I tested making a change in a patient's demographics and then closing the tab without saving the change. The tab closed and there was no warning. Also tested the same thing in the layout editor page (Administration -> Layouts) with the same result. Did not test other pages but I suspect it's a general problem with all.
Also regarding closing tabs, I see that the page is left empty and no existing tab is shown in its place. This seems wrong.
On testing the new tab approach, new targets for a lot of windows, I am able to open more tabs than there is room to display.
There may need to be a maximum number of tabs or a maximum width, which whenever this width is reached, maybe auto shorten the large titles to something like 8 characters.
Maybe this makes sense:
Since this is knockout.js, the fix needs to be located here. There should be a way in the Model to discern width of each opened tab, based on the length of the Tab’s Title + icons perhaps, add this tab width as an observable item or attribute of a current tabs observable, and whenever a new tab is added, a computed observable which adds up all the open/current tabs widths. If the totals tabs width is > window.width, then shorten the non-active titles as coded (maybe > 10 shorten to 8) is performed for each tab in the View.
Now how to write that is a different thing entirely.
Or something else... Maybe limit the view to a max of 5 tabs?
Ray
This appears to be secondary to the fonts being used (and the size is thus smaller making a gap between the menu and the sub-menus). This will be an easy fix and will involve likely standardizing the fonts among all the legacy themes(or perhaps using em rather than px for the font size will also fix this).
On save
Console is logging the following error:
add_edit_event.php line 990 (Or 1785 if viewing raw PHP source)
TypeError: collectvalidation is undefined
Can anyone replicate this error?
For devices with limited width, menu in tab layout can overflow. The design should allow icons to limit the menu width. One approach is to let jquery monitor viewport and automatically make the switch by using code which move label text to tile and place applicable icon as label -
`
// Replace menu text by fa
var xl_icons = {
"Calendar": "calendar",
"Flow Board": "calendar-check-o",
"Messages": "envelope",
// "Fees": "money",
// "Administration": "cog",
// "Reports": "file-text-o",
"About": "ellipsis-v",
};
$(".menuLabel").each( function(ix) {
var lbl = $(this).html().trim();
if (xl_icons[lbl]) {
$(this).css ('font-size', '150%');
$(this).attr ('title', lbl);
$(this).html('');
}
});
`
This is a huge but important task. Perhaps we can decompose the major system parts into Zend modules.
When creating new drugs/prescriptions you can't enter combination strengths as the slash is being escaped and not saved to the database. Also the length is too short to allow certain combinations now available.
On tabs layout:
The current patient is a link to open/refresh the patient tab. Will also do the same for the current encounter.
Need to add the background service logic to the tab layout (this is a mechanism to auto-run background services when users are logged into OpenEMR):
https://github.com/openemr/openemr/blob/master/interface/main/left_nav.php#L393-L411
SQL error when inserting a new "lab service" record - here is SQL from error message
INSERT INTO users ( username, password, authorized, info, source, title, fname, lname, mname, suffix, federaltaxid, federaldrugid, upin, facility, see_auth, active, npi, taxonomy, cpoe, specialty, organization, valedictory, assistant, billname, email, email_direct, url, street, streetb, city, state, zip, street2, streetb2, city2, state2, zip2, phone, phonew1, phonew2, phonecell, fax, notes, abook_type ) VALUES ( '', '', 0, '', NULL, 'Mr.', '5', '4', '6', , '29', '', '27', '', 0, 1, '28', '30', '1', '', '1', '7', '13', '', '14', '15', '16', '17', '18', '19', '20', '21', '21', '23', '24', '25', '26', '8', '10', '11', '9', '12', '31', 'ord_lab' )
If suffix
field is hidden, the insert value is set to nothing
which causes the error. You can add the records when suffix is shown. If the user type is changed, the update fails.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.