Using lists in a LBF populated by static patient demographics

dmc53 wrote on Monday, August 12, 2013:

I am trying to design a LBF that will take static text from the patient history and use that to populate a list…which will then allow the doctor to select one or many of the options from this customized list using checkboxes:

Example: Upon initial intake, our staff identify 6 top problems that the patient is working on and input that into their “demographics.” At each encounter, we want doctors to generate a LBF and have the patient’s customized top problems display as a either a checkbox list or a checkbox w/text. Then, the doctor can select which of the problems were addressed during the encounter.

Any ideas on whether this is possible. Thanks!

fsgl wrote on Monday, August 12, 2013:

To create “Top Problems” section, see this thread.

For the 6 LBV forms, Administration->Lists->Layout-Based Visit Forms, name the 6 LBV forms; go->Layouts & create the forms.

The physicians can choose the form(s) from the Layout Based Tab in the Encounter.

mdsupport wrote on Monday, August 12, 2013:

Not sure where ‘Problems’/Issues are recorded in demographics. Also demographics is static but issues come and go several times which is why it is a separate list.

Have you tried adding the nation note component to LBF? It will show all issues for the patient on left and allow a click to associate a issue with that encounter. That click will also copy the description to the note text.

If you must have top 6, starting 4.1.2 you should be able to create your own category of issues as Top 6. Wonder how the physician can limit patient encounter to and only to top 6 issues!

dmc53 wrote on Monday, August 12, 2013:

Thank you! This is a start. Yes, perhaps these “Top Problems” are better stored under the “Issues” list, since they do change. Looking at the other threads here has been helpful. We are a mental health practice, and as other users have mentioned, our physicians need to document which parts of the “treatment plan” are being addressed at each encounter. So, I would really like to create a “Treatment Plan” section in the Issues list and then have those issues be selectable in a LBF.

My two questions now are:

1.How do I get “Treatment Plan” to show up in the Issues screen. This thread: https://sourceforge.net/p/openemr/discussion/202506/thread/866c9ba3/ instructs me to make a new list type in the lists database by putting in the following: ‘treatment_plan’ => array(xl(‘Treatment Plan’),xl(‘Treatment’) ,xl(‘T’),0,1), but I am a DIYer very new to database changes. Any step by step help would be appreciated (I am working in our own demo database so no worries about catastrophic data loss)

2.Once I get the Treatment Plan to show up on the Issues screen, how can I get components of the treatment plan listed under the Issues screen to be selectable components in the Nation Notes? I tried to review other threads with no success.

Thanks for thinking about these questions. Sorry if they are very basic and thanks to the community for the support!

mdsupport wrote on Monday, August 12, 2013:

Are you using 4.1.2 code base? If not, wait before making any changes. In that version

  1. Adding an entry in the list (Admin->Lists->Issue Types).
  • Issues screen will now show ‘Treatment Plan’ as an option

  • Enter issues for the patient

  • Create LBF with notes as an element. You can have other stuff as well

  • Enter an encounter for the patient

  • Open your LBF for that encounter

  • See the attached image from 4.1.2 demo site using admin/pass.

fsgl wrote on Tuesday, August 13, 2013:

Hi Daniel,

Don’t apologize for asking basic questions. I learn something new each time I respond to a question and answering questions helps to refine my own understanding of a topic, therefore questions are good for all involved.

You have two options for adding a section in Issues.

Option 1, in 4.1.1:

  1. ->openemr->library->list.inc and open file with Notepad++.
  2. insert ‘top_problems’ => array(xl(‘Top Problems’),xl(‘Top Problems’) ,xl(‘T’),0,1), between lines 41 and 42, taking care to maintain the spacing between the 4 columns.
  3. If added items in the new section don’t show up in the Patient Summary screen, check that they are active and without an end date.

Option 2, in 4.1.2 (this is much easier, if you can wait for the upgrade):

  1. ->Lists->Issues Type and add as depicted in the attachment 1, if you want the new section to be last. If you want it to appear first, assign a number less than 10 for the order.

You cannot go directly from the new section to the creation of a new clinical note. The purpose of the new section is to give the physicians a quick thumbnail reference as to the forms that will be available in the Layout Based drop down menu.

In fact, it is not even necessary to construct the new section.

If you plan 6 static text LBV forms, the title of each form will appear in the drop down menu, see attachment 2. They will also appear in the Menu->Patient/Clients->Visit Forms. I assume that you know how to construct a static text LBV form. If not, we can learn together.

dmc53 wrote on Wednesday, August 14, 2013:

Thanks folks! I’m starting to get the hang of it. This is great. I was able to add “Top Problems” to the Issues screen. I’m running 4.1.1, but I finally found the code to change! This will be great to see this updated in 4.1.2.

Now for the LBF…Some clarifying information: My ideal situation would be the following:

  1. Patient->Encounter->Layout Based->“Session Note” (I got this done already)
  2. Then, in that one session note, I would like all of the client’s “Top Problems” to appear as a checkbox list (or comparable) on that single session note. That way, the doctor can click on all the top problems addressed during that one encounter. In the attached image, I show what I am going for. Those 6 top problems were simply added manually as a list. I would like that to be populated by the “Top Problems” from the client’s Issues screen. This would be best for data collection on our end.

