That helps a lot! I think I’m very close, but what I’m getting now is a blank repetition in that field.
Input (Assume 2nd MRN is in the MRG segment):
PID|1|MPI_Num^^^NE|1234^^^FacID^MR~23456^^^FacID^MR~78585^^^FacID^MR|…rest of PID Segment
Output:
PID|1|MPI_Num^^^NE|1234^^^FacID^MR~~78585^^^FacID^MR|…rest of PID Segment
I have deactivated the IF statement and confirmed that the Pathcopy is nulling out the PID.3 field completely. Any ideas?
Thanks!!