I have an ORM with the following structure:
MSH
EVN
PID
PV1
{
ORC
RXO
RXR
{RXG}
}
This will convert to an RDS with a similar structure:
MSH
EVN
PID
PV1
{
ORC
RXD
RXR
}
The problem is that the {RXG} is repeated. So this to work I need to create the ORC,RXD, RXR again eg
MSH
EVN
PID
PV1
ORC
RXD|1|values from RXG1
RXR
ORC
RXD|2|values from RXG2
RXR
My translation works for only the first RXG, so all I get is:
MSH
EVN
PID
PV1
ORC
RXD|1|values from RXG1
RXR
The source message can contain single or multiple RXG.
1) How do I use a segment iteration to create a new group?
2) Will I need to use a TCL?
Thanks for your help in advance.