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 35
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 65
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 35
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 65
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 150
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 201
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 222
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 165
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 203
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 308
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 75
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 138
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 215
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 214
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 304
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 371
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 484
Question Dmitrii Baranov · Jan 8, 2023 FHIR CustomBuiltinOperations - handling error 500 in production Hi, I've overrided the HS.FHIRServer.Storage.BuiltInOperations class, and generally all works fine except of error handling. Where can I find a server setting option to ask IRIS to return OperationOutcome if an Internal Server Error occurs? Currently it returns non-informative HTML instead of JSON/OperationOutcome. #Error Handling #InterSystems IRIS for Health 0 5 0 207
Question Dmitrii Baranov · Nov 5, 2022 Docker image/container - use aptitude Hi, The IRIS Health Docker image comes with Java 1.8 but I need OpenJDK 11. How could I install that using aptitude or somehow else? The apt-get command requires elevation but if I rewrite the command with sudo apt-get it won't build with error message /bin/sh: sudo: not found Is it possible to do what I want? #InterSystems IRIS for Health 2 3 0 564