Trying to utilize this symbol to pull some info into a handout, but as it is it only works when an update is active.
I must be missing with something.
Thanks in advance
Here is what did the trick (thanks to Lee for the clue):
{!fn PullUroAssessment() {
local temp = getfield(LIST_OBS("ASSESSMENT","Signed","Delimited","Value"),"|","")
local hold
local rslt =""
for i=1, i<=size(temp),i=i+1 do
hold = getfield(temp[i],"^","")
if hold[9] =="Physicians East P.A. - Urology" then
rslt = rslt + hold[1]
endif
endfor
return rslt
}}{PullUroAssessment()}
Hi Daniel,
This is by design since it is the document's location that the data symbol references, not the patient's home LOC or the provider's LOC. No active (open) document, no LOC for this symbol.
To do what I think you want to do, you will need to do some function writing leveraging index 9 of LIST_OBS.
Hope this helps.
Thank you! Sometime just takes someone to get me thinking here is what I used:
{!fn PullUroAssessment() {
local temp = getfield(LIST_OBS("ASSESSMENT","Signed","Delimited","Value"),"|","")
local hold
local rslt =""
for i=1, i<=size(temp),i=i+1 do
hold = getfield(temp[i],"^","")
if hold[9] =="Physicians East P.A. - Urology" then
rslt = rslt + hold[1]
endif
endfor
return rslt
}}{PullUroAssessment()}