Single Message Group to an incremented file name

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Single Message Group to an incremented file name

  • Creator
    Topic
  • #53583
    Chris Wethey
    Participant

      We are working with Practice Fusion and they want us to send each HL7 message (result) to a incremented file. Looking for help on what process to use to generate what they need.

    Viewing 2 reply threads
    • Author
      Replies
      • #78199
        Charlie Bursell
        Participant

          I don’t really know what you maen by an incremented file.  If you mean append to a file then there are two issues.  One build the file and two at some point deliver the file

          I would use a UPoC protocol with one script in both the read and write mode.  In the write mode the script will exacute in run mode.  Simply append the message to the file

          In the protocol read mode the script will run in the time mode.  At that time move the script, FTP it or whatever

        • #78200
          Chris Wethey
          Participant

            The file would be a date/time stamp for each result generated thru the Interface Engine then the file would be picked up thru a script and dropped onto the receiving system.  So 3 ORU messages would be labeled rad12032012100100.dta, rad12032012100101.dta, rad12032012100102.dta.  The receiving site does not want the HL7 messages appended to one file.

          • #78201
            James Cobane
            Participant

              Chris,

              You could use the fileset-ftp protocol with an outbound tps that changes the outbound filename.  There is a file/proc in the $HCIROOT/contrib directory that you can copy and modify to suit your needs.  The proc/file is ‘fileset_numfile_out.tcl’.

              Hope this helps.

              Jim Cobane

              Henry Ford Health

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