tzirtzipik wrote on Wednesday, January 22, 2014:
I created my own Layout Based Visits Form in openemr.Is there a file created of my form ? And if there is where is it exactly so that i can change tha display of my form?
Thank you in advance
tzirtzipik wrote on Wednesday, January 22, 2014:
I created my own Layout Based Visits Form in openemr.Is there a file created of my form ? And if there is where is it exactly so that i can change tha display of my form?
Thank you in advance
openemrdev wrote on Wednesday, January 22, 2014:
Hi
layout based forms are not like usual forms.these are stored in tables.
Please check this
http://www.open-emr.org/wiki/index.php/LBV_Forms
And let me knoe
-OpenEMR Freelancer
openemrdev@gmail.com
tzirtzipik wrote on Wednesday, January 22, 2014:
Hi
yes, i’ve seen this and it doesn’t really help me to find the location of the form so that i can change the way the fields of the form are shown. Thanks anw
openemrdev wrote on Wednesday, January 22, 2014:
Check
OpenEMR/interface/forms/LBF…
You could get some ideas
blankev wrote on Wednesday, January 22, 2014:
Hello DevOpenEEMR,
I took the liberty to add your crucial information in the Wiki page. (please feel free to correct or add more info)
http://www.open-emr.org/wiki/index.php/LBV_Forms
Katarina,
to change the lay-out you have to go back in OpenEMR to where you did create the form and start reorganizing, or start from scratch.
Or use the copy past method, as suggested by fsgl in somewhere in these Forum pages.
blankev wrote on Wednesday, January 22, 2014:
Katarina,
you won’t find the forms under administration => Forms, but can find them in administration => Lists and once created, in Administration => Lay out.
Also in Administration => Other => Database (Dont make changes in the Database unless you know what the results might be AND you did make a backup- copy for restore)
fsgl wrote on Wednesday, January 22, 2014:
To see the appearance of newly created form, go to a patient’s encounter. There will be a new tab, Layout Based. Click that tab and the name of the new form. The new form will then appear.
tzirtzipik wrote on Thursday, January 23, 2014:
I think i haven’t explained well what i need! I have created my layout based visit form as i show you on the attached picture but i what to change the way my fields and categories look like! i want them to be tabs and when one category is selected its subcategories will be shown under it! Do you know if i can actually do it? And if it can be done ,how? Is there way without changing the code? if not where should i change the code to manage the changes i want?
Thank you again in advance
blankev wrote on Thursday, January 23, 2014:
Your Layout Based Form looks like most Forms I have seen. If you are a professional Developer you can change it to your likings. If you are a medical professional like me and an average user with no coding skills, I would not try to make it even more beautiful than it is now.
In Demographics and Insurances you can see what might be a possible solution for your question and see what can be hidden and what can be shown.
mdsupport wrote on Thursday, January 23, 2014:
You can look at the patch from this message. Be aware that it changes all forms to tab display. Although it may never become part of standard code, time saved by all users in not having to scroll endlessly and click on one section is worth it.
tzirtzipik wrote on Friday, January 24, 2014:
@MD Support i looked and tried the code but it doesn’t work. First off all the insert_features.inc that is required is not stored in the openemr folder! Do you happen to know where i could find it?
tzirtzipik wrote on Friday, January 24, 2014:
Is it the same file from here? Add-on features interface (v0.00) · mdsupport/openemr@0c295b3 · GitHub
mdsupport wrote on Saturday, January 25, 2014:
No. You are looking for this list of commits for /interface/forms/LBF/new.php.
Unless you want to do git merges, it may be easier for you to pull in /interface/forms/LBF/new.php. Last patch takes out use of insert_features for community use but we never got around to testing it internally.
tzirtzipik wrote on Sunday, January 26, 2014:
i used this code that you wrote LBF Plugin option ‘F’ (Rev 1) · mdsupport/openemr@ee36dd9 · GitHub but the result was this!I need my form to look like Microsoft Word’s tabs. Up in a line all my groupnames as tabs and when a specific groupname-tab is picked its fields must be presented under the line with all the tabs. Could this be actually done?
mdsupport wrote on Monday, January 27, 2014:
You need to check why jQuery UI is not getting processed - may be you have two versions getting invoked.
tzirtzipik wrote on Monday, January 27, 2014:
i have the latest version of openemr and when i hanged the codes mine had more lines of code! Should i erase the added lines too or just check this query?
mdsupport wrote on Monday, January 27, 2014:
As stated in earlier message, we use insert_features code with all current libraries from jQuery. If you do not have that set up correctly, jQuery won’t do its magic. You could try the attached file by modifying lines 206-210 to point to correct jquery, jquery-ui and fancybox files of type js and css. You can either download the exact files from jquery site or use the latest versions available in library. Lines 209-210 need special attention since they use current Fancybox.
Before any change be sure to save all prior copies so you can revert to standard code.
Best.
tzirtzipik wrote on Monday, January 27, 2014:
Sorry to bother you again but i am not familiar with openemr nor it’s code! if i understand correctly i need to have jquery-1.10.2.min.js,jquery-ui-1.10.3.custom.min.js,jquery-ui-1.10.3.custom.min.css,jquery.fancybox.js,jquery.fancybox.css ? in my folders i dont see these files so i should download them or change the names of the directories and file in my code so that they show to the correct file?Thanks again.
mdsupport wrote on Monday, January 27, 2014:
Yes. For jQuery UI turns top lines into tabs and hides content for non-active tabs. For testing you could try earlier latest jquery versions already in js directory - just make sure that directory and names match to what you have.
Fancybox may be a problem since version included in OpenEMR (not sure the exact directory) is old. Tabs change does not depend on fancybox but we do not have a separate version with just tabs. So you may end up downloading fancybox code and putting needed files in correct location.
sunsetsystems wrote on Monday, January 27, 2014:
Be sure to check the license for the newer Fancybox. I think I saw something saying 2.x is not compatible with GPL.