- This topic has 3 replies, 4 voices, and was last updated 9 years, 3 months ago by .
-
Topic
-
I think I know the answer to this, but I thought I would ask anyway. Is there a way from within an xlate to copy the entire contents of the source message into a field in the target VRL message? Or, is there a way to copy an entire segment like IN1 to a single field in the target VRL? I know I can do it with an outbound tcl proc, but I thought I would see if anyone has a xlate’y solution.
For those interested, here is what I am trying to accomplish. The inbound lab order contains IN1, IN2, and GT1 segments. We send the order to our LIS, but the LIS can’t send out these segments in the outbound charge message, but our downstream system prefer this payer info in the DFT.
The plan is to grab the order number, MRN, and necessary segments (or the entire message) from the source order message and dump them into an Sqlite DB. When the charge comes out of the LIS, we query the DB for the order record, paste the segments into the right places in the outbound message and send it out.
- The forum ‘Cloverleaf’ is closed to new topics and replies.