Question Dmitrii Baranov · Dec 24, 2025 The "containers" section has been unavailable for two days in a row I'm trying to login and seeing the message 'Unexpected request - client_id'. Could you please have a look? #InterSystems IRIS 1 9 0 79
Question Dmitrii Baranov · Dec 22, 2025 How to make IRISLIB/HSLIB writable on Docker? I know this is not recommended but I need to investigate a bug and to modify some system classes. When I set the "Mount as read-only" flag to "off" IRIS says: ERROR #43: the write daemon failed to set the READ/WRITE flag in IRISLIB This database is mounted as read-only due to 'Failed to access iris.lck file'! #InterSystems IRIS for Health 0 0 0 30
Question Dmitrii Baranov · Dec 21, 2025 XDBC memory leaks I have a business service that actively reads data from a remote Postgres database. OnProcessInput opens a XDBC (actually JDBC) connection, executes an SQL query, fetches several thousand rows, iterates the resultset, and closes the connection. On each iteration I also need to update each source row in the remote database using PreparedStatement. In other words, in every OnProcessInput call I have a long running SELECT statement and several thousands small UPDATE statements. The problems I'm facing are: #JDBC #ODBC #InterSystems IRIS for Health 0 10 0 84
Question Dmitrii Baranov · Dec 19, 2025 OpenTelemetry - how to emit custom structured log messages? I am experimenting with OpenTelemetry and recently connected all IRIS instances to telemetry servers. I'm not interested in emitting custom metrics since IRIS does it fine, regarding tracing - we can use %Trace classes to emit custom traces, but what about logging? I see that IRIS is able to send system log messages to the OpenTelemetry servers: #Monitoring #System Alerting and Monitoring (SAM) #InterSystems IRIS for Health 0 0 0 29
Question Dmitrii Baranov · Dec 14, 2025 Macroses with variable number of optional arguments Hi, I need a simple function for formatting a string, like in Python or C#. That's easy: Class Very.Very.Long.Class.Name { ClassMethod Format(fmt As %String, args...) As %String [ Language = python ] { return fmt.format(*args) } } To simplify calls, I want to wrap the function into a macro: #API #ObjectScript #InterSystems IRIS for Health 0 3 0 54
Question Dmitrii Baranov · Dec 9, 2025 IRIS OAuth2 Client - "openid" scope error I need to connect IRIS to a third-party FHIR server which in turn is connected to Keycloak. For machine-to-machine communications, client credentials grants should be used. I don't know why exactly but the FHIR server requires access tokens to contain the "openid" scope, otherwise it returns 401 (unauthorized). #OAuth2 #InterSystems IRIS for Health 0 2 0 41
Question Dmitrii Baranov · Oct 12, 2025 EnsLib.Kafka.Service, performance issues when working with topics that contain many messages I need to build an integration solution that reads messages from a Kafka topic. The topic has 3 partitions and contains several million messages. For certain reasons, I can only use the standard EnsLib.Kafka.Service class and cannot use either KafkaClient or Python. #Business Service #Java #Performance #InterSystems IRIS for Health 0 5 0 62
Question Dmitrii Baranov · Aug 8, 2025 count() is too slow. Why? I have a table with 5M rows, the table contains lab observation codes and display names, both columns have type varchar(2000) and both are indexed. The query looks like: select code_1_text, count(code_1_text) from demo.observation_lab group by code_1_text order by 2 desc The table contains ~1000 distinct display names. It takes 4 minutes for the query to complete on a VM with some pretty old Xeon, 4 cores, 32G RAM, NVME SSD and Linux on board. #SQL #InterSystems IRIS for Health 0 4 0 110
Question Dmitrii Baranov · Jul 15, 2025 Fire-and-forget async/background non-blocking tasks I need to implement a retry policy for an incoming message queue containing thousands of relatively small messages. Successfully processed messages should be immediately removed from the queue. #Tips & Tricks #InterSystems IRIS for Health 0 8 0 168
Question Dmitrii Baranov · Jun 5, 2025 Switched from Community 2024.2 to licensed 2025.1, portal doesn't work, error 404 I'm not so experienced in administering IRIS but as far as I understand IRIS for Health community comes with a web server out-of-the-box while licensed editions require Web Gateway to be deployed. #Web Gateway #InterSystems IRIS for Health 0 2 0 113
Question Dmitrii Baranov · Mar 31, 2025 Working with multiple git repositories I'd like to ask you for recommendations on how to properly use repository dependencies when using VSCode and Client-side editing. Suppose I have projects A, B and C, with A being independent, B depending on A, and C depending on A and B. I am currently working with the main project C, and I want to be able to contribute to all the other projects in a single VSCode window (instead of opening three instances). How do you solve this problem? Git submodules? ZPM? Something else? #Git #InterSystems Package Manager (IPM) #Source Control #InterSystems IRIS for Health 0 1 0 104
Question Dmitrii Baranov · Mar 18, 2025 Recover PROD to STAGING using .cbk I have two instances of IRIS, one is Production and another one is Staging (both managed by Docker) and I want to set up a full daily recover of the Staging server from a full backup of the Production server. I know how to do this manually using the DBREST utility, as well as how to make a copy of the database by making a full copy of the durable directory (however this option requires a full stop of the Production-database). What is the best way to automatically restore all databases from a full backup using scripting? #Backup #System Administration #InterSystems IRIS for Health 0 1 0 94
Question Dmitrii Baranov · Mar 9, 2025 %Net.SSH.Session - how to sudo Hey, I need to read a directory on a remote server which requires a user to be su. The question is how to correctly read the server response and then to send a su password using IRIS device I/O API (I'm able to read other commands output such as uname, but can't figure out how to switch to su): #Authentication #InterSystems IRIS for Health 0 1 0 110
Question Dmitrii Baranov · Dec 25, 2024 FHIR facade, override FHIR Search and return OperationOutcome Hello, I'm trying to customize error handling in the overriden HS.FHIRServer.Storage.JsonAdvSQL.Interactions::Search method. It is clear how to add to the resultset a valid FHIR resource (pseudocode): #FHIR #InterSystems IRIS for Health 0 1 1 127
Question Dmitrii Baranov · Dec 17, 2024 Production pooled component index I have a business service which is responsible for some batch operations with an SQL table. The process is generally slow but it is possible to scale the performance using multithreading and/or parallel processing and logical partitioning (postgres): #Business Process (BPL) #SQL #InterSystems IRIS for Health 0 6 0 177
Question Dmitrii Baranov · Dec 12, 2024 %ExistsId and %OpenId methods for linked tables in FHIR Facade do not work My IRIS instance is connected to a Postgres database using SQL Gateway and linked tables. One of these tables is projected to the Patient class. I want to select a record from this table by ID and convert it to a FHIR resource using the %ExistsId and %OpenId methods. I noticed that if I call these two methods from the console, the record is always found. #FHIR #SQL #InterSystems IRIS for Health 0 1 0 122
Question Dmitrii Baranov · Dec 10, 2024 Deploy .cls files to a remote server using scripts/command line I am developing locally on my IRIS instance using VSCode and client-side editing approach. How can I automatically export a single .cls file/a whole package to a remote TEST/PREPROD server using a script or command line and recompile the unit remotely? Are there any more simple and straightforward ways than CI/CD explained in the series of articles by Eduard? #Continuous Delivery #System Administration #Terminal #InterSystems IRIS for Health 0 3 0 197
Question Dmitrii Baranov · Dec 1, 2024 SOAP Client - NTLM authentication I'm trying to call a SOAP web service which is implemented in .NET Classic and requires NTLM authentication. The client class was generated by %SOAP.WSDL.Reader. The problem is that neither NTLM authentication works nor can I handle the exception since VSCode debugger says that all meaningful fields and properties are empty (the same request works fine in Postman): #Authentication #SOAP #InterSystems IRIS for Health 0 4 0 251
Question Dmitrii Baranov · Nov 27, 2024 How to set up OAuth2 delegated authentication using Keycloak as identity provider? I want to integrate IRIS with Keycloak OAuth2 provider to use delegated authentication everywhere and to secure everything - sys*/Portal applications, REST services, FHIR server and so on. If an unathenticated user tries to access any IRIS URL - he or she should be redirected to Keycloak. After the user has successfully authenticated, i would like to access his requistes (username, email, roles, scopes) extracted from the JWT token, programmatically. What should be done to achieve that? #Authentication #OAuth2 #InterSystems IRIS for Health 1 1 0 278
Question Dmitrii Baranov · Nov 17, 2024 SQL grouping, values converted to uppercase, unicode symbols lost I'm playing with some anayltic queries against FHIR server tables. The HSFHIR_X0002_S_Patient.addressCity table contains a lot of cities which names contain german charachers such as ä, ö and ü. The following query works fine: select value from HSFHIR_X0002_S_Patient.addressCity But this one converts city names to uppercase, and characters with umlauts are lost, so instead of "Köln" or "München" I see KOLN and MUNCHEN: #FHIR #SQL #InterSystems IRIS for Health 0 2 0 122