Does anyone know any InterSystems partners in Canada? A colleague with experience in IRIS asked me about this.
Greetings.
I am working on a demand wheres i need to find all the possible combinations of number contained in a string, its works very well, but when the total numbers is increased bigger, the time to execute the code is increased exponentially. Theres a beter way to find combinations then recursively?
string data:
^x(1,1)="211405;211764;211841;211848;211851;212012;212483;212519;212572;212609;212962;213016;213020;213025;213076;213763;214543;216742;216766;217561;217564;217568;217588;219382;219385;219527;219703;219705;219888;219895;220181;220261;220273;220299;220485;220547;220587;220629;220649;220
Hello Community,
I have a stream property which uses %Stream.GlobalCharacter and I set some dummy texts like "a1a2a3a4a5a6a7...."(more than 1024 characters) in to that stream and the stream values are not compressed. However, The streams are compressed If I use the Lorem ipsum is a dummy or placeholder text or other text "This is part four of a long memo." which length is greater than 1024
I opened the stream object and confirmed the compress property is 0 for first entry and 1 for 2nd object
.png)
Class Samples.Strms Extends%Persistent
{
Property MyId As%String;Property MyBioStrm AsSo being forced to use VSCode out of the box for a new Community install I've hit a small problem, documentation hasn't helped and its a simple problem.
How do I enable auto complete and the property viewer in creating a new .MAC?
So I've created "test.mac" and 'assume' can't remember the method name to open a file (for example), typing
"s f=##class(%Library.File). " in Studio would bring up the methods of %Library.File so I could click the appropriate one, VSCode does not do this (and also didn't show the classes under %Library).
Please don't reply telling me how to open a new file :
Well, now we got noPWS container with IRIS, and how to connect to it, simply, without any durable sys or files, using normal peoples way like Environment variables?
version: "3"
services:
iris:
image: containers.intersystems.com/intersystems/iris:2023.2.0.227.0
ports:
- 1972:1972
volumes:
- ~/iris.key:/usr/irissys/mgr/iris.key
web:
image: containers.intersystems.com/intersystems/webgateway:2023.2.0.227.0
ports:
- 52773:80I've enabled the CallIn service (unauthenticated), but I'm still getting 'ImportError: IrisStart failed: IRIS_ACCESSDENIED (-15)'
Any clues?
Hi,
I want to list the source if a class in an 'iris session'.
I know I can get a list of all classes in a namespace:
iris session <session> -U "%SYS"
DO $SYSTEM.OBJ.ShowClasses()
===
Is there a similar sinmple command to get the source of a class?
Summary: if you concatenate filenames into /STDOUT and /STDERR in a $zf(-100) call, quote them.
I hit an <ILLEGAL VALUE> error from the following that initially stumped me. This was part of a unit test that worked perfectly fine on Windows, but when CI ran on Docker it failed:
Set outFile = ##class(%Library.File).TempFilename()
Set outDir = ##class(%Library.File).NormalizeDirectory(##class(%Library.File).TempFilename()_"dir-out")
Do##class(%Library.File).CreateDirectoryChain(outDir)
Do$$$AssertEquals($zf(-100,"/STDOUT="_outFile_"/STDERR="_outFile,"tar","-xvf",tempDir_".tgz","-C",outDir)I'm working on my first (!) IPM module and I'm a little puzzled with the registry authorization.
I have a working local registry (I hope!) and the module is loaded (with load-command) to the namespace.
Now publish-command fails because of missing authorization. I have set nothing authorization related myself and I'm lost how the authorization should be configured. All the material I have read so far seems to ignore that and only mentions one have to authenticate ...
Here's the command output:
zpm:IPMTEST1>version %SYS> zpm 0.7.3 IPMTEST1> zpm-registry 1.3.2 https://pm.com
Hi Community!
We're happy to share the next video in the series dedicated to Gen AI on our InterSystems Developers YouTube:
⏯ Prompt before the prompt - third step of GenAI model training
I have a custom IPM resource processor like:
<Resource Name="example.json" ProcessorClass="OSEX.ipm.demo.IpmResourceProcessor" Foo="from manifest Resource attribute"/>
What is the best practice to deploy the custom resource processors to the IRIS instance? It can't be part of the module that uses it for obvious (?) chicken-egg situation.
My best idea atm is to put all those custom processors into a (library) module and all modules using any of them just have a dependency to the custom processors module.
In a Business Process (Ens.BusinessProcessBPL), how can you correctly call a classMethod?
I know we can call it in a block <code> :
Or in a <assign>
.png)
Are there other ways and/or good practices?
Thanks
Corentin
Hello,
Please, we would need your help 🙂:
In a development environment, we have added quite a few presentation contexts to the DICOM configurations (the associations). We would need to find a way to export them from this environment to make it easier for us to import them in PRO (and avoid doing it by hand one by one).
We know that there is this method, the ImportAssociation(), that given a file, and the names of the local AET and the remote AET, creates it automatically:
https://docs.intersystems.com/irisforhealthlatest/csp/docbook/DocBook.U…
.png)
Hi Community, OpenAPI-Client Gen has just released, this is an application to create an IRIS Interoperability Production client from Swagger 2.0 specification. Instead of the existing tool ^%REST that creates a server-side REST application, OpenAPI-Client Gen creates a complete REST Interoperability Production client template.
Install by ZPM:
zpm "install openapi-client-gen"
How to generate production from Swagger document? It's very simple.
Open a terminal and execute:
Set sc = ##class(dc.openapi.client.Spec).generateApp(<applicationName>, <Your Swagger 2.0 document>>)
The first

I'm running a query, joining nine tables together. When I run it with a SELECT COUNT(*) I get about 200,000 rows. When I run the SELECT with the columns I want, I get about 2,700 rows. Is there something inherent with the queries that limits the result set size, or anything I can do to make sure I'm getting back all the results? Rather, than trying to run it about 100 times limiting all previously gotten accounts.
What table would I find the MRN in? I'm trying to write a crystal report and pull that field, but I cannot seem to find it in any of the tables, to be able to add to the report.
Thank you in advance for any help.
Hi! I am trying to export Cache data to my SQL database and am trying to export the schema as well.
The Data Export wizard on the Management Portal only allows me to export the data but not the schema. Is there anyway to get the schema exported as well?
Hi Guys,
I'm calling the expandAll() method to expand the whole tree structure but for some reason its only expanding the root folders but not all elements under those folders ?
var tree = zenPage.getComponentById( "MyTree");
tree.expandAll(true);
Thanks
Hello,
Is there any document regarding the embedded sourceControl in HealthShare management portal GUI?
It has Status, Settings,GitWebUI,AddtoSC,Sync,NewBranch,SwitchBranch,Import, ImportForce buttons, I am pretty new to this and I am wondering what these buttons really do behind the scene and when I need to use them.
Thank you
– 36 new announcements
– 79 new questions
– 4 new discussions
✓ 890 new members joined in October
✓ 14,013 posts published all time
✓ 14,740 members joined all time
I want to execute initialization code on the start of my business process.
I thought OnInit is a way to go, but apparently not - ^dbg global remains empty:
Class Test.BP Extends Ens.BusinessProcess
{
Method OnInit() As %Status
{
Set ^dbg = 1
Quit $$$OK
}
}Ideas?
Hello,
Could not connect to DB using IRIS studio, and I don`t know why, maybe someone can help.
Checked already user - it have %All rights
Also, tried using _SYSTEM user, but the same error is occured.
Does anyone have suggestions, I will appreciate your help.
Providing some screenshots regarding this problem.
.png)
Is anyone using the IPM client (e.g., running commands like zpm "install somepackagename") on an IRIS version earlier than 2022.1?
We're thinking about raising the minimum supported version so we can use Embedded Python in IPM. I'm curious if this would impact anyone. Of course, you'd be able to continue to use an earlier version of IPM.
How do you configure it to have source control on a namespace accessed via the InterSystems Server Manager extension?
An example from the video explains only how it will work with a cloned git repo on a local machine (PC/Mac), but so far, I can't get it to work on a remote development server (replacing existing remote Studio via RDP with local VS Code).
I built a monitoring system in Grafana using the IRIS API /api/monitor/metrics (reading with Prometheus) but I noticed that the RAM usage shown was below that shown by the operating system.
I installed the Zabbix agent and the usage values were higher, but with a line with the same highs and lows but shifted.
The metric in the API is iris_phys_mem_percent_used, described as "Percent of physical memory (RAM) currently in use", in Zabbix it is the Item tag: "component: memory" item: "Memory utilization".
Image below of the graphs in Grafana:
.png)
Using the command "free -h" the server returns:
So I know we can run routines using both XECUTE or @
However both of them run slower than just running the routine without it. (that is because as far as i understand, XECUTE command for example will re-compile before running?)
the question is: how can I run a routine by name - and keeping the performance as good as possible?
As the title suggests, I would like to programmatically export each HL7 schema category as XML, either as a stream object or to a file. How would I go about doing this?
.png)
i am trying to embed a dynamic SQL into Objectscript code , but the %NEXT() will return 0 , however when i copy the same query and run it in the SQL bit it will give me the result i want
the code :
set myquery = "SELECT"
set myquery = myquery_" $PIECE(Substring(M.Rawcontent,Charindex('PD1|',M.Rawcontent),1000),'|',4),"
set myquery = myquery_" H1.TargetConfigName,"
set myquery = myquery_" H.Timecreated,"
set myquery = myquery_" H.MessageBodyId"
set myquery = myquery_" FROM"
set myquery = myquery_" Ens.MessageHeader H"
set myquery = myquery_" left outer join Enslib_HL7.Message M ON (H.MessageBodyId=M
.png)
we've set up a new RHEL server 7.9
I was able to get the portal to work partially from running this command
[root@facsp1 DSA200]# firewall-cmd --zone=public --add-port=57772/tcp --permanent
success
though as I said it was partial. any idea where else I need to change to make this work?
thanks
Paul
.png)

