We created a quicktext to add a form component to an update, but getting an error that CPS is not able to load the function library, but it will load the form, which is full of MEL vomit. What am I missing? The form loads fine when I "Add" or right-click and "Insert" a component. It opens and functions fine when added to a Document Template. But won't load the function library thru a quicktext. Has anyone else seen this? And its any form that contains Function Libraries, not just one.
Error
"Unable to load appropriate version of function library Enterprise\Function Libraries\Calculations
Form may not operate properly"
Try inserting the text component along with the form in the quick text.
We played with this again & tried this combination, but now it doesn't insert the forms. Any ideas from this?
{INSERT_FORM_COMP('Enterprise\GSO','Infusion/Inj Orders')ADD_TEXT_COMP('Enterprise\Function Libraries','My_Functions')}
Thanks in advance for any suggestions!
Have a great Thanksgiving Holiday!
Vicky
Try putting the Function Library (Text comp) first and put a ! in front of it. I have not tested this, but worth a shot...
{!ADD_TEXT_COMP( ... ) INSERT_FORM_COMP( ... )}
- Beverly
Thanks Beverly!
I gave that a try, but it didn't seem to like that one either, so back to the drawing board. 🙂
~ Vicky
I think your original error message may be key. "Unable to load appropriate version". I think the form is looking for one version of that function library and you have a different version loaded in the EMR. You might try generating a new clinical kit for the form and letting the kit reload the function library also. You should not have to call the function library from your quicktext.