Todd Hamilton

Forum Replies Created

Viewing 15 replies – 1 through 15 (of 26 total)
  • Author
    Replies
  • in reply to: Version Control #121299
    Todd Hamilton
    Participant

      Jay’s advice is the way to go. For those in the cloud, repo locks can be managed by opening a ticket with Infor or using the CLAPI.

      todd.hamilton.omaha@gmail.com
      (402) 660-2787

      in reply to: Delete Segment Using Xlate (Second FT1) #120743
      Todd Hamilton
      Participant

        Thank you all for your input.  Very helpful.

        Jim, Yes, I am using BULKCOPY. I only want to delete the second group.  (The Second FT1 Group). Good question.

        Keith, Your question prompted me to look at the complete path.  That was one of my issues.  I was not referencing the path correctly.

        James, Your input helped me resolve my issue.  Once I created a new variant with an optional FT1, I was able to move forward.

        Max, Thank you for the Path information. That helped me work toward the solution.

        Solution:

        1. Use a variant to make the FT1 optional.  Otherwise, it will keep adding the blank FT1.
        2. Make sure you use the right path when referencing the segment you want to delete.

        todd.hamilton.omaha@gmail.com
        (402) 660-2787

        in reply to: send alert cloverleaf to nagios #120707
        Todd Hamilton
        Participant

          You can incorporate Nagios in your Cloverleaf alerting strategy by using Nagios Passive Checks and Nagios NSCA. This will allow OK and KO checking.

           

          Nagios Passive Checks

          https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/passivechecks.html

           

          Nagios NSCA

          https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/addons.html#

          nsca

           

           

          todd.hamilton.omaha@gmail.com
          (402) 660-2787

          in reply to: 45mb base64 encoded PDF msgs #120455
          Todd Hamilton
          Participant

            Jerry,

            For a data conversion project I worked on recently, I used cloverleaf to send large PDF files to Epic through Epic Interconnect based interface.  I did run into a minor size issue that I never resolved.  (Just ran out of time). The size issue happened around 90MB files and was most certainly a limit of our specific Epic interconnect implementation and not Cloverleaf.

            Something to consider, if your OnBase implementation, server, and team are AMAZING.  Then by all means do this through OnBase.  If not, you might want to consider Epic Interconnect.

            todd.hamilton.omaha@gmail.com
            (402) 660-2787

            in reply to: Convert jms to json. #120408
            Todd Hamilton
            Participant

              Rick,

              I have yet to accomplish this. You will need to address a few things.

              1. Create a JMS client that receives a JMS message from a JMS Queue, either using a P2P or a Pub/Sub messaging approach. This can be done using the built-in Java functionality of Cloverleaf. You will need to write Java code.
              2. Convert the message content from the JMS publisher to a JSON formatted message. What you convert it to depends on the downstream process that consumes the new JSON-formatted message. Your job is easy if the message you receive is simply a JMS text message in an XML format, and the downstream system wants a JSON representation of that XML.

              Here are some ChatGPT prompts that could get you started:

              1. “Write Java code that converts an XML string to a JSON string.”
              2. “Write some sample Java code that creates a JMS subscriber client using the JMS API.”

              Todd

              todd.hamilton.omaha@gmail.com
              (402) 660-2787

              in reply to: Force 19.1 to use SMAT file not SMAT DB #120407
              Todd Hamilton
              Participant

                William,

                I would use a “replicate and rename” approach if you wanted to modify an existing site by changing the SMAT setup from SMATDB to SMAT files. Basically, create a new SMAT file-based site and “load” that new site with the old site configuration. (there are many ways to do this). Then rename the two sites appropriately.

                If your goal were to provide SMATDB data to an external process that requires SMAT Files, I would create a conversion process that converts the specific SMAT DB to a set of SMAT Files and then serves the SMAT Files to your external process.

                Stay with SMATDB and create new processes to appease old legacy needs if you can.

                Todd

                todd.hamilton.omaha@gmail.com
                (402) 660-2787

                in reply to: Wait/Delay in XLATE for SQL Lookup #120197
                Todd Hamilton
                Participant

                  Tim,

                  I agree with Ab. A built-in sleep command for every message is, 99% of the time, NOT the way you want to go. I recommend taking an approach that DTC is designed to support. (You don’t have to use DTC, you can roll your own if you want). Solving the issue using a deterministic state machine model will serve you the best.
                  If you decide a state machine model is what you want to do, I HIGHLY recommend diagramming out the flow and logic first BEFORE you write the first line of DTC code. When it comes to DTC, if you can’t solve the issue on paper first, it is nearly impossible to hack out a successful interface ( like we can with simple HL7 interfaces 🙂 ).

                  Good Luck.

                  todd.hamilton.omaha@gmail.com
                  (402) 660-2787

                  in reply to: Deleting threads via TCL script or shell script? #120157
                  Todd Hamilton
                  Participant

                    Another option is to write an app or script that consumes the Cloverleaf Web API (CLAPI). I use CLAPI to programmatically delete, create, and duplicate threads. I also use CLAPI to create several (hundreds of) threads instantly based on a config file, spreadsheet/dataset, or command line arguments.

                    todd.hamilton.omaha@gmail.com
                    (402) 660-2787

                    Todd Hamilton
                    Participant

                      Marc,

                      I found the best way to get documentation for Python and JavaScript scripting (custom development) is to simply use the CL Java class documentation (javadoc).  Since Cloverleaf python and JavaScript are actually Java implementations of Python and JavaScript, simply using the Java class documentation and doing an in-memory(in brain) translation works for me. for python, Java classes become Python classes. For Javascript Java classes become JavaScript prototypes/objects.

                      Todd

                      todd.hamilton.omaha@gmail.com
                      (402) 660-2787

                      in reply to: Convert TIFF to PDF #120033
                      Todd Hamilton
                      Participant

                        Dustin,

                        I recommend using a commercial product to do image-to-OCR-to-PDF conversion.   There is a reason there is a market for this kind of solution.  It is very difficult to get it right. That being said, here is a link that will point you in the right direction for creating your own solution: Konrad Voelkel » Linux, OCR and PDF: Scan to PDF/A «

                        Generally here is what you do:

                        1. Extract the Base64 encoded string from OBX.5
                        2. Decode the string to binary
                        3. Validate the binary is a TIFF
                        4. Create a PDF (to be used later)
                        5. For each “page” of the TIFF do the following:
                        6.   Perform OCR on the TIFF page to capture the text. (Usually will not be accurate enough for clinical)
                        7.   Add a hidden PDF layer to the page that is the Text
                        8.   Add another PDF layer to the page which is the image

                        Again I recommend looking for a commercial product to do this.  Home – ARMA Buyer’s Guide (armabuyersguide.org)

                         

                        todd.hamilton.omaha@gmail.com
                        (402) 660-2787

                        in reply to: date time file drop #120000
                        Todd Hamilton
                        Participant

                          Rich, Search your Cloverleaf documentation for “Fileset FTP/Local outbound file name templates”.  You should see options like %SYS.TIMESTAMP% and %SYS.DATE%.  Does this help?

                          todd.hamilton.omaha@gmail.com
                          (402) 660-2787

                          in reply to: Using BOX Across Different CIS Versions #119859
                          Todd Hamilton
                          Participant

                            Vince,  We had some lessons learned.

                            1. When copying the Box from one server to another, use the file transfer methods of the operating system such as SFTP, not the built-in file transfer within the IDE.
                            2. Use the import/export functionality of the Box tool. Where the box tool creates a single box file.  Don’t just copy the box directory.

                            If you incorporate these things when using the box you should be able to box from an old version to a new version.

                            Todd

                            todd.hamilton.omaha@gmail.com
                            (402) 660-2787

                            Todd Hamilton
                            Participant

                              Thank you Jim.

                              todd.hamilton.omaha@gmail.com
                              (402) 660-2787

                              in reply to: CL 19 HL7 Configurator Group Indent #116862
                              Todd Hamilton
                              Participant

                                Jim,  You are right my previous description was not clear.  I want the following:
                                <pre>MSH
                                [{ SFT } ]
                                [ UAC ]
                                EVN
                                PID
                                [ PD1 ]
                                [{ ARV } ]
                                [{ ROL } ]
                                [{ NK1 } ]
                                PV1
                                [ PV2 ]
                                [
                                { ARV }
                                ]
                                [
                                { ROL }
                                ]
                                [{ DB1 } ]
                                [{ AL1 } ]
                                [{ DG1 } ]
                                [ DRG ]
                                [ {
                                PR1
                                [{ ROL } ]
                                } ]

                                </pre>
                                Notice the first ARV (Following the PD1) is not indented and the second one (following the PD2) is indented.

                                Here are the steps to follow in order to accomplish the desired indent using the IDE.

                                1. highlight the segment (ARV) you want indented.
                                2. uncheck the optional flag and the repeats flag. there should be no square or curly brackets around the segment
                                3. with ARV still selected, add a segment after the selected segment.  it does not matter what segment you add, it will be deleted eventually (ABS for example).
                                4. select both segments (ARV and ABS)
                                5. with both segments selected, check the optional flag. both segments should now be indented
                                6. select the ARV segment and check the repeats flag. the ARV segment should now have curly brackets
                                7. select the ABS segment and cut (delete) the segment
                                8. the ARV should now be indented as desired

                                Another option is to simply edit the file using vi.

                                todd.hamilton.omaha@gmail.com
                                (402) 660-2787

                                in reply to: CL 19 HL7 Configurator Group Indent #116852
                                Todd Hamilton
                                Participant

                                  Ron, Thanks for the reply.  Try this for me.

                                  1. In v19 HL7 Configurator,  create a new 2.6 variant.
                                  2. Modify the ADT_A03
                                  3. Select the second ARV segment.  The one that is indented and grouped with PV2.
                                  4. The ARV segment should be marked optional yes and repeats no. Three lines should be highlighted (The two square brackets and the{ARV} A thin yellow line should appear under the {ARV}.
                                  5. Now uncheck the optional flag.  The ARV segment should still be highlighted but now the repeat flag is active.  (As expected because the ARV was originally marked repeating)
                                  6. Now here is the interesting thing.  With the {ARV} selected, activate the optional flag.  The line should now be [{ARV}].  No more indent. That’s my problem.  I need that segment to be indented (grouped with the PV2)

                                  What am I doing wrong?

                                  todd.hamilton.omaha@gmail.com
                                  (402) 660-2787

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