David Barr

Forum Replies Created

Viewing 15 replies – 1 through 15 (of 898 total)
  • Author
    Replies
  • David Barr
    Participant

      We do a lot of interfaces like this, but we use Windows file shares instead of FTP to access the PDFs, and we use TCL TPS procs to read the files into the message. We mount the Windows file shares to our Linux Cloverleaf server using CIFS mounts in fstab. Also, I’ve run into so many problems dealing with binary files in Cloverleaf, that I prefer to use a command like this to read in the pdf:

      set pdfData [exec base64 -w 0 < $filename]

      This puts the data in a variable in an Base64 ASCII encoded format that you can copy directly into a field in the message.

      You could probably do the same thing if you mounted the FTP server the files are on to your Linux Cloverleaf server using the FUSE filesystem type.

       

      in reply to: Manipulating email contents in Cloverleaf #122513
      David Barr
      Participant

        Most of my replies to this thread are failing.

        • This reply was modified 3 weeks, 5 days ago by David Barr.
        • This reply was modified 3 weeks, 5 days ago by David Barr.
        in reply to: Alert questions #122512
        David Barr
        Participant

          You may be calling hcisetenv incorrectly. Here’s an example of a script that works:

          #!/usr/bin/ksh
          export CL_INSTALL_DIR=/opt/cloverleaf/cis2022.09
          export HCIVERSION=2022.09
          export HCIROOT=$CL_INSTALL_DIR/integrator
          export FPATH=$HCIROOT/kshlib
          setroot $HCIROOT
          setsite live_ord_res
          hcicmd -p cprof -c “cprof_out pstop”
          hcicmd -p cprof -c “cprof_out_qa pstop”

          in reply to: 2025.01 Server Admin Tool via Xserver on AIX #122482
          David Barr
          Participant

            Which X server are you using? Are you using Exceed, Mobaxterm, AIX console, Xorg or something else? You could switching X server software.

            in reply to: HTTPS to Epic #122458
            David Barr
            Participant

              I’d keep troubleshooting. I don’t think HTTPS is the answer.

              in reply to: HTTPS to Epic #122456
              David Barr
              Participant

                I don’t think we have any HTTPS connections from Cloverleaf to Epic. We do have HL7 connections from Cloverleaf to HL7 listeners in Interconnect. Those are sometimes tricky to troubleshoot. You have to set up routing tables and point to them with the IC_IN_TABLE in system defaults. We have multiple levels of routing. The first table routes on message type and it points to other tables that route on either sending application or sending facility.

                in reply to: Remove Leading Zeros #122438
                David Barr
                Participant

                  How are you calling the TCL proc?

                   

                  in reply to: Bi-directional TCP/IP Thread Configuration #122393
                  David Barr
                  Participant

                    That sounds very tricky. Normally that’s done with two pairs of threads: order_ib -> order_ob, result_ib -> result_ob. I wouldn’t recommend your pattern. Acknowledgements are going to be going over these interfaces as well, and it seems like they’re going to get mixed up with the messages.

                    in reply to: 203: Failure in OB Data TPS eval #122383
                    David Barr
                    Participant

                      You can also add “-c” to your hcidbdump command if you want to see TCL errors.

                      in reply to: Best practices for Cloverleaf interface support tools #122310
                      David Barr
                      Participant

                        Is there a document with release notes for 2025.01? I found the release report which is an Excel document. Is there anything more readable? The spreadsheet doesn’t make it easy to find release highlights; you have to wade through descriptions of minor bug fixes, etc.

                        in reply to: Shell Window Configuration #122306
                        David Barr
                        Participant

                          If you run the IDE from Linux, the shell button opens up an Xterm window. If you’re using MobaXterm or other software that tunnels you GUI traffic over SSH, then it should be secure.

                          in reply to: Cloverleaf Cloud Customers? #122291
                          David Barr
                          Participant

                            We’re on Rackspace for our servers, so Cloverleaf is sort of running in a cloud, but not the Infor cloud.

                            David Barr (david_barr@valleymed.org)

                             

                            in reply to: How to escape the ampersand (&) character in an Xlate #122274
                            David Barr
                            Participant

                              You can use \T\.

                              David Barr
                              Participant

                                You could always add a “msgdump $mh” command in your script for more debugging information. It should add messages to the process log to show you if the message has been modified, and if the msgdump output isn’t showing up it would indicate a problem getting your interface to run the script (not applied in the GUI or process not restarted).

                                David Barr
                                Participant

                                  The code looks fine to me, and if the testing tool says that it works, then your actual interface is probably still running the old code. I think you can “reload procedure” through the gui to apply your change, but I always just restart the process where the proc is getting run.

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