Discussion Julian Matthews · Mar 23 A Word of Warning - Removing Default External Language Server Settings Hi everyone! If you are working with IRIS 2021+ and you remove all of the built in entries for External Language Servers, there is an unexpected consequence that may prevent you from running an installer to upgrade your version of IRIS. This does appear to be a bug which has been raised with WRC, however there are some people that may have recently removed these settings and then will soon be upgrading their environment and could face this same issue. #InterSystems IRIS 3 1 0 158
Article Julian Matthews · Mar 17 7m read Tutorial - Creating a HL7 TCP Operation for Granular Error Handling Introduction Say you have a receiving system that accepts HL7 and provides error messages in field ERR:3.9 in the ACK it returns. You require a different reply code action depending on the error message, however the Reply Code Actions settings for the operation do not provide this level of granularity. One option could be to create a process that takes the ACK and then completes the action you were expecting, however things can get a bit messy if the action is to retry the message, especially when trying to view a message trace. #Business Operation #HL7 #SQL #Tutorial #Caché #Ensemble #InterSystems IRIS for Health 8 2 1 273
Question Julian Matthews · Jan 16 Including SQL Tables when deploying between productions Hi everyone. I have a use case where I'm using embedded SQL within a Business Process to interact with a SQL table. However, when it comes to deployment into our production, the table wont form part of the deployment package created from the production. Beyond manually creating the table on the production system, is there a standard way of ensuring that a table needed for a class is created during deployment? #ObjectScript #SQL #Caché #Ensemble 0 2 0 86
Question Julian Matthews · Oct 25, 2022 Extending EnsLib.HL7.Operation.TCPOperation for custom error handling Hi all. I have a scenario where I am receiving NACKs and I'd like to adjust the error handing of the operation based on the content of the NACK. For example, I could receive the following and want to move onto the next message: MSH| ^~\&|||||20221025083135.489+0100||ACK ^A02^ACK|9271|D|2.5.1 MSA|AE|1664378390234 ERR|||207 ^Application internal error ^HL70357^^^^^^Cannot transfer patient, encounter is cancelled.|E However, I could also receive the following and want to keep retrying: #HL7 #ObjectScript #Ensemble #InterSystems IRIS 0 1 0 150
Question Julian Matthews · Sep 28, 2022 Is a nested ACK on EnsLib.HL7.Operation.HTTPOperation response expected Hi all. I have setup a HL7 Operation using the HTTP adapter, and I'm getting what seems to me as an unusual response. When sending a sample message to the operation, I am getting a nested ACK. For example: MSH|^~\&|||xxx|xxx|202209230806||ACK^HTTP^200|00|D|2.1|1MSA|AA|RWSD7V5iuEC5F6zscDWz|HTTP ACK 'HTTP/1.1 200 OK' : MSH|^~\&|yyy|yyyy|xxx|xxx|20220923080633||ACK^A01|1663916793965||2.3||||||MSA|CR|RWSD7V5iuEC5F6zscDWz|Error Message Goes Here. #HL7 #Ensemble 0 1 0 90
Question Julian Matthews · Sep 16, 2022 Encoding Base64 from a Stream - Chunk Sizes Hi all. I'm currently looking at a use case where I need to take a Stream, and then encode the contents as a Base64 Stream. This is currently achieved with a snippet of code that has previously been placed in multiple classes within this particular environment, and relied on the dotnet gateway (which suffers with a bug in 2022.1, corrected 2022.1.1). #Caché #InterSystems IRIS for Health 0 4 0 306
Question Julian Matthews · Jun 10, 2022 Do messages created within objectscript processes get picked up by production purges. Hi all. I have a transform that I am calling from within an objectscript process, and I need to pass it a few values. I have in the past done this using the aux property, however I have got away with only needing to pass in a single value, so I have not had to worry about passing in anything other than a string container. #DTL #Ensemble 0 2 0 164
Question Julian Matthews · Apr 1, 2022 Issues with Character Encoding when viewing messages Hi everyone. I was wondering how people manage viewing messages that use a character encoding incompatible with the Management Portals use of UTF-8. For example, a message that looks like this in Windows-1252/Latin1: Will display as this under the message "Full Contents" #HL7 #Management Portal #Ensemble 0 6 0 307
Question Julian Matthews · Nov 3, 2021 Reformatting ObjectScript in VSCode Hey everyone. I was wondering if anyone had come across a way of reformatting ObjectScript within VSCode. I have the various Intersystems Extensions installed (InterSystems Language Pack, InterSystems ObjectScript, InterSystems ObjectScript Extension Pack, InterSystems Server Manager) but a formatter does not seem to be something included within this variety of extensions. #ObjectScript #VSCode 0 16 0 337
Question Julian Matthews · Sep 17, 2021 Use of environment info to control HL7 transformations Hey everyone. I was curious if anyone had any success/tips with regards to using a global or a system parameter/property to control the behavior of a transform or process/operation. Is there a parameter I can currently reference from the system that can be used for an if/else, or am I best off creating a simple Global and setting it according to the environment I am in? #HL7 #Ensemble 0 2 0 129