I need to be able to pull in the previous obsterm by user into the listboxes we use for ROS and Physical Exam. I know there are options in vfe to do this with action buttons but it looks like this is only available for use with dropdowns.
We use 2 list boxes and a multi-line edit field and then use {OBSNOW("OBSTERM", ListBoxResult1(DOCUMENT.Listbox1,DOCUMENT.Listbox2,DOCUMENT.multiline edit))} to record the info in the obsterm.
I can use {LASTOBSVALUEBYUSER("OBSTERM")} to pull in the previous obs by the user but I need to push this into the listboxes and multiline edit field. Does anyone have any suggestions?
Justin
Thank you for the code Jerroll. I have a question if you don't mind. I went through your code and I copied the Split2ListMultiExclude function and the SignMine(obs) function. I created a "mine" button with this code
Split2ListMultiExclude("Gen appear","mine","DOCUMENT.TEMP_219549114_407_575091","dusky,diaphoretic,malnourished,cachectic,dehydrated,mild distress,moderate distress,severe distress,tearfull,emotionally distressed,obese,obtunded,lethargic,thin","DOCUMENT.TEMP_219549115_407_575111","no acute distress,well developed,non obese","DOCUMENT.TEMP_219549116_407_575311","")
I've made sure there is data in this obs term signed by me but when I click the action button I don't get any results. I must be missing something. Is there anything in the functions I would need to edit?
Justin