go to post Eduard Lebedyuk · Apr 15, 2020 I advice solving your problem by tightening security. Your app user should have access only to the tables needed for the application to run. If the user doesn't have any additional/admin roles, he won't see any other tables.
go to post Eduard Lebedyuk · Apr 15, 2020 I think fairly straightforward approach works best set l = ##class(%ListOfDataTypes).%New() do l.Insert(1) do l.Insert(2) do l.Insert(4) set lb = "" for i=1:1:l.Count() { set lb = lb _ $lb(l.GetAt(i)) } zw lb >lb=$lb(1,2,4)
go to post Eduard Lebedyuk · Apr 9, 2020 Consider using REST. Creating REST in InterSystems Cache 2017.2 is very easy.
go to post Eduard Lebedyuk · Apr 9, 2020 @Alexey Maslov, @Alexander Koblov RHEL8 is supported starting with InterSystems IRIS 2020.1.
go to post Eduard Lebedyuk · Apr 8, 2020 String limit is 3 641 144 so 40 000 symbols is quite okay for a string.
go to post Eduard Lebedyuk · Apr 6, 2020 How do you import an HL7 Schema from ObjectScript? You can call any method with Invoke. I'm not aware of anything HL7 specific in %Installer, but maybe HealthShare has something.
go to post Eduard Lebedyuk · Apr 1, 2020 I suppose I can have one Id column and several col1, col2 ..., colN columns, so losing the names.
go to post Eduard Lebedyuk · Apr 1, 2020 Interesting! Tank you! I can also use PPG for runtime storage.
go to post Eduard Lebedyuk · Apr 1, 2020 Thank you for the info, Daniel! Can I implement %GetProperty instead of specifying the list of properties explicitly? I don't want to compile a new class for each new table-object.
go to post Eduard Lebedyuk · Mar 31, 2020 Alternatively, %Dictionary package macros can be used: ClassMethod Values(class = {$classname()}, property) As %Status [ CodeMode = expression] { $$$defMemberArrayGet(class,$$$cCLASSproperty,property,$$$cPROPparameter,"VALUELIST") } Also, you can find object from list without explicitly iterating the whole thing: set i = %class.Properties.FindObjectId(%class.Name _ "||" _ "Status") instead of: for i=%class.Properties.Count():-1:0 if i,%class.Properties.GetAt(i).Name="Status" quit
go to post Eduard Lebedyuk · Mar 30, 2020 %Net.WebSocket.Client is available and provides WebSocket client.
go to post Eduard Lebedyuk · Mar 30, 2020 %Net.WebSocket.Client is available and provides WebSocket client.
go to post Eduard Lebedyuk · Mar 29, 2020 Do not specify a timeout or specify a longer timeout. In your example if the response is taking more than 15 seconds the sync activity will complete Here's a minimal example for you. BP sends 2 async calls and waits for them in sync activity: And Visual Trace looks like this: To test: Download code here. Import and compile. Open and start production. Send Ens.Request test request to BP.
go to post Eduard Lebedyuk · Mar 28, 2020 How about the topic: Interoperability Adapter for InterSystems IRIS?
go to post Eduard Lebedyuk · Mar 27, 2020 July - InterSystems IRIS IntegratedML. Is only IntegratedML based apps applicable? Or can participants use apps based on a whole stack of technologies available for orchestrating AI/ML solutions on InterSystems IRIS Data Platform, such as PythonGateway, RGateway, JuliaGateway, Spark, Native API for Python and PMML?
go to post Eduard Lebedyuk · Mar 27, 2020 Send async calls. Wait for response from one or both calls.