I am having code like this,
set args = []
set resultSet = ##class(%SQL.Statement).%ExecDirect( , sql_whereClause, args)
Instead of placing args[1],args[2] etc into the above I want to pass the whole args at a time if it possible.?
I am having code like this,
set args = []
set resultSet = ##class(%SQL.Statement).%ExecDirect( , sql_whereClause, args)
Instead of placing args[1],args[2] etc into the above I want to pass the whole args at a time if it possible.?
We often get questions about recent and upcoming changes to the list of platforms and frameworks that are supported by the InterSystems IRIS data platform. This update aims to share recent changes as well as our best current knowledge on upcoming changes, but predicting the future is tricky business and this shouldn’t be considered a committed roadmap.
With that said, on to the update…
As we said yesterday... our EMPI can receive data from multiple sources, REST, HL7 messaging, etc. But it is possible that the standard fields are not enough and we want to expand the patient information to help discriminate and uniquely identify them. How could we customize patient data? Modifying the standard classes to our liking? NOOOOO!!!! Well, a little yes, but not like crazy, because if we modify standard classes carelessly we may find that in a future update we lose all these modifications.
Muy bien, continuemos con la configuración de nuestro EMPI en el
Hello,
I would like to get a list of all globals that have been read or written during a given context. In Portal, there are counters in dashboard that give the number of read/write to globals in general.
What I am looking for :
- some handler (eg: like $ZTRAP) that will be called everytime something is read/written to a global.
- to activate a "global log mode" in Portal that will dump some information to a file (like ^ISCSOAP for SOAP requests).
I understand this is something that can considerably slow down IRIS, but it's intended to be used only for debbuging and under no load.
As last resort,
I have a repository on github. I wanna setup that repo into my local IRIS instance and also I want to work on different branch and commit those back to the same repo.
Please help me through this.
I also have a .DAT file which i think contains code and data and not .git folder. So how can i sync that to my git repo for further development.
Hi,
Getting the following error when activating a foundation namespace(FHIR Server). Anyone had this issue before:
|
<THROW>zAddRecordToLogPersistence+7^HS.HC.Util.Installer.1 *%Exception.StatusException ERROR #5001: Attempt made to use $$$ActivationLog* macros before HSSYS exists |
Thanks
how can i use git for versioning while working in IRIS.
I am having directory that i created while working in iris. How can i manage version control using git in this case.
Is it possible with vscode terminal or with a normal terminal in mac.
Is there a reason why calling %ExecDirect() (or %Execute) won't set the %SQLCODE of the result set to 100 even when the query returns no data?
Here is the code in question with a bit of contrivance to force the issue:
set statement = ##class(%SQL.Statement).%New()
set result = ##class(%SQL.Statement).%ExecDirect(statement,"select top 0 0 from Example.Testing")
w result.%SQLCODE
The %SQLCODE is set to 0 in this case. The same happens if I use %Prepare and %Execute, e.g.
set statement = ##class(%SQL.Statement).%New()
set status = statement.%Prepare("select top 0 0 from Example.Testing")
set result
Hi there,
Please, could anyone tell me how can I set up VSCode terminal to IRIS terminal? I already saw this working in a video with docker version from IRIS Community. I have the Intersystems Extension Pack and IRIS Community locally installed.
Thanks
Hi folks!
Those who actively use unittests with ObjectScript know that they are methods of instance but not classmethods.
Sometimes this is not very convenient. What I do now if I face that some test method fails I COPY(!) this method somewhere else as classmethod and run/debug it.
Is there a handy way to call the particular unittest method in terminal? And what is more important, a handy way to debug the test method?
Why do we have unittest methods as instance methods?
Since SELECT ... FOR UPDATE is implemented in many RDBMS as a method of explicit row lock acquisition, I think there are many cases where this function is used.
This syntax is not an error for InterSystems products, but it does not acquire row locks as expected.
This article will show you how to achieve equivalent functionality.
DECLARE CURSOR C1 IS
SELECT Name FROM Person WHERE Name LIKE 'A%' FOR UPDATE
OPEN C1
LOOP FETCH C1 INTO name
... show name
... EXIT the LOOP when finished
END LOOP
CLOSE C1The above SQL statement can be substituted with the following SQL
Using the Config.Configuration class and SYS.Database class methods, you can create and register a namespace database from the terminal.
Below is a series of execution examples that create database file /CacheDB/AAA/cache.dat and register database AAA and namespace AAA in the configuration file (cache.cpf).
* Execute in the %SYS namespace. *
* Make sure that this script runs as the user that is used for all IRIS processes to ensure that the directory has appropriate ownership and permissions *
Hi All.
Had an empty Ensemble namespace (interoperability enabled) which the customer had requested renaming before beginning development, so was wondering about best practice to achieve this.
I saw on the docs (https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…) that this can be done with management portal and terminal commands but it seemed simpler to just create a new namespace and delete the old. The way I did this was to create a new namespace using 'Copy from' the existing, then delete the old one.
my questions are:
1.
Hello Team,
please can someone help me in the below.
I'm trying to call a Rest API below specification working in postman, and receiving perfectly the response:
POST /PharmacyServices/api/Pharmacy/Upload?Key=aaaa&Username=bbb&Password=ccc HTTP/1.1
Host: abc:38440
Content-Length: 240
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="File"; filename="///xxxx/POC/CSV/20230607.csv"
Content-Type: text/csv
(data)
------WebKitFormBoundary7MA4YWxkTrZu0gW--
Here's what i'm trying to do in IRIS:
Set docpat
Hi Community!
We're pleased to invite all DC members to the InterSystems Global Masters Gamification Platform to get points and prizes for your contribution to the Community, learn with selected content about InterSystems technology, network with your peers and have fun!
▶️ What is Global Masters?
Global Masters is a gamification platform, where you learn technology, complete tech quizzes, watch videos, etc. You will be completing challenges (tasks) related to ISC technology, earning badges & points, and exchanging points for a variety of rewards.
Hi Guys,
I'm using the below code to download, extract files in a file directory then save data into a global, and remove the file directory as not needed anymore, but the issue is that the class(%File).RemoveDirectoryTree is not deleting, also tried class(%File).RemoveDirectory and same thing.
I'm suspecting that maybe because the process is still considering the file or the directory is opened or still in use !? I also tried to run the class(%File).RemoveDirectoryTree("D:\SpaceSense2014\LIVE-SPACESENSE\NodeJS\FFTData_20019082") from the terminal and still nothing ?
The two class(%File).Delete
Just for knowledge purpose. Is there any disadvantage of using IRIS on Mac/Linux machine over a windows system
|
This post backs the demonstration at Global Summit 2023 "Demos and Drinks" with details most likely lost in the noise of the event. This is a demonstration on how to use the FHIR SQL Capabilities of InterSystems FHIR Server along side the Super Awesome Identity and Resolution Solution, Zingg.ai to detect duplicate records in your FHIR repository, and the basic idea behind remediation of those resources with the under construction PID^TOO|| currently enrolled in the InterSystems Incubator program. If you are into the "Compostable CDP" movement and want to master your FHIR Repository |
Is there a API specification for the ZPM / IPM package manager for anybody that would like to implement their own registry?
InterSystems announces its third preview, as part of the developer preview program for the 2023.2 release. This release will include InterSystems IRIS and InterSystems IRIS for Health.
Many updates and enhancements have been added in 2023.2 and there are also brand-new capabilities, such as Time-Aware Modeling, enhancements of Foreign Tables, and the ability to use Ready-Only Federated Tables. Note that some of these features or improvements may not be available in this current developer preview.
Another important topic is the removal of the Private Web Server (PWS) from the
Hello Community!
I continue my Global Summit journal and would like to welcome you to the second day.
The keynotes of this day were dedicated to IRIS Data Platform (yay!).

