Question Colin Brough · Nov 21 Scheduled task or scheduled message to run a BPL How do we trigger a BPL Business Process on a time schedule? We are building a production that takes a steady stream of (HL7) lab results messages, processes them and stores them in a temporary database table. At scheduled points during the day (eg 0800, 1300, 1600) the database is queried and messages sent on to the downstream system. Aiming that the Processes to be implemented in BPL if possible - but we are having trouble triggering code in a BPL as a scheduled job. #Business Process (BPL) #ObjectScript #Ensemble 0 11 0 267
Question Colin Brough · Nov 13 System Default Settings and TestingEnabled / LogGeneralTraceEvents We are successfully using System Default Settings to manage differences in settings across environments where the production and underlying code are otherwise identical. However, the TestingEnabled and LogGeneralTraceEvents settings don't appear to be settable via this mechanism. While we appear to be able to set them on the SDS page, they do not show up as selectable when resetting the settings on the Production Settings tab in the management portal - see screenshots below. #Management Portal #System Administration #Testing #Tips & Tricks #Ensemble 0 3 0 105
Question Colin Brough · Oct 17 Debugging a SOAP web-client Pointers please for debugging a SOAP web-client. We have several clients in different productions all accessing a web-service. We are trying to add another client in a new production, and its not working. The messages between the relevant Process and the SOAP web-client Operation are the same in the working and the non-working productions. But the web-service is reporting an XML parsing error to the non-working production. Here's the error as reported in the SOAP web-client Operation... #Business Operation #Debugging #SOAP #Studio #Caché #Ensemble 0 3 0 112
Question Colin Brough · Oct 6 Failed to instantiate WebClient class - SOAP out bound adapter We are trying to call a SOAP web-service from Ensemble, following the documentation here: Creating an Ensemble Web Client | Creating SOAP Services and Web Clients with Ensemble | Caché & Ensemble 2018.1.4 – 2018.1.8 (intersystems.com) #Debugging #SOAP #Ensemble 0 2 0 145
Question Colin Brough · Oct 5 Routing rule equivalence question Is there a difference in outcome between the two screengrabs below? In both cases, when certain conditions are met, a transformation is called and the output sent on to two targets. In the first case we surmise the transformation is called twice, and the output of the first run sent to the first target, the output of the second run to the second target. In the second case we surmise the transformation is called once, and the output duplicated and sent to the two targets. #Business Rules #Interoperability #Performance #Ensemble #HealthShare 0 1 0 107
Question Colin Brough · Aug 15 Zen reports documentation or learning material question We need to generate a PDF file from an HL7 message as it passes through an Ensemble production. Looking for examples, tutorials, documentation aligned to our scenario.We are currently using Ensemble (so can't use InterSystems Reports at the moment). Thinking Zen reports...We can get from HL7 to XML OK, following Introduction to InterSystems Health Connect - YouTube (see c.1:11:00-1:13:00) #HL7 #ZEN #Ensemble #HealthShare 0 1 0 63
Question Colin Brough · Aug 9 Reports roadmap We are about to embark on a development where we'll be taking HL7 messages and generating PDF reports from them. We are wanting to future proof our development efforts within the constraints of our currently deployed platform and future upgrade options. We are currently running on Ensemble 2018, though an upgrade to Iris is anticipated - at some indeterminate point in the future. We are aware of Zen Reports and InterSystems Reports (Logi) as technology options, but are also unclear on some details. A roadmap and guidance from those who've done this kind of thing before would be great! #InterSystems Reports #ZEN #Ensemble #HealthShare #InterSystems IRIS #InterSystems IRIS for Health 0 3 0 104
Question Colin Brough · Jun 6 Troubleshooting an Ensemble instance One of our development Ensemble instances is misbehaving. We suspect we'll just need to reinstall it - which would be a hassle. Before we do, we wanted to check we weren't missing some kind of easy fix. The symptoms we are seeing: #Debugging #Development Environment #DTL #Caché #Ensemble 0 12 0 259
Question Colin Brough · May 29 Handling Production class in source control Looking for advice on best practise (or at least reasonable approaches) for handling the Production class when utilising source control. (And perhaps wider advice around deployment.) #Deployment #Development Environment #Source Control #Ensemble 1 5 1 153
Question Colin Brough · May 18 CR/LF changes in DTL files causing load errors (#6301: SAX XML Parser Error) Is CR/LF changes to DTL files edited/committed to git via VS Code a known issue? We had an issue with exporting files from one server and importing on another, using XML code exported from Studio: ERROR #6301: SAX XML Parser Error. Turns out that issue was down to CR/LF changes made when transferring the XML from one server to the other. #Compiler #Debugging #Ensemble #VSCode 0 2 0 111
Question Colin Brough · Apr 20 Uninstalling Ensemble On a developer's laptop, having had two or three Ensemble installs with different settings/config changes made, and encountering unexplained errors compiling classes, wanting to scrub as much of the previous installs off the machine before doing any fresh installation... But can't find clear documentation on doing a complete uninstall! Have stopped the server. Am I safe to remove C:\InterSystems\Ensemble (for the instance installed into that folder)? #Debugging #Management Portal #Microsoft Windows #System Administration #Ensemble 0 6 0 223
Question Colin Brough · Apr 5 ERROR #6301: SAX XML Parser Error: XML or TEXT declaration must start at line 1, column 1 Exported contents of a namespace on one server (classes, include files and lookup tables). Importing that code into a newly created namespace on another server. Both servers Ensemble 2018.1, same build. Export was via InterSystems Studio. Export is around 18Mb in total (XML file sizes).When importing and compiling on the new server, getting errors as below - with #6301: SAX XML Parser error prominent - on a number of the imported files, all containing data transformations or business processes. #Compiler #Data Import and Export #Debugging #Caché #Ensemble 0 1 0 268
Discussion Colin Brough · Mar 10 Version naming best practise for code within a namespace In a healthcare setting we've an Ensemble namespace through which passes a key HL7 feed (the ADT feed from our PAS). It is split up, transformed and passed on to multiple downstream systems. We consider the feed going to each downstream system an interface. Each interface is developed as separately as possible - typically as a separate branch of our git repo (which we access via VS Code). #Change Management #Development Environment #Git #Release #Source Control #Ensemble #InterSystems IRIS for Health #VSCode 0 0 0 176
Question Colin Brough · Feb 15 Comparing code on running servers Is there a way of comparing code running on two Ensemble servers - ideally excluding certain types of difference? #Debugging #Development Environment #Key Question #Ensemble #HealthShare 1 9 0 300
Question Colin Brough · Dec 1, 2022 HL7 contents and metadata, Ensemble/Cache I'm testing an HL7 2.4 -> HL7 2.3.1 set of transformations. For the time being the source (service) and sink (operation) are file adapters. What I'd really like is to be able to save the output file with a name matching/containing the input file name - but as the DTL transformation in between uses "new" rather than "copy" it looks like I'm losing (some of?) the metadata, including the "Source" field (Body tab, message viewer).Is there any way of preserving the Source field so the OutboundAdapter has access to it? #DTL #HL7 #Ensemble 0 3 0 325
Question Colin Brough · Oct 18, 2022 Status of IDE's for ObjectScript development Context: Ensemble development with ObjectScript in a healthcare context - lots of HL7, and some web service stuff. We've used Studio up till now, alongside a lot of leaning on an external developer, but are expanding our team and doing more in-house. We are wondering about Visual Studio Code - not least because it looks easier to hook up to source management solutions. And we've noticed that the test environments that you get connected to when doing many of the online training courses on learning.intersystems.com give you a Visual Studio Code environment. #Ensemble #VSCode 0 3 1 204