New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redesigned new encounter form with help file #1572
Conversation
interface/forms/newpatient/common.php interface/forms/newpatient/common_help.php minor addition to flat stylesheets
Set up an Up For Grabs demo for this PR here: |
In general it is a good idea to have context sensitive help throughout application - probably as part of menu and not the individual screens. Logic would be to offer screen specific help if present otherwise start with a overview which contains navigation to next level. It also may be overkill to translate help documents one sentence/phrase at a time. How about following ippf documentation template? Then documentation will have language as major node -- ippf can be treated as a 'language'. |
Providing a system wide context sensitive help is a laudable goal to make the application user friendly. This however would require a tremendous amount of work. This approach is an effort to modularize the process and provide relevant help where needed. By linking the help to the particular page the user receives the needed information without having to go searching elsewhere in a detailed document like an instruction manual. This approach would let the user quickly look up use of a particular part of the page they may have difficulty in understanding. These files have been deliberately created in this fashion for the following reasons: Screenshots to provide visual clues have been left out to ensure ease of maintaining the document through different versions, more so if it will be translated. Moreover it blends in with the application unlike a link to an external document. |
To clarify earlier post, help file in this PR provides more or less same information as : Our thought was that by adding few lines of code through an include would enable making documentation available for all screens. An example would be:
In our experience, translating a document a sentence or phrase at a time creates more potential problems in the main application (which is the primary purpose of xl functions). Anyway, since help is primarily an on-boarding accelerator it is matter of limited interest for most sites. |
Just going to weigh in on the translations issues. It's very tough to get folks to translate and adding another mechanism (than just the translation spreadsheet) would likely mean that the stuff in the Documentation directory would:
The nice thing about the xl mechanism here is that it's in the same pipeline for the translators (ie. translate them in the google doc translation spreadsheet) and if the help documentation ever got updated, then it will force the translations to be re-updated. Agree that it is tougher since things on the spreadsheet are "out of context" but the above advantages do outweigh this issue. |
I think in-program help is not something we can maintain; as Brady said translation would be a nightmare. This kind of help doc is better suited for the wiki (Or the new shiny and pretty docs system coming soon) |
@robertdown , @zbig01 , |
I'd still prefer to not embed help docs - or if we do, they should come out of the new docs system, maybe we write an build command that brings them into the codebase. Single source of truth for help docs is imperative. Otherwise we'll quickly fall into even more outdated docs |
It is rare that we have a developer create documentation, and even more rare if we mandate a specified format :) |
I approach the problem as a user first and developer second. I note the cogent arguments being advanced against this feature. From a practical viewpoint during the course of a single workday I have to use multiple different EMR's Epic, Cerner, openEMR and various PACS systems to get the job done. Keeping up with the multitude of changes that is introduced in each of these systems is a highly frustrating experience. The added benefits of this feature it is easy to change and edit, quickly amenable to translation and if a new feature is added a couple of lines can be added or modified from the existing help file to keep it current. |
@bradymiller - Yes it's rare, but it's not a free for all; having a system in place is important. @zbig01 - A centralized repo already exists in the form of the wiki. Currently that's not easily translatable, but our upcoming rebuild will have translation built in, so it'll be easy for people to contribute a translation. But I can't expect a documentation writer to be able to traverse the codebase. I'm really against putting help files in the codebase, it sets a bad standard. Help documentation belongs on the wiki. |
hi @robertdown ,
(and if we ever have a system in place that will support this in the future, then I would be happy to copy/paste/remove this doc into that new system in the future :) ) |
It’s not about a better system for in-code docs, it’s about not putting documentation in the codebase. |
Related ongoing forum thread can be found here: |
oops on the 'close and comment', just re-opened :) |
This PR has been updated and migrated to the following PR: |
interface/forms/newpatient/common.php
interface/forms/newpatient/common_help.php
minor addition to flat stylesheets
New Encounter Form
Help Modal
below by bradymiller:
Up For Grabs demo for this PR is here:
https://www.open-emr.org/wiki/index.php/Development_Demo#Delta_-_Up_For_Grabs_Demo