Translation issue

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Translation issue

  • Creator
    Topic
  • #53119
    Yvonne Gaffney
    Participant

      I have a translation where I am building an hl7 message from a flat file.   My issue is that I have several phone numbers which I am trying to load in a repeating  field.  I had the repeating field loading 5 of the phone numbers; when trying to add additional phone number nothing is being populated after the 5 phone number.  I even went into the variant and specified 20 repeats and still not taking the extra phone numbers.  Any Suggestions?   🙄

    Viewing 3 reply threads
    • Author
      Replies
      • #76627
        Robert Kersemakers
        Participant

          Hi Yvonne,

          I’m sure the outbound HL7 (2.4?) message can handle more than 5 phone numbers. Normally repeat is on and set to ‘0’ to indicate indefinite repeats. I am more interested in the inbound message.

          Are more than 5 phone numbers really coming in from the inbound message? Can you ‘echo’ the phone numbers in the Xlate and see more than 5 phone numbers?

          As you mention the incoming message is a flat file and you can get an indeterminate number of phone numbers from it, the inbound message must be a HRL. Is there something in the HRL that limits the number of phone numbers to 5?

          Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

        • #76628
          Yvonne Gaffney
          Participant

            Hi Robert,

            Yes there are more than 5 phone number coming in and I am using a .vrl file.  Why must I use an HRL file?  The file is being sent as a comma delimited file and not all of the phone numbers are together.

          • #76629
            Yvonne Gaffney
            Participant

              Attached is the portion of code where I am defining my phone numbers.  Here is the field results –>

              |PRI^^^^^^(202)-726-5800^^CO~PRI^^^^^^(202) 829-3753^^CF~^^^^^^””^^CB~^^^^^^(301) 530-9351^^CH~PRI^^^^^^””^^CC|

              This is the echo which is the values I am looking for on the next iteration

              second phone = (301) 565-0331

              outVals = 2ND

            • #76630
              Tom Rioux
              Participant

                Maybe I’m thinking too simplistic, but have you checked the field size of the STF.10 field?  Maybe it is working but just getting truncated.

                Tom

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