Hello – I need to convert two OBX segments into multiple NTE segments using an xlate.
OBX segments to be converted are identified by a value in OBX.3. There should always be 2 OBX segments to convert.
I can capture the OBX segments to be converted, but need nsight into parsing the OBX.5 values and putting them into their own NTE segment. Sample input and desired output below. Thanks in advance!
OBX|3|ST|123-1||Orthopedic Institute LLC, CLIA 000000111||||||F||||||||^M
OBX|4|ST|123-2||122233 Great Canyon Ave, Great City CA 90001, First M Last MD||||||F||||||||
Output Should be:
NTE |1|P|Orthopedic Institute LLC
NTE |2|P|CLIA 000000111
NTE |3|P|122233 Great Canyon Ave
NTE |4|P|Great City CA 90001
NTE |5|P|First M Last MD||