I managed to make It work.
Solution:
Input: HRL
Output: HL7 ORU
Iterate: Segment
Result from Testing Tool:
[0:TEST] The list of addresses are totally unresolvable
[0:TEST] [mid:0x31ea87c] unknown segment ” — ignored.
0(0).MSH(0) : >|^~&|CRIS|Radiology|PACS|Radiology|20140528122306||ORU|0019061702|P|2.3<
1(0).0(0).0(0).PID(0) : >|||0002192920||TEST VERS#O 14.04.02.01 (F)<
1(0).1(0).0(0).ORC(0) : >|||0019061702<
1(0).1(0).0(0).OBR(0) : >||0019061702|0019061702<
1(0).1(0).1(0).OBX(0) : >||ST|||
|||||||F<
1(0).1(0).1(1).OBX(0) : >||ST||||||||||F<
1(0).1(0).1(2).OBX(0) : >||ST||||||||||F<
1(0).1(0).1(3).OBX(0) : >||ST|||asfget 5 554t t435 5 334 4 4345 4 t4 4 4 5 yw45 |||||||F<
1(0).1(0).1(4).OBX(0) : >||ST|||v 3434 3454 54|||||||F<
1(0).1(0).1(5).OBX(0) : >||ST|||5 56 |||||||F<
1(0).1(0).1(6).OBX(0) : >||ST|||56 |||||||F<
1(0).1(0).1(7).OBX(0) : >||ST|||y7j 67j |||||||F<
1(0).1(0).1(8).OBX(0) : >||ST||||||||||F<
1(0).1(0).1(9).OBX(0) : >||ST||||||||||F<
1(0).1(0).1(10).OBX(0) : >||ST||||||||||F<
1(0).1(0).1(11).OBX(0) : >||ST||||||||||F<
1(0).1(0).1(12).OBX(0) : >||ST||||||||||F<
1(0).1(0).1(13).OBX(0) : >||ST|||REPORT|||||||F<
1(0).1(0).1(14).OBX(0) : >||ST||||||||||F<
1(0).1(0).1(15).OBX(0) : >||ST||||||||||F<
[…]
Jim, thank you very much for your help!
The only think I need to do now is to make as many OBX segments as newlines in the file. this way, I’m always generating 50 OBX Segments. Can you help with this, please?