Hi Developers!
Thank you for participating in the 2019 DC survey!
I'd love to share some results and answer some questions which were raised in the survey.
NPS 54
You give us 54 - which is really cool! Thank you for your trust, we'll try to prove it this year again!

I've got a pretty standard dataListBox on a pretty standard Zen page running a pretty standard query. My problem is that I can't get the onfocus or onclick events to fire.
Thanks in advance.
A quick question regarding to SQL Query Plan:
Why these two requests have different plans, in particularly, why second request needs temp file? To me, temp file is a bad thing which should be avoided, right?
- select * from Test.Log where cdate = 1
- select * from Test.Log where cdate > 1
Plan for 1:
Read index map Test.Log.cdateIndex, using the given %SQLUPPER(cdate), and looping on ID.
For each row:
Read master map Test.Log.IDKEY, using the given idkey value.
Output the row.
Plan for 2:
Call module B, which populates bitmap temp-file A.
Read bitmap temp-file A, looping on ID.
For each row:
Read
Hello,
I am working on Ensemble 2017.2.1 .
I need to export my security settings into an extern database, in order to make a report.
I've created a Business Operation with an SQL Adapter into a Namespace, but I don't know how to get every security data from "%SYS" Namespace ( SQLPrivileges , Resources , Roles , Services , Users ... ).
I dont't want to use the terminal and the ^SECURITY routine, because i don't want to store a XML file on the server.
I tried to create a method where I can use the (Security.System).ExportAll command in order to use the stream , but it doesn't work because the
Cache / Ensemble version 2016.2.2.853.0
I have a need to restrict ODBC access to certain users to prevent unwanted access to our cache database.
We have a limited number of legacy applications that use ODBC to connect to read data and are currently not in a position to have these amended any time soon so in the interim, I am hoping someone will be able to provide me with some assistance.
Any suggestions on where to start?
Hi
I'm using this query "Config.MapMirror.List" To get information of the list of servers that are in the mirror system.
I'd like to know how can I know which of the list is the primary and which is the failover or async member.
Is there a way to do it with this query? Is there another query to get this info?
Thanks a lot
My Ensemble instance is reporting its status through SNMP in Dutch even though my system language is English. Can I change Ensemble's locale somewhere in the Management Portal?
Hi,
On a persistent class, I have defined an %OnNew method that validate some properties with appropriate status code for each kind of error. Question is: how do you catch the specific error when %New is called on this class?
Surrounding %New method with a try-catch not seems to work.
Thanks
Hello,
I am reading in an X12 document into my production that needs to be processed and returned as a CSV file. I have created a record map to support the fields I want to extract with a batch class to store headers. I have a DTL mapping the data to the appropriate fields in the record map and am sending the record map to a EnsLib.RecordMap.Operation.BatchFileOperation.
None of my components error out and in fact report that the message was processed without any errors but I am not getting an output file in my expected output folder.
Is this an appropriate use of this operation class?
Hi everyone,
I am very pleased to announce that the Readmission Demo has been released as open source. Many thanks to the Solution Factory team that worked hard on making this possible.
Here are the changes:
- It is now running on top of IRIS Community 2019.3.0.308.0.
- It has synthetic data based on Synthea instead of the real data we were using before. But the machine learning models are 100% real
- Image RRLACESrv has been renamed to “image-riskengine”
- Image “readmissionsrv” has been renamed to “image-risksrv"
- We refactored a lot of the code on image-riskengine to look better.
I'm trying to tie IRIS (2019.1) into our Concord Fax cloud-based email-to-fax workflow. We have some sites that require a fax be sent to multiple locations based upon certain data (ie Radiology and Emergency departments). Unfortunately, CC-ing does not work with Concord Fax so I need a way to send the email, change the recipient, and then send it again if certain criteria are met. Is this possible? Do I need to duplicate and rename the method, calling the second one in the MessageMap?
Here's what my code currently looks like:
Code
Hello everybody,
My question would be, how is the recommended way to access Windows shares, also in view of future demads. Of course, I'm also happy about an explanation or code snippet of how the library, which is mentioned in the following , can be used under cache.
The classic jcifs library is easy to use, also with Cache, but as microsoft ceases support for smb1, we are currently looking for alternatives. jcifs-ng is such a library, which we took a closer look at. In java code a jcifs-ng file operation looks like this:
[...]
CIFSContext baseCtx = new BaseContext(new
Hi,
I'm attempting to use the $EXTRACT function in my routing rule but I'm seeing 'Expression Parsing' error messages when trying to save the rule.
I want to check the last character of a post code by using the following code:
$EXTRACT(HL7.{PID:PatientAddress(1).ziporpostalcode},*)="Z"
Could anyone assist with this?
Thanks,
Martin
Hi,
I have a large XML zen report file that I want to convert to a CSV, what is the most efficient way to do it.
XML file:
<Details> <Col1> aa1 </Col1> <Col2> bb1</Col2> <Col3> cc1 </Col3> </Details> <Details> <Col1> aa2 </Col1> <Col2> bb2</Col2> <Col3> cc3 </Col3> </Details>
Expected Output:
Col1,Col2,col3 aa1,bb1,bb1 aa2,bb2,bb2
Thank you.
Hello,
When we need to create a utf-8 encoded XML file, we use the Charset property of %XML.Writer:
set writer=##class(%XML.Writer).%New()
set writer.Charset="UTF-8"
How can we create regular txt files with such encoding?
Our Cache Installations are 8 bit and not unicode.
Thanks,
Nael Naser eldeen
Hi Community!
New "Coding Talk" video is already on InterSystems Developers YouTube:
⏯ How to Install and Use ObjectScript Package Manager with InterSystems IRIS
Hi,
I’m working on a project to add specific PID data to an ORU_R01 message by querying our patient system and adding it to the ORU. Here is what I have
managed to do thus far:
- Received ORU_R01 message
- Created Q21 message using the PID data included in the ORU message and sent to patient system to query.
- Received a K21 message with the required PID data
I’m stuck at this point now. I want to add a specific piece of the K21 PID data (highlighted below) to the original
ORU_R01 PID and was hoping you would be able to assist.
I am doing this using Studio.I want to avoid using a BPL.
I'm trying to format a filed, and I need to add leading zeros infront with a length of 4.
Example:
Before: 1
After: 0001
I have a large amount of classes in several XML namespaces.
Is there a way to generate all XSDs automatically?
I've read the docs but it seems like it's a manual class-by-class process.
Intro
For many in today's interoperability landscape, REST reigns supreme. With the overabundance of tools and approaches to REST API development, what tools do you choose and what do you need to plan for before writing any code? This article focuses on design patterns and considerations that allow you to build highly robust, adaptive, and consistent REST APIs. Viable approaches to challenges of CORS support and authentication management will be discussed, along with various tips and tricks and best tools for all stages of REST API development. Learn about the open-source REST APIs available for InterSystems IRIS Data Platform and how they tackle the challenge of ever-increasing API complexity. The article is a write-up for a recent webinar on the same topic.
Hi Community,
New video, recorded by @Benjamin De Boe, is available on InterSystems Developers YouTube:
⏯ What Developers Love About InterSystems IRIS
Hi all,
I'm having issues with mounting custom database on top of IRISHealth 2019.1 docker container. Data gets mounted only in Read-only mode. This means read operations are successful but I couldn't make the image with databases mounted in Read/write, both modes. Is anyone having similar issue?
Ok so I am way outside of my comfort zone, and had to build an application using CSP to give users the ability to access SQL configuration tables. These SQL Configuration tables will affect the data that is sent to the downstream system.
I saw in the examples where we were able to import GIF's/IMAGES into the CSP folders to use as a reference in our CSP pages. My question is how do you do that? If I try to import through studio, it tells me the file is invalid.
Just trying to make it a little more user friendly then blocks on a page.
We are currently using Health Share 2018.1.3
Thanks
Scott
New year, new content from Learning Services! Get info on:
- An updated learning path for building custom components
- A new video on setting up business rules in a production
- Data Points: a new podcast from Learning Services
- Upcoming classroom courses
Read more and subscribe to get Learning Services news once a month in your inbox!
InterSystems IRIS ML Toolkit adds the power of InterSystems IntegratedMLto further extend convergent scenario coverage into the area of automated feature and model type/parameter selection. The previous "manual" pipelines now collaborate within the same analytic process with "auto" pipelines that are based on automation frameworks, such as H2O.

Do you ever have the desire to optimize your code as much as possible?
Do you have any cases where every nanosecond matters?
Do you use If statements?
This quick tip can help your code run slightly faster with no additional code.
All a sudden, I can't do cut and paste anymore in Studio. Help.
When reading %GlobalBinaryStream into a %String I am aware therte is a size limit of 3,6MB.
My question is since %Binary is underlying a %String is there a limit on this as well?
Can I safely read any size %GlobalBinaryStream into a %Binary?
Hi I am getting this message for some databases but not for others: This database is mounted as read-only due to 'Failed to access iris.lck file'! and not for others on Google Cloud community non-health edition.
For example this default database displays the message: Name IRISLIB Directory /usr/irissys/mgr/irislib/
But this default database does not: Name IRISSYS Directory /ISC/dur/mgr/
I have loaded IHS FOIA RPMS and am getting the message and <PROTECT> errors when running programs.Permissions on disk look ok to me, changed to the same as the default databases.
185
