Chuck Busch

Forum Replies Created

Viewing 15 replies – 1 through 15 (of 20 total)
  • Author
    Replies
  • in reply to: ftp-fileset protocol outbound problem setting filename #84198
    Chuck Busch
    Participant

      Here is a sample of the output

      in reply to: ftp-fileset protocol outbound problem setting filename #84197
      Chuck Busch
      Participant

        Script that takes the data from the USERDATA key and assigns it to the OBFILE key.  This is what names the outbound file.

        in reply to: ftp-fileset protocol outbound problem setting filename #84196
        Chuck Busch
        Participant

          XLATE for the conversion of the HL7 to the VRL format

          in reply to: ftp-fileset protocol outbound problem setting filename #84195
          Chuck Busch
          Participant

            Script on the inbound thread that stores the value from PID-3 in the USERDATA key

            in reply to: ftp-fileset protocol outbound problem setting filename #84194
            Chuck Busch
            Participant

              Interface description

              in reply to: ftp-fileset protocol outbound problem setting filename #84193
              Chuck Busch
              Participant

                Here are the details of this solution for anyone who needs to:

                1. Take an inbound HL7 message

                2. Parse this message and store specific pieces of data in METADATA USERDATE

                3. Format this HL7 to a readable document using a VRL

                4. FTP this document to a server with the data from the USERDATA as the filename.

                5. Each message gets it own named text document

                in reply to: ftp-fileset protocol outbound problem setting filename #84192
                Chuck Busch
                Participant

                  Please disregard this post.  I discovered the problem.  I was testing the proc with and HL7 message and those instances worked.  When I attempted to use this script in the route it was failing because the message was altered by the time it reached my proc.  Thus there was no value in PID-3 to pull because the message was no longer formatted like an HL7.

                  in reply to: ftp-fileset protocol outbound problem setting filename #84191
                  Chuck Busch
                  Participant

                    Here is the msgdump from the failed attempt.  Notice the value in the msgDriverControl is the value I am passing to it.

                    msg: 0x0204BCB4

                       msgType           : DATA

                       msgClass          :

                       msgState          : Unknown: 0 (0)

                       msgPriority       : 5120

                       msgRecoveryDbState: Log:off (1)

                       msgFlags          : 0x2

                       msgMid            : [0.0.0]

                       msgSrcMid         : midNULL

                       msgSrcMidGroup    : midNULL

                       msgHostId         : 4028562964

                       msgOrigSrcThread  :

                       msgOrigDestThread :

                       msgSrcThread      :

                       msgDestThread     :

                       msgXlateThread    :

                       msgSkipXlate      : 0

                       msgSepChars       :

                       msgNumRetries     : 0

                       msgGroupId        : 0

                       msgDriverControl  : {FILESET {{OBFILE 3100069429.txt}}}

                       msgRecordFormat   :

                       msgRoutes         :

                       msgUserData       :

                       msgStaticIsDirty  : 0

                       msgVariableIsDirty: 1

                       msgTimeStartIb    : 1466801162.528

                       msgTimeStartOb    : 1466801162.528

                       msgTimeCurQueStart: 0.000

                       msgTimeTotalQue   : 0.000

                       msgTimeRecovery   : 1466801162.528

                       msgEoConfig       : 0x00000000

                       msgData (BO)      : 0x0204BDB8

                    in reply to: IF action in a xlate to test for the string S+RTN #83282
                    Chuck Busch
                    Participant

                      Thank you that worked.

                      I am on CloverLeaf 6.1.1

                      in reply to: Unassisted upgrade 5.8 – 6.1 #82254
                      Chuck Busch
                      Participant

                        We are in the process of upgrading from Redhat Linux 5.8 to Windows Server 2012 6.1.  In the product specifications it reads 2012 R2 is not validated and I was wondering if everyone followed that recommendation or if you installed it on 2012 R2>

                        in reply to: Convert a File to an ORU using to VRL in an HRl #81966
                        Chuck Busch
                        Participant

                          My data is like this>

                          Seg

                          Seg

                          Seg

                          Seg

                          Seg

                          Seg

                          OBX

                          Literally it is

                          MSH

                          PID

                          PV1

                          ORC

                          OBR

                          {OBX}

                          I am making the file myself with C# extraction from a database.  I have one record per line.  I can put any filed seperator I want in the data.  In the screen shot above I used a pipe for the Seg vrl and a tilda for the OBX vrl.

                          in reply to: Convert a File to an ORU using to VRL in an HRl #81964
                          Chuck Busch
                          Participant

                            I had hoped to add more screen shots but I guess we can only upload 3.  In particular I wanted to  upload the XLATE.  In it I am trying to ITERATE using the OBX segment defined in HRL.  I am using the Type of segment and the variable %s1.

                            in reply to: bang line for stand alone tcl script #79559
                            Chuck Busch
                            Participant

                              Max,

                              Thanks for the suggestion to use the time mode to execute my scripts.

                              in reply to: RedHat Samba Mount Issue #69261
                              Chuck Busch
                              Participant

                                The problem I have is this.  I want to use Cloverleaf to transfer files from a server outside of our network to a cold feed in folder for HPF.  The VPN tunnel is built between Cloverleaf and the outside system.  I am not sure what the best way to proceed is.

                                1.  Should I create a share on my PWIM box for the sending system to drop files to.

                                 or  Should I try and FTP them from the outside server using my inbound thread.

                                2. Then for the outbound to the cold feed in directory.

                                  a. Should I use samba to mount a share to that directory or is there a different way to do this?

                                in reply to: RedHat Samba Mount Issue #69259
                                Chuck Busch
                                Participant

                                  Max,

                                  At what UPOC do you put this script.  Does it go

                                  Protocol > Properties > Start-up procedures .

                                  or

                                  Does it go in the Outbound Tab > TPS Outbound Data

                                Viewing 15 replies – 1 through 15 (of 20 total)