– 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
✓ 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".
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.
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)
It's not supported at the moment but is it possible to implement the Sonatype Nexus (or JFrog Artifactory) support based on the current (or upcoming) IPM version?
In repo command help I see there is a support for filesystem repositories (which I have not yet tried) and my current (hopefully not far-fetched) interpretation is the IPM is designed to be able to support different repositories:
zpm:IPMTEST1>help repo [.
As the title suggests, I would like to programmatically export each individual data lookup table as XML, either as a stream object or to a file. How would I go about doing this?
I'm trying package IPM command but I'm getting the following error:
zpm:IPMTEST1>package -verbose -only -path /home/irisowner/ osex-ipm-hello
[IPMTEST1|osex-ipm-hello] Package START
Exporting 'OSEX.ipm.hello.Hello.cls' to '/home/irisowner/src/OSEX/ipm/hello/Hello.cls'
Exported to /home/irisowner/module.xml
Module exported to:
/home/irisowner/
[osex-ipm-hello] Package FAILURE
ERROR! ObjectScript error: <VALUE OUT OF RANGE>zConstructTar+19^%ZPM.Utils.FileBinaryTar.1What's wrong here?
I can see all the correct module files created:
$ pwd /home/irisowner $ ll module.
We are excited to announce the newest addition to our early access program - the Health Data De-ID tool.
The tool will de-identify structured clinical data according to HIPAA Safe Harbor and allow for re-identification if required. It uses InterSystems’ SDA canonical format which is utilized for all our standard transformation from one format to another such as HL7 to CDA, HL7 to FHIR, etc.
Hey Community,
Watch the new video on InterSystems Developers YouTube:
⏯ Securing AI Implementations - Moving from Experimentation to Production @ Global Summit 2024

This is a template for a FastApi application that can be deployed in IRIS as an native Web Application.
git clone
cd iris-fastapi-template
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
docker-compose up
The base URL is http://localhost:53795/fastapi/.
/iris - Returns a JSON object with the top 10 classes present in the IRISAPP namespace./interop - A ping endpoint to test the interoperability framework of IRIS.Hello,
I am using the following:
s status = $SYSTEM.OBJ.Load("myClassName," "c")
and while trying to compile it i get an error that a property or method does not exist, more specifically:
Method or Property 'basicToolbar' does not exist in this class.
it's important to say - basicToolbar DOES EXIST! If i manually compile this class through the studio, it will work and is runnable.
only when using the Load command i get this error.
what could possibly be wrong?
i also tried combination of different flags but fail to understand how is this possible.
If both fields are numeric and the result of subtraction of field1-field2 is positive, only then put the result is a data field.
I am doing this within an Iris DTL.
I don't find any functions like IsNumeric(). Once I get that, I can test if field1>0 and field2>0, do the subtraction, and test if diff>0.
I just need a function to determine if they are numeric, rather than some cumbersome way like a regex where the only characters are 0-9.
I see functions in documentation but don't see them used at tests, only in WRITE statements.
Thanks,
Jonathan
I have a question about the routing of IIS.
If I have a javascript application that has a single entry point app.html. Is it possible to configure the IIS server such that both the urls
addr:port/entry1 addr:port/entry2
to provide the same app.html and let the javascript code from application decide what component to load next, depending on the path of the URL ?
My IIS server is configured such that when I do a GET url1, ir tries to send entry1.html , respectively entry2.html when I do GET url2.
I am just writing something to share what I encountered last night, which is the IRIS 2024.3 does not comes with Python by default any more!!!
Which means that I need to install it by myself!!😅 The pros is, I can select my python version😁🤭💃 The trouble is.... at the first place.... I don't know what I should do😥. By going through the community (I am much more prefer than the official document, sorry InterSystems document team😓 ), I found the following piece
https://docs.intersystems.com/iris20242/csp/docbook/DocBook.UI.
Our TEST environment and PROD environment are on two different versions of HealthShare Health Connect.
| TEST | IRIS for UNIX (Red Hat Enterprise Linux 8 for x86-64) 2024.1 (Build 267_2U) Tue Apr 30 2024 16:06:39 EDT [HealthConnect:7.2.0-1.r1] |
| PROD | IRIS for UNIX (Red Hat Enterprise Linux 8 for x86-64) 2022.1.4 (Build 812_0_22913U) Thu Dec 7 2023 17:06:30 EST [HealthConnect:3.5.0-1.m1] [HealthConnect:3.5.0-1. |
I'm using $system.obj.load() to synchronize a folder contains many classes (CLS) in UDL format. I use "-d" as flag (compilation is done later one). It's already done in parallel to make it as fast as possible but I was wondering if there was way to make this even faster, for example using some tradeoffs (eg: by turning off some features before loading them all (that would be re-enabled later on)). It's currently taking 250 seconds to import 3000 classes. MAC file and GBL import is much faster.
Hi all.
I hope you can help me.
I've renamed a namespace and its databases names.
The rename of all has worked fine. When I've tried to access to the portal, it is no available, displaying the message "Tha namespace SRV-LABORATORIO does not support productions"
So, I've run the following command in terminal
zn"SRV-LABORATORIO"do##class(%EnsembleMgr).EnableNamespace($namespace)My IRIS has created the links to create the production.
Now, I've opened the portal but my code has disappear.
Is it possible to use one IIS server to configure Webgateway and external Webserver for management portal when implementing synchronous mirroring with VIP i.e Is it necessary to have two mirror servers(primary and Backup) , one Arbiter server, one Webserver for Webgateway and a sperate webserver for management portal?
If anyone can please point to any documentation on Mirroring with Webgateway and external webserver for management portal will be really helpful.
Thank you for your help
I'm trying out the package manager (IPM). I'm trying to create a local (private) registry. To me it looks like the local registry installation succeeded but I can't figure out how to use it.
I'm using latest stable v0.7.3.
I have uploaded one module there (as told in one forum post):
$ curl http://localhost:52774/registry/
{"version":"1.3.2"}
$ curl http://localhost:52774/registry/packages/-/all
[{"name":"objectscript-math","description":"Math library for InterSystems ObjectScript","repository":"https://github.com/psteiwer/ObjectScript-Math/","origin":"","versions":["0.0.Does InterSystems IRIS has a MEDIAN (or percentile) calculation in SQL?
User-defined aggregate functions have been supported in IRIS since 2021.1.0. I'd wished upon a star for these years ago before finding a secret hacky way to override MAX and MIN in a custom datatype, but didn't get a chance to actually try one out until today. I thought it was an interesting experience/example - the question of how to get a Median in IRIS SQL came up once before - so I'm sharing it here without too much further comment.
Is there anyway to delete a task if the namespace associated with task is already deleted?
We have a custom purge task which is associated with an old namespace( which is already deleted) . All the option in the task details are now disabled. Is there anyway to update it or delete it?
.png)
Thankyou for your help
The IRIS Management Portal is localized (translated) for some (many?) languages and the language used by the Management Portal interface is determined by the browser settings, often derived from the OS settings (can be changed).
This means that if a user, like me, want to use ONLY the English version of the Management Portal, each and every time you login you need to change the language. VERY annoying.
I know I can change the language configured in Browser, BUT, I want to use English for the IRIS management portal non for all my internet activity!
An interface running on Ensemble generates PDFs by building a command line and invoking c:\InterSystems\Ensemble\fop\fop.bat
One day last week the PDF generation stopped working. The output from the .bat script says:
.png)
The Server has not restarted, and the Java version has not been updated. Ensemble has not restarted. And Java is still accessible outside of Ensemble from the command line. So how come Ensemble has "lost" java? Any clues as to what might have gone on?