- This topic has 2 replies, 3 voices, and was last updated 15 years, 11 months ago by .
-
Topic
-
Hello, I have a field iteration on TXA23 (repeating field) to insert an system processing ID on each phycians record. This is working.
2249^Pasternak^Keith^^^^^^^^^^EPROV~8216^Oh^Young^S^^^^^^^^^EPROV
But I also need to concat a a specific provider at the end of of the field, so it looks like:
2249^Pasternak^Keith^^^^^^^^^^EPROV~8216^Oh^Young^S^^^^^^^^^EPROV~PL5005
The number of providers on each message varies and with my attempts I am only able to concat to the field first component. |2249~PL50005^
Any help would be appreciated.
Code:
{ { OP ITERATE }
{ BASIS 0(0).TXA.#23 }
{ VAR %f1 }
{ TYPE field }
{ BODY {
{ { OP IF }
{ ERR 0 }
{ COND {0(0).TXA.#23(%f1).[0] ne @null} }
{ THENBODY {
{ { OP COPY }
{ ERR 0 }
{ PRE {
xlt_esp_prov_select_idtype
}}
{ IN {{0(0).TXA.#23(%f1).[0]}} }
{ OUT {{0(0).TXA.#23(%f1).[12]}} }
}
}}
{ ELSEBODY {
}}
}
{ { OP IF }
{ ERR 0 }
{ COND { ~0(0).TXA.#2.[0] eq @ltr || ~0(0).TXA.#2.[0] eq @ltr1} }
{ THENBODY {
{ { OP COMMENT }
{ COMMENT {Add the letter pool to the end of the CC md field TXA 23} }
}
- The forum ‘Cloverleaf’ is closed to new topics and replies.