If that is not possible, I might just have to go with the preconstructed text of the “Top Problems” through Nation Notes. Any ideas? Thank you all for your time!!

fsgl wrote on Wednesday, August 14, 2013:

It is not obvious to me how to populate a clinical note with data from Issues automatically without changing the codes. Perhaps another forum member can point the way.

Per Pimm, the LBV Guru, a Static Text can be done, but it would be limited to 25 characters. If the text is longer, a NationNote with 6 Components, would be the solution. Nation Notes by ACE Health Solutions.

blankev wrote on Wednesday, August 14, 2013:

In my search for better advise, I just visited the Demo Production Version.

In lay out based forms there is an option under DATA Type: static text. Under description you can add as much text as needed to show static text on a LBV-form (Experimenting it seems to hold endless total of Characters).

Leave the Label(?) open and only the Description is shown. (I am still interested of what you what to place as static text for the Eye form.

BTW Nice video to show NationNotes possibilities, tnx ACE Health Solutions

bradymiller wrote on Thursday, August 15, 2013:

Hi,

Could make a new datatype widget in library/options.inc.php (this is where the LBF widgets are), that will create a checkbox list from the your custom Top Problems Issues and store them when saved. Look through that library and you’ll get an idea of how it works. The issue may be in you data collection, since the data will all be stored in one database entry(I’d probably save it in json with item title as index and then the data for the item for each entry, but you can imagine that this would be really inefficient for data processing in the future).

-brady
OpenEMR

fsgl wrote on Thursday, August 15, 2013:

Thanks, Brady, for parachuting in.

Pimm,

I don’t use Static Texts for my own practice because it would dull the clinical skills. Being an old person is bad enough, without diminution of one’s clinical observations. If I document everything with the same text each time, subtle clinical findings will be quickly overlooked.

In other specialties it may be appropriate to use Static Texts. In Daniel’s case the treatment plans probably vary little, so it makes sense to use this format. I would suggest, however, making a free text note available as well, to give the physicians flexibility in documenting the treatment of the unusual patient.

I was just curious in the mechanics of Static Text construction. Thank you. I just learned something new.

Jit Chawla did a bang up job with the video tutorial. The closeups were particularly good. I’m going to do an illustrated article on LBV and NationNotes and will incorporate that tutorial.

blankev wrote on Thursday, August 15, 2013:

I just made a static text you might like.

If you feel old you are really old! If you die tomorrow you might consider you are old today, but you still have 24 hours to go and do enjoyable things (Just a thought)

Static text can also be used as a form to make people look more closely and just give others a hint of what should have been done for things easy overlooked (Like you speaking and writing Dutch and Greek and Latin)

When making another video about NationNotes, (just an observation viewing the video) a feat showed in this video, that was distracting from the real NN power…, please do something else than making a space or a point…, explain the power of copy=>paste and what to choose from and make changes as needed and saving…

fsgl wrote on Thursday, August 15, 2013:

Pimm,

You’re a corker.

blankev wrote on Thursday, August 15, 2013:

I keep testing with your Opthalmic History, EXAM … nothing to do with good or bad, but just with doing the exercise.

In EXAM you used Affect Apropriate: These are Check boxes. Shouldn’t these be radio buttons?

Same for: Oriented 3x YES, NO can’t be good eighter you are or you are not oriented… except for some subtleties.

“The Corker”

fsgl wrote on Thursday, August 15, 2013:

The NT form was constructed before I learned how to do Radio Buttons.

If users are able to import the form, then they can make changes to suit themselves.

blankev wrote on Thursday, August 15, 2013:

QUESTION: Where can the LBV-form for Eye specialists be downloaded?

I would like to make a WIKI for import of LBV-forms since this is different from implementing the normal forms activation.

Willing to give a helping hand?

fsgl wrote on Thursday, August 15, 2013:

The 2 lbv.sql files can be found in the 8/3/13 post.

At your service, mijnheer Pimm. Might I suggest that a new thread be started for that purpose? Art Eaton was gracious enough to let us hog his thread and we have imposed on Daniel as well.

blankev wrote on Thursday, August 15, 2013:

Opening is easy, just open a new topic. Your are the Language man! So please suggestion.

This: Importing files?
Or… Importing LBV’s?
Or… What new forms are available, not included in Latest version…?
Or… Forms-LBV, Forms-Specialty, Forms just to make your own Forms etc…?

Please do a suggestion and for what Forum: HELP, DEVELOPERS, USERS-FORUM

After a while it is easy to make a WIKI-page with all questions and information received.

fsgl wrote on Thursday, August 15, 2013:

It would be great if you start “Importing LBV’s” in Users.

Thanks.

blankev wrote on Thursday, August 15, 2013:

Just for the exercise YOU should have done it, but i will go ahead…

TOPIC: Importing LBV-forms and relevant LBV field essentials and relevant changes.