Scott Gnau started the presentation by explaining why IRIS is called IRIS. I didn't know this!

After the keynotes (and a lunch) everyone went their separate ways to find the sessions, workshops and events they registered for.
Tech Exchange, where the Developer Community booth is, was as usual full at this time.
.jpg)
Someone was talking about containers and it gathered quite a crowd!
During the day, moderators dropped by to ask what's
I have the following method call (have included html and css as well). when I debug the code in a browser, JavaScript seems to work fine. Loading image is coming up, table is getting hidden. But when I close the debug and just load the page and run it, loading image is not coming up, neither the table is hidden. Not sure what is going on? I need help to understand what I am doing wrong?
XData Style
{
<style type="text/css">
#loading {width: 100%;height: 100%;top: 0px;left: 0px;position: fixed;display: block; z-index: 99}
#loading-image {position: absolute;top: 40%;left: 45%;z-index: 100}
</style>
}
X
The below code gives a empty string output.
Set secretSigned = ##class(%SYSTEM.Encryption).RSASHA1Sign(512,token,secret)
The secret is a valid PEM private key.
Is there any more logic that needs to prefix this method call?
I am curious as to why one would use lookup tables, and what would be the best practices regarding them. We have two namespaces, and we would like to use the lookup table in each one. But, there's no clear outline of when to use them, and what are the best ways to use them?
Any help is appreciated.
Recently I needed to restore a version of a production class, which was overwritten by compilation and running UpdateProduction. As the correct version was unavailable in the source control, I used journals to restore the data. Journals store a plethora of information about what's happening in the system and are quite a powerful tool. This article explains how to work with journals to extract the data you require.
how can i import IRIS.DAT file into iris system. I am told that it is database file that will be import into iris db.
Hi Guys, I'm resending this because I sent on the weekend and looks like it has not been noticed much
I'm not that familiar in using Javascript in Zen pages, so basically we have a priting utility (app) that requires us to add a bit of JavaScript call to facilitate printing from our Zen pages as below:
.png)
So I added XData link pasted the required script, is this the correct way?
.png)
Hello,
Thanks for reading this question.
How would you recommend to filter out some XML elements according to a certain criteria?
We have the following message with all patient's drug prescriptions, let's call this message [1]:
<?xml version="1.0"?><!-- type: Mensajes.Response.RESNS.RespondingGatewayCrossGatewayQueryResponse id: 52851815 --><RespondingGatewayCrossGatewayQueryResponse><status>urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success</status><requestId/><RegistryObjectList><s01:ExtrinsicObjectid="urn:uuid:0e896256-9d21-4a9e-91ca-4de0f445c637"homeUnlike IRIS Studio have compile depended classes feature. How to achieve this in mac on Vscode.
Hello guys!
I'm reasonably sure that a lot of you would've liked to be present at the Global Summit 2023 but for one reason or another, you couldn't be present. Here is a brief recount of what went on on 4th and 5th of June.
.jpg)