Question Dmitrii Baranov · Dec 1 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 48
Question Dmitrii Baranov · Nov 27 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 47
Question Dmitrii Baranov · Nov 17 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 42
Question Dmitrii Baranov · Nov 12 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 67
Question Dmitrii Baranov · Nov 2 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 46
Question Dmitrii Baranov · Oct 20 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 67
Question Dmitrii Baranov · Feb 26 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 152
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 202
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 224
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 167
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 205
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 309
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 76
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 140
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 218
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 218
Question Dmitrii Baranov · May 19, 2023 How to iterate variable number arguments array? Example: Method Execute (args...) As %Status { ... #dim statement as %SQL.Statement set statement = ##class(%SQL.Statement).%New(2) set statement.%Dialect = "CACHE" do statement.prepare(query) #dim rs as %SQL.StatementResult set rs = statement.execute(args...) My questions are: 1) how do I get the size of args **2) how to get all values of **args **3) is it possible to modify the **args? #ObjectScript #InterSystems IRIS for Health 0 6 0 309
Question Dmitrii Baranov · May 15, 2023 EnsLib.HL7.Service.HTTPService - enable CORS I have a production with a HLv2 HTTP Listener. For demo purposes, I need to send HL7 messages directly from a browser. Here is an example (React/typescript): #Business Process (BPL) #HL7 #REST API #InterSystems IRIS for Health 0 1 0 286
Question Dmitrii Baranov · Mar 21, 2023 Read-only .cls? Hi, could someone tell me please how can I "unlock" a .cls file which author is Intersystems? I want to make some modifications and add some trace messages there. The file resides in the HS.FHIRServer namespace and it looks like read-only #Studio #InterSystems IRIS for Health 0 6 0 372
Question Dmitrii Baranov · Feb 23, 2023 Easiest way to clean up a FHIR database? Hi, what is the easiest way to clear all the tables which store FHIR data? The most straitforward approach is to get a list of tables using the information_schema.tables view, then execute dynamic SQL with the "delete from" clause, but perhaps some helper class has already been written for this purpose? #FHIR #SQL #InterSystems IRIS for Health 0 6 0 492