Forum Replies Created
-
AuthorReplies
-
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-2787Thank 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:
- Use a variant to make the FT1 optional. Otherwise, it will keep adding the blank FT1.
- Make sure you use the right path when referencing the segment you want to delete.
todd.hamilton.omaha@gmail.com
(402) 660-2787You 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-2787Jerry,
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-2787Rick,
I have yet to accomplish this. You will need to address a few things.
- 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.
- 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:
- “Write Java code that converts an XML string to a JSON string.”
- “Write some sample Java code that creates a JMS subscriber client using the JMS API.”
Todd
todd.hamilton.omaha@gmail.com
(402) 660-2787William,
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-2787Tim,
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-2787Another 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-2787January 16, 2023 at 5:25 pm in reply to: Python and Javascript equivalents for the Cloverleaf TCL extensions #120155Marc,
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-2787Dustin,
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:
- Extract the Base64 encoded string from OBX.5
- Decode the string to binary
- Validate the binary is a TIFF
- Create a PDF (to be used later)
- For each “page” of the TIFF do the following:
- Perform OCR on the TIFF page to capture the text. (Usually will not be accurate enough for clinical)
- Add a hidden PDF layer to the page that is the Text
- 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-2787Rich, 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-2787Vince, We had some lessons learned.
- 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.
- 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-2787July 15, 2022 at 2:53 pm in reply to: Infor Document Request: Cloverleaf Site Thread Recommendation #119856Thank you Jim.
todd.hamilton.omaha@gmail.com
(402) 660-2787Jim, 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.
- highlight the segment (ARV) you want indented.
- uncheck the optional flag and the repeats flag. there should be no square or curly brackets around the segment
- 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).
- select both segments (ARV and ABS)
- with both segments selected, check the optional flag. both segments should now be indented
- select the ARV segment and check the repeats flag. the ARV segment should now have curly brackets
- select the ABS segment and cut (delete) the segment
- 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-2787Ron, Thanks for the reply. Try this for me.
- In v19 HL7 Configurator, create a new 2.6 variant.
- Modify the ADT_A03
- Select the second ARV segment. The one that is indented and grouped with PV2.
- 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}.
- 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)
- 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 -
AuthorReplies