Hi fellow chuggers! I had a form that I was using, a EFE form and I had made some tweeks in VFE to remove the "(critical)" after allergy lists. It worked great for several months and now isn't working? We are on CPS10-- I am not sure what happened.. Does anyone have an answer to this that they would be willing to share? Thank you in advance!
Here is the code..
{ALLLIST = getfield(ALL_AFTER("delimited"),"|","")
ALLSIZE = size(ALLLIST)
COUNT
GETMED
RETURNALL = ""
if OBSANY("NKA") == "T" then RETURNALL = fmt("No known allergies", "") + HRET
else
FOR COUNT = 1, COUNT <=ALLSIZE, COUNT = COUNT + 1
do GETALL = getfield(ALLLIST[COUNT],"^","")
RETURNALL = RETURNALL + GETALL[1] + HRET
endfor
endif
RETURNALL}
Thank you!
Amy Roberts
Kansas City Bone and Joint Clinic