XLATE configurator: copying multiple segments

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf XLATE configurator: copying multiple segments

  • Creator
    Topic
  • #49625
    John Harvey
    Participant

    Hi,  

    I’m building an xlate procedure to convert ADT messages from HL7 v 2.4 to 2.1.  Overall, it’s pretty well coded.  I’m in the process if includinig the ZCD segments now.  I’ve built a ZCD segments in both my HL7 2.1 and 2.4 configurations and am testing it.

    What I’ve done is a pathcopy of ZCD 2.4 to ZCD 2.1.  I’ve listed both segments as optional and repeating, and I’m testing an A01 message with three ZCD segments.  What’s happening is I’m only getting the first segment to transfer.  Any thoughts on what I might me missing?

    As always, thanks!

    John

    🙂

Viewing 1 reply thread
  • Author
    Replies
    • #62764
      John Harvey
      Participant

      I answered my own question after not even 5 minutes of trial and error!  All I needed to do was, while in Pathcopy,  make the sourse look like this: 4(0).[{ZCD}](0) (where ZCD is in the appropriate brackets), and then do the same thing for the destination.

      If nothing else, I hope this info comes in handy for someone else…thanks!

      😀

    • #62765
      Jim Kosloskey
      Participant

      John,

      That is interesting.

      I would have thought one would have had to ITERATE over the Segment and do the PATHCOPY inside the ITERATE.

      Jim Kosloskey

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

Viewing 1 reply thread
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,126
Forums
28
Topics
9,296
Replies
34,439
Topic Tags
287
Empty Topic Tags
10