Hi all,

I am new to HAPI parser and Terser.

I have a HL7 v2.4 message. The PID 3 has repeating lists, each list having
five fields. Each list is separated by |

I somehow need to go through each list and get a value from one of them.

I need to read the value of PID 3.4 value; if it is of certain value
('TestXXX' in the below example)  then I need to get the value of PID 3.5
from that same list ('Get This Value QQQ' in the below example)...but I am
not sure if these are found in the first list or second list. All I know is
that each list is seperated by |.

PID segement example:

PID^1^^LIST 1~X1~X2~X3~X4~X5|LIST2~Y1~Y2~Y3~TestXXX~Get This Value QQQ
Which API do I need to use in order to loop through repeated lists and
search for what I need.


Any help is highly appreciated.

Thanks in advance.
------------------------------------------------------------------------------

_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to