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 58
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 4 0 52
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 54
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 92
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 80
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 88
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 53
Question Dmitrii Baranov · Nov 12, 2024 Production messages visualization To transfer data between production components I actively use messages of type Ens.StreamContainer class and its descendants. In many cases the content of the message content is not visualised (the 'Body' tab contains a table with a list of selected message properties but the 'Contents' tab is empty). Response messages are never visualised, and request messages are visualised with a fifty-fifty probability. What do I need to do to ensure that messages are always visualised? #Business Process (BPL) #InterSystems IRIS for Health 0 3 0 87
Question Dmitrii Baranov · Nov 2, 2024 FHIR "Search selects more than maximum allowed number of results (1000)." I'm experimenting with FHIR bulk data load using NDJSONs, so far the import is running smoothly, but when I'm trying to perform a request of kind /Patient or /Procedure I'm getting back the following error: #FHIR #InterSystems IRIS for Health 0 1 0 67
Question Dmitrii Baranov · Oct 20, 2024 IRIS SQL - query nested collection property I'm experimenting with adapting SDA3 object model to store medical data in relational form, e.g.: class Demo.DemoPatient extends (%Persistent, HS.SDA3.Patient) {} The HS.SDA3.Patient class has the Aliases property which is a nested collection (list) of objects of type HS.SDA3.Name: #SQL #InterSystems IRIS for Health 0 6 0 80
Question Dmitrii Baranov · Feb 26, 2024 JavaScript expressions evaluation IRIS is known to have a built-in Python bridge and even allows you to write Python server code but what about JavaScript? Let's say I need a JavaScript expression interpreter. What would you recommend as the most effective way to get one? It is highly desirable that the solution does not require administrator privileges and uses in-process communication (I mean not http and not unix-specific interprocess-communication via command line) #JavaScript #InterSystems IRIS for Health 0 2 0 168
Question Dmitrii Baranov · Nov 21, 2023 ZPM, REST, RedirectEmptyPath In the settings of the IRIS web application configuration page there is an option "Redirect empty path" which allows a user to access REST endpoint URL without trailing slash, eg. /csp/api/rest instead of /csp/api/rest/. How could I change this option declaratively in my ZPM manifest? #Deployment #InterSystems IRIS for Health 0 4 0 207
Question Dmitrii Baranov · Oct 21, 2023 %CSP.REST - accessing raw stream Hi, How can I get an instance of stream which is a successor of %Stream.Object in a method that handles a REST POST request? #dim request as %CSP.Request = %request set content = request.Content This returns a variable of type %CSP.Stream which is totally useless, because %CSP.Stream does not inherit from %Stream.Object #REST API #InterSystems IRIS for Health 0 2 0 237
Question Dmitrii Baranov · Oct 3, 2023 HS.FHIRServer.Installer - allow anonymous Hi, How could I configure a FHIR server instance programmatically to allow unauthenticated access? This article explains how to set the Debug mode option value, but the HS.FHIRServer.API.ConfigData class does not contain a field which disables basic authentication for the endpoint. #InterSystems IRIS for Health 0 3 0 174
Question Dmitrii Baranov · Sep 25, 2023 ZPM: install vs install -dev Hello, I'm developing a custom ZPM package and debugging the installer. In default mode (zpm install), the process terminates with the following error: ERROR! : <COMMAND>LoadNewModule+133^%ZPM.PackageManager.Developer.Utils.1 *NoTransaction With the -dev flag (zpm install -dev) everything works fine. What could be the problem? #InterSystems Package Manager (IPM) #InterSystems IRIS for Health 0 2 0 223
Question Dmitrii Baranov · Sep 11, 2023 Create Production programmatically I'm playing with ZPM. Accidentally dropped a production. How can I recreate it programmatically? I see Ens.Director.StartProduction, StopProduction, and even DeleteProduction but I don't see CreateProduction anywhere. Please help 😊 #InterSystems Package Manager (IPM) #InterSystems IRIS for Health 1 2 1 323
Question Dmitrii Baranov · Aug 8, 2023 Is it possible to customize property captions This question originally appeared in the comments of the post: How to - Customize Ensemble Settings Hi! Is it possible to customize property captions? #Ensemble 0 1 0 84
Question Dmitrii Baranov · Jul 31, 2023 Ens.Host, Ens.ContextSearch and drop-down property editors These two articles describe how to extend business components with additional properties: 1. https://community.intersystems.com/post/how-customize-ensemble-settings 2. https://community.intersystems.com/post/creating-custom-captions-interop... #InterSystems IRIS for Health 0 1 0 148
Question Dmitrii Baranov · Jul 19, 2023 Ens.DataTransform custom settings Hello, I want to add a couple of properties to a custom Transform class to give the user the ability to edit its properties directly in the Business Process visual editor. It can be easily done with other Production components, but I can't find in the documentation how to do the same with my Transform. Is it possible? And another question is about how to use the 'aux' parameter of the DataTransform.Transform method if my component is non-visual? #Business Process (BPL) #DTL #InterSystems IRIS for Health 0 4 0 225
Question Dmitrii Baranov · Jul 19, 2023 JSON as DTL source Hi, I'd like to ask if it is possible to use an arbitrary JSON as a DTL source. Can the IRIS DTL editor parse JSON of arbitrary structure and display it as a tree? #DTL #JSON #InterSystems IRIS for Health 0 1 0 238