Implementation of LBF visit forms in Onsite Portal

Here is patch for those wanting to try out. Remember this patches from 5.0.2(4) so previous patches are not included.
This patch includes all new fixes for patch 5 including

  • EOB bug fix
  • 2020 ICD10 code zips
  • Reworked portal custom report
  • Of course new LBF feature.
2 Likes

This is cool too! v6.0.0

2 Likes

And for v6.0.0:

1 Like

I am stuck on the use of github. Can you recommend a YT video that can help me understand github?
Thanks
I would like to work toward catching up such that I can document. It is hard for me to document if I don’t understand or apply the information.
Is ports applications like in freebsd or is it short for portal?

Hi Sandra, Sorry for misunderstanding. By port I’m talking about porting code i.e making v5.0.2 version of feature compatible with v6.0.
I merged the PR into master(v6.0) so it’s just a reference in this thread so I can show off! :slight_smile:

If you want to test the new feature in v5.0.2(4) then apply the patch from here: Implementation of LBF visit forms in Onsite Portal
Else install v6.0 dev from master or downloads(I believe)

1 Like

I see, I did install master today, actually, I could not install it, check this out:

BTW, you should show off :slight_smile: it’s a lot of work

@sjpadgett Hi Jerry, Getting an error in the admin panel using this whenever I try to visit the Portal Audits page from the portal alerts menu.

Oh Snap!
Unauthorized

You may want to try returning to the the previous page and verifying that all fields have been filled out correctly.

If you continue to experience this error please contact support.

Stack Trace:

#0 /var/www/portal/patient/fwk/libs/verysimple/Phreeze/Dispatcher.php(90): GenericRouter->GetRoute(‘GET:onsiteactiv…’)
#1 /var/www/portal/patient/index.php(52): Dispatcher::Dispatch(Object(Phreezer), Object(SavantRenderEngine), ‘’, NULL, Object(GenericRouter))
#2 {main}

Does portal patient documents work?
Sounds like ya don’t have php RewriteEngine On in php.ini or redirect module is not installed or enabled.
sudo a2enmod rewrite
sudo systemctl restart apache2

1 Like

This might be a chrown issue, i’ll come back to it tomorrow now.

@sjpadgett Edit: My issue was a mix of apache chrown permission issues or cached data from 5.0.2 (4) - after using ccleaner with all browsers closed it all seems to be working fine :slight_smile:

Are you going to add nation notes support? Or maybe for fields with that give the patent a basic text editor?

The portal LBF will the same in portal as an encounter visit form so nation notes would confuse patient for sure. Hell, it confuses me still after six years!:slight_smile:

A html text area should be more that sufficient where I gave a configurable text area with directive {TextBox:rrbyccc} e.g {TextBox:04by120} for 4 rows of 120 chars.

I have no plans to add an editor though I could at some point.

Right now if i use nation notes it just appears as a white box, if the patient clicks it nothing appears.

Just noticed, I can see an error popping up in firefox console on nation notes field every time I click.
“Uncaught TypeError: top.restoreSession is not a function” [dialog.js:341:9]

=====================

Drop downs dont seem to be saving into the PDFs either, for example if i use a custom list from an LBF (Listbox w/add) the option saves and appears when being reviewed, however It does not get saved into the PDF.

When i use the chart to category onsite portal reviewed, I then check by going into the patient / documents and open the PDF, the Label Testing from the LBF form appears but not the content from the drop down box below it.

okay thanks Mark for bringing up. I’ll have to figure out a way around the session restore error and it will definitely cause probs in many places with LBF.

I’ll have to look into pull downs. Works with medical history template.

umm may take me a couple days to get to. ONC api auth is my focus now and need to get to a PR.
I’ll post back here when I figure it out

2 Likes

Sounds good, looking forward to what you find on this :slight_smile:

@madmax and All,
Here are some new fixes to portal LBF: Fix some LBF issues by sjpadgett ¡ Pull Request #3972 ¡ openemr/openemr ¡ GitHub

Also i’d like to point out that the same/all templates are available from demographics patient documents.

New testing patch for patch 4:

1 Like

I think there may be a bug here. The save and the send for review buttons are not working in patient documents in the patient portal.
The Signature button shows at the bottom “#openSignModal”
but the save and send for review buttons show only # at the bottom.

Sorry but that is what is happening at my end. I am using only the patient portal to enter new patients. BTW, I am happy to share my new patient forms. they are not perfect, also they are pain management based. But I will send them if anyone wants them.

I did install the prepatch above 5_2

I am getting this error with prepatch above with attempting to enter diagnosis code into an LBF form I have created:

Never mind this, it is only happening with one diagnosis. I don’t know why. Disregard this post.

@sjpadgett Is there a prepatch that supports the latest 5.0.2 Patch 5? I am currently using the prepatch you provided before with Patch 5 as if I don’t the LBF forums do not appear.
Just checking if there is a prepatch update needed or if I am good to use the prepatch you provided before? (which appears to be working just fine).

All my pre patches from forums are in released patch 5.

I could not get LBF forms to show in the patient portal using the patch, i had to reapply to the prepatch from above to get them to show again. (this is with clearing browser cache between tries).

It’s true and really strange! everything is in the patch 5 and when I overlay pre-patch in repository, all files match… however, i’m seeing exactly what you’re seeing.
I knew this was going to bite me!
looking into