I am pulling my hair thru this one! I am iterating over the field OBR 28 to find all instances of “result copies to or cc dr”. It is looking at each subfield (there are three) and capturing all three. HOwever, I need to break each of the dr’s up and put them in there own temp variable.
Eg. 18549^Jay^Jan^DOM~10944^Brown^Joshua^MD~^
I need tmp to equal 18549, tmp2 to equal 10944. I can’t get this to work this way. Instead I am getting all three together stored in a variable when I do the following
1(0).1(0).0(0).OBR(0).#28(%f1)].[0]
Please advise someone?
Thank you so much,
Femina
So, the question is how do you reference each DR Code?