Workflow:
Provider starts encounter before patient arrives to enter an X-ray order if needed. When patient arrives and is in the waiting room they fill out Patient Link forms which pull over a separate signed document with signed obs terms in it.
I need to pull in the obs terms with a "future" date to a VFE form in the original office visit. I have gone through every single built in observation symbol, and none of them will do this. I read on other posts that it is possible but when I tried that approach it still only pulled in previous or current obs, not future obs.
Here is what I tried already:
In function view:
{! fn Get_Obs_Term(strObsTerm, strHDID)
{
local lResult=find("_MelCurObs","ObsValue","HDID",strHDID)
if lResult<>"" then
//replace "," with ""
lResult=replacestr(lResult,",","")
return lResult
else
return ""
endif
}
}
In an Action button (Run Process) I put document.rostest=Get_Obs_Term("DEP ROS GENL","4095")
My document.rostest edit field is only pulling in the DEP ROS GENL obs term that was signed from a previous day, not the one that was signed on the same day, different document (time is after the start of the document I'm trying to pull it in to.
Can anybody help with pulling the "future" one?
Thanks
Crystal
Hi Crystal,
Patient Link may be able to assist you with this. There are several more functions involved than what you are listing (I helped create it). I originally stored the needed code in a function library (text component) named 'PatientLink2'. You might ask them for the library file containing the entire set if you do not have it.
If they are unable to assist, please let me know.
Thanks for this information Lee! They did not know what I was talking about with the PatientLink2 function library. They said since our webforms were created before the release of the getdata feature that they will have to rebuild our forms with that feature.
I'm waiting to see how much that's going to cost.
If you had something else in mind, can you elaborate?
Thanks,
Crystal Price