How Cloverleaf delimite messages and segments? – Thanks!

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf How Cloverleaf delimite messages and segments? – Thanks!

  • Creator
    Topic
  • #47729
    Rentian Huang
    Participant

      Good day Cloverleafers,

      Can anyone tell me what Cloverleaf uses to delimite messages and segments, in VRL/FRL?

      I have a file contains several messages. I am struggling to find the correct message terminator for each one of them.  I have tried a couple of combination of n and r, but Cloverleaf still treats it as only ONE message…

      Thanks in advance!

      Sam ^^’

    Viewing 3 reply threads
    • Author
      Replies
      • #56556
        Anonymous
        Participant

          Rentain,

          Your message is actually an HRL and not really a VRL.  What this means is that it’s a set of different VRL’s not just a single VRL.

          HL7 is an HRL.  Each message is a set of VRL’s.

          You can use the VRL and HRL tool to build this message structure.  Use the VRL tool to build the segments.  Then put them together using the HRL tool.

          Cheers,

        • #56557
          Rentian Huang
          Participant

            Greg,

            Your are absolutely right, what we are trying to do is separating the attached HRL into several VRL messages, sorry for my bad explanation.

            Can you tell me what Quovadx use to delimite between messages?

            Thanks a lot!

            Sam

          • #56558
            Anonymous
            Participant

              Actually, the standard method for putting multiple records in a file applies to files read by Cloverleaf.  The record/message separator is a line feed (new line).  This is how most everyone puts multiple records in a file.

              Your test file only has one message in it but if it had two then you’d need a line feed between the two messages.  So, your messages are a group of VRL’s where each VRL is separated by a carriage return.  Pretty much the same as an HL7 batch of messages in a file.

            • #56559
              Rentian Huang
              Participant

                Greg,

                So messages in quovadx will be delimited by New line (n). What about segments? Are they delimited by Cr (r)?

                Thanks!

                Sam  

                8)

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