I need help with Lawson formatting of HL7

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf I need help with Lawson formatting of HL7

  • Creator
    Topic
  • #49684
    Dan Loch
    Participant

    Hello,

    Is there anyone who has written interfaces to and from Lawson?

    This is my first time with FTP and Lawson.

    The Lawson HL7 message come inbound with a X’0d0a’ between every segment.  Is there a style in the FTP protocol tab that will interpret this segment delimeter? Does this have to be done with scripting?

    They are also asking for me to add carriage return / line feed to delimit segments on an outbound ADT HL7 file.

    Does this have to be done with scripting?

    We are running 5.3 on Win 2003 server

    Thanks for your help.

    Dan Loch

Viewing 3 reply threads
  • Author
    Replies
    • #63076
      John Hamilton
      Participant

      What OS  is Lawson running on?

      It may be as simple in part to change the FTP process to use Binary as opposed to ASCII.

      Is it a single messages per file or multiple messages per file ?

    • #63077
      Dan Loch
      Participant

      Thanks for responding.

      Lawson is running on AIX unix.

      I tried both ASCII and binary with the same result.

      Dan

    • #63078
      Rob Abbott
      Keymaster

      You can modify the data using TPS / scripting.  If you do this you should probably use binary transfer.

      inbound – convert CRNL to CR:

      Code:


      regsub -all “rn” [msgget $mh] “r” data
      msgset $mh $data

      outbound – convert CR to CRNL:

      Code:


      regsub -all “r” [msgget $mh] “rn” data
      msgset $mh $data

      Rob Abbott
      Cloverleaf Emeritus

    • #63079
      lisa sater
      Participant

      Most of the files I get from Lawson I use perl in kornshell scripts to change the message format.  Most of the time the MSH segment is missing from the inventory data.  I have some examples if you want them.

      Lisa

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

Forum Statistics

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