Question Dmitrii Baranov · Nov 21 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 3 0 95
Question Dmitrii Baranov · Oct 21 %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 132
Question Dmitrii Baranov · Oct 3 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 98
Question Dmitrii Baranov · Sep 25 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 85
Question Dmitrii Baranov · Sep 11 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 144
Question Dmitrii Baranov · Aug 8 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 49
Question Dmitrii Baranov · Jul 31 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 71
Question Dmitrii Baranov · Jul 19 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 147
Question Dmitrii Baranov · Jul 19 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 115
Question Dmitrii Baranov · May 19 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 195
Question Dmitrii Baranov · May 15 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 153
Question Dmitrii Baranov · Mar 21 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 308
Question Dmitrii Baranov · Feb 23 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 5 0 255
Question Dmitrii Baranov · Jan 8 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 159
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 365
Question Dmitrii Baranov · Nov 5, 2022 IRIS Health Installation hangs on AMD Hi, I have a laptop with a Core i5 processor, a workstation with AMD Athlon 3000G processor, and another workstation with AMD Ryzen 3900 onboard. I was succeded to install IRIS Health community on the laptop. On both AMD workstations the install process hangs. I've waited for 8 hours but with no avail. What could be wrong with AMD? #InterSystems IRIS for Health 0 9 0 290