Implementation of LBF visit forms in Onsite Portal

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

If you overwrite the patch with the prepatch and confirm file by file, there are size differences there that might help narrow it down but i’ll leave it with you to hunt :slight_smile:

Yep, we’ll need to reissue patch.

1 Like

This is what I had to do:

I went into the database and changed the “pending_action” field in the “onsite_portal_activity” table, from I think “editing” to “review” (I believe), so they would show up in the portal back end. I now see all the forms, including those that have not been completed by the patients. There might have been a bug at one time; which is that when the patients completed the forms and sent the forms for review, the program did not change this field from “editing” to “review”. Hence, the forms did not show up in my end.

I realized you guys were busy, and since I don’t use linux, but freebsd, and at one point windows, I was not sure if it was me or the program. At any rate, once that field is set, you have to go back and unset it, (rather change it) in the database.

Hope it helps someone else.

Sandra

@sjpadgett Looking around the patient portal some more I have noticed that the patients cannot access reports? This also happens in the demo, so just wondering if there is an acl or something to change somewhere to enable this or if this is a bug?

Suppose to be a v6.0 feature that I must of put in 5.0.2. You have to activate the portal user then give permissions.

Currently inactive by default so tick the inactive on user gui to see portal user

Notice:

1 Like

Applying this patch I no longer see LBF forms and only see the text where the form should be.

are you appying the 502_addendum-patch_5.zip

Because works for me

Working, I appear to have {EncounterForm:LBF} and {LBF: } as directives i can pick from which confused me there for a bit! Using the first everything is working again as it should :slight_smile:

Where do I find Patient_History.tpl located?
I don’t have it, or don’t know how to find it.

Thanks