Replies:

Hi,

How do I get the count of OBX segments in BPL, so I can split the message and send one line (OBX.5 value - mapping) at the time to the CSV file?
I used a Integer var context.OBXNumber with request.GetValueAt("ORCgrp().OBXgrp(*)")
While context.OBXCounter<context.OBXNumber, but it is not getting me the count.

Thanks

Thank you for replying,
The layout is identical, the CSV file will have a record with more or less lines referring to one patient/order depending of how many OBX segments we have in the message (report). OK.. I will try the BPL/DTL to split each line OBX and send it to the CSV file.
Output .csv file:
Order 123|Patient 1| line 1 report OBX...
Order 123|Patient 1| line 2 report OBX
.
.
Order 123|Patient 1| line n report OBX
Order 235|Patient 1| line 1 report OBX
.
.
Order 235|Patient 1| line n report OBX
Order 199|Patient 2| line 1 report OBX
.
.
Order 199|Patient 2| line n report OBX

Thanks

Followers:
Glenda has no followers yet.
Following:
Glenda has not followed anybody yet.
Global Masters badges:
Glenda has no Global Masters badges yet.