Field Length in HL7 Variant

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Field Length in HL7 Variant

  • Creator
    Topic
  • #52018
    Bob Moriarty
    Participant

      CL 5.3

      If the HL7 variant used in the inbound side of an xlate has a field with a defined length of 2, but the xlate has logic that looks for a 3-byte string, and the inbound transaction has a 3-byte string, does the xlate see 2 bytes or 3?

      (It’s not my logic.)  ðŸ™‚

      TIA

      –Bob

    Viewing 1 reply thread
    • Author
      Replies
      • #72734
        Jim Kosloskey
        Participant

          Bob,

          On the inbound side the field length is not restrcitive so you should see the 3 characters.

          If you COPY that field untouched to the outbound and there is a field length discrepency, the outbound variant will cause truncation.

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

        • #72735
          Bob Moriarty
          Participant

            Thanks Jim.

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