User calls my REST service. I need:
- Redirect him to a POST url
- Provide request body
Is it possible? How?
User calls my REST service. I need:
Is it possible? How?
Can you please provide ORM Sample HL7 for Version 2.8.2?
Also, give me all the HL7 Versions supported list for ORM message type.
Hey Community,
Enjoy watching the new video on InterSystems Developers YouTube channel:
⏯ Creating Virtual Models with InterSystems IRIS Adaptive Analytics
Hi developers!
As you probably noticed in IRIS 2021 the names of globals are random.
And if you create IRIS classes with DDL and want to be sure what global was created you probably would want to provide a name.
And indeed you can do it.
Use WITH %CLASSPARAMETER DEFAULTGLOBAL='^GLobalName' in CREATE Table to make it work. Documentation. See the example below:
Python is 31 today ; let’s celebrate it 🎂
And special thanks to Guido van Rossum
Creating REST API using InterSystems ObjectScript is very easy, but some recipes can help you into this process:
1) To create your REST API extends %CSP.REST and Go to System Administration > Security > Applications > Web Applications > Click the button Create New Web Application and set the Name, REST Dispatch Class with your package and classname and choose the Allowed Authetication Methods. See this example:
Edit Web Application
.png)
2) Configure your REST API using ZPM configuration. To do this follow this sample (watch the tag <CSPApplication>):
ZPM Code to Create REST API
Hi Community,
This post is a introduction of my openexchange iris-python-apps application. Build by using Embedded Python and Python Flask Web Framework.
Application also demonstrates some of the Python functionalities like Data Science, Data Plotting, Data Visualization and QR Code generation.

If one of your packages on OEX receives a review you get notified by OEX only on YOUR package.
It reflects my experience with the status I found at the time of my review.
It is kind of a snapshot and might have changed meanwhile.
Receiving this error ERROR #5002: Cache error: <MAXSTRING>zgetAtFromArray+28^EnsLib.HL7.Segment.1
what is the max size for an encoded PDF using the GetFieldStreamRaw code
After invoking a SOAP call in a SOAP Outbound Adapter Operation, how do we get the header information? For example, the HTTP 200 response code.
In SoapUI we can read the header information, but we're trying to view it in Production.
In the class HS.Util.Zip.Operations the OnInit method does a get value for ZipUtility, ZipCommand, UnZipCommand.
What is not clear in documentation is where/how those key/values are set. Any assistance would be appreciated.
Method OnInit() As %Status
{
If (##class(HS.Registry.Config).GetKeyValue("\ZipUtility\ZipCommand")="") || (##class(HS.Registry.Config).GetKeyValue("\ZipUtility\UnZipCommand")="") {
$$$LOGERROR($$$Text("Zip Configuration is not configured, please define config registry entries \ZipUtility\ZipCommand and \ZipUtility\UnZipCommand"))
This post provides guidelines for configuration, system sizing and capacity planning when deploying IRIS and IRIS on a VMware ESXi. This post is based on and replaces the earlier IRIS-era guidance and reflects current VMware and InterSystems recommendations.
Last update Jan 2026. These guidelines are a best effort, remember requirements and capabilities of VMware and IRIS can change.
I jump right in with recommendations assuming you already have an understanding of VMware vSphere virtualization platform.
Hello everyone. I present this project to the contest. The export module is essential in many of my projects and is often used in all my product servers.
I have implemented various scenarios in the invoke attribute initialization module, both maximalistic with many additional projects to demonstrate in GCR , and minimalistic to install natively in production instance
zpm "install appmsw-sql2xlsx -Dzpm.demo=none"
To demonstrate the possibilities, I used the fileserver and csvgen projects.
To demonstrate the possibility, I propose to perform the following steps: Load a demo and enter the name and
Hi Community, we continue to gather feedback about Data Loading & Packaging. In particular, we're interested in hearing your impressions on some of the new capabilities added with InterSystems IRIS 2021.2 We'll be using this feedback to improve InterSystems IRIS, so please feel free to share any details and feedback:
>> Link to the survey (14 questions, 5 min) <<
Note: this is the same survey we already published during the contest, on Global Masters and Discord. If you already participated, you don't have to do it again. Thank you for the feedback!
.png)
Hey developers!
Sometimes we need to insert or refer to the data of classes directly in globals.
And maybe a lot of you expect that data structure of global with records is:
^Sample.Person(Id)=$listbuild("",col1,col2,...,coln).And this article is a heads up, that this is not always true, don't expect it as granted!
Hi all,
I am trying to use a %Status property on some of my Response classes. If the execution of a service goes wrong, I set the %Status property on Response with the value $$$ERROR($$$GeneralError, "pre-defined error message").
When I check the visual trace for this message and look for the %Status (property "status_code" on the image), it is displayed like this:
.png)
If I select to display the Body of the Response, I get the 'readable' form of %Status:
.png)
According to the documentation, this is expected as %Status properties are encoded in base64 during Projection to XML.
So my question is: Is it
Update 7 includes a number of stability improvements over previous updates and support for support for all of the planned 2022.1 features. If you notice any problems at all, now's the time to let us know. The docker pull commands below have been updated with the latest build numbers. Enjoy!
As this is InterSystems' first developer preview release, let's take a moment to describe what these are. The developer preview program enhances the previous IRIS preview program with approximately bi-weekly releases that add features as they are ready. This allows us to get feedback on capabilities and enhancements as they're available. You'll see below a list of enhancements that are targeted for 2022.1, which are not included in the first developer preview. Look for those over the coming weeks.
We are eager to learn from your experiences with this new release ahead of its General Availability release. Please share your feedback through the Developer Community so we can build a better product together.
InterSystems IRIS Data Platform 2022.1 is an extended maintenance (EM) release. 2022.1 includes the many important new capabilities and enhancements have been added in 2021.2, the continuous delivery (CD) release, since 2021.1, the previous EM release. Please refer to the release notes for 2021.2 for an overview of these enhancements.
i have create rest api service. Trying to get value from post request:
{ "UserName": "Tom", "UserID": 123 }
here is my class
Class User.REST Extends %CSP.REST
{XData UrlMap [ XMLNamespace = "http://www.intersystems.com/urlmap" ]
{
<Routes>
<Map Prefix="/restforms" Forward="Form.REST.Main"/><Route Url="/test" Method="GET" Call="test"/>
<Route Url="/CreatePost" Method="POST" Call="post" Cors="true"/>
</Routes>
}
ClassMethod post() As %Status
{
set sc = $$$OK
set req = %request.content
set userName = req.UserName
zw userName
return $$$OK
}
getting error:
{
"errors": [
{
Hello Programmers,
I'm trying to use Intersystems IRIS Database with
Quarkus, but I'm getting problems making it work
does anyone knows how to set up the Intersystems IRIS Database
on Quarkus ?
I did that on my pom.xml and also I added the jar
hibernate-iris-1.0.0.jar and intersystems-jdbc-3.2.0.jar but it's not working
<dependency>
<groupId>com.intersystems</groupId>
<artifactId>intersystems-jdbc</artifactId>
<version>3.2.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/resources/intersystems-jdbc-3.2.0.jar</systemPath
We are thrilled to announce that we’ve launched the InterSystems 🔥 FHIR startup incubator in Prague - Caelestinus.
We invite Health Tech startups to apply: to let your innovations speak FHIR, to consult and prove your idea with the leaders of Healthcare and IT!
Why join?
Hey Developers,
In this video, you will learn how to use VS Code with Python:
Hello fellows, I need you wisdom.
In my organization we code in ObjectScript and .int everyday. When I joined nobody knew barely nothing about classes and their use was almost only for storage definition purpose. During my self-learning in caché I discovered the object oriented programming and class developing was possible in caché and started to code in .cls . Being something self-taught, I may have some basic doubts I'd have missed in my documentation readings.
With this scenario in mind, it is common that we use the @ operator to use wildcards for storing same data structures in different
Installed the IRIS in my local machine but not able to launch management portal.
LS,
Is there a samples on how to create the OAuth2 server from code? Now trying:
I am using a Gradle Project for testing APIs, but I need to connect to the database.
I already put this on the dependencies:
.png)
And I'm trying to use this way:
.png)
But I'm keep getting this error: java.lang.ClassNotFoundException: com.intersys.jdbc.CacheDriver
Is there any place that I can put a JAR file? Because the project has no lib folder (I already tried to add it, but it doesn't work).
I am surprised with the performance (poor) of Native API for .NET
Following code (where ^testGlobal,node1 has 50 records) takes 5 seconds to run. Anyone else think there is room for the improvement?
string global = "^testGlobal";
object[] Subs = new object[1];
Subs[0] = "node1";
try
{
IRISIterator iter = iris.GetIRISIterator(global, Subs);
foreach (var item in iter)
{
Console.WriteLine((string)(iter.CurrentSubscript));
}If your embedded python code calls tkinter library (which is used by a lot of graphic producing libraries, including matplotlib), you might get this error:
<THROW> *%Exception.PythonException <CLASS DOES NOT EXIST> 230 ^^0^DO ##CLASS(User.Test).Test()
<class '_tkinter.TclError'>: Can't find a usable init.tcl in the following directories:
c:/intersystems/irispy/lib/python/lib/tcl8.6
c:/intersystems/irispy/lib/tcl8.6
c:/intersystems/lib/tcl8.6
c:/intersystems/irispy/library
c:/intersystems/library
c:/intersystems/tcl8.6.9/library
c:/tcl8.6.9/library
This probably means that TclHi all,
I have a rule to throw a message when there is an error. I want to prevent send the email if the origin of the error is the API to send the email
This is my rule
.png)
Now, If there is any error in any process, it works, but if there is an error in MyProduct.BO.SendEmail it is trying to send the error again, and it is a infinite loop.
Is there any way to check what is the origin and don't process if the origin is MyProduct.BO.SendEmail?
I've tried to set a condition in when node but it doesn't catch any property of Ens.AlertRequest
.png)
It doesn't work.
Hi, I’m recently decided to stay for some months in Dubai. And looking for new opportunities here, as well as even would like to meet in person with local people who works with InterSystems. I can share my knowledge and experience. What do you think? Do we have somebody from Dubai, or other from other parts of UAE?
Hello, developers!
In this series, I will not show you how to use IRIS for Health, but rather how to use SUSHI, a tool for creating FHIR profiles, as an associated technology.
With the right tools, the profile information (specifications, limitations, extensions, etc.) of a FHIR project can be well organized and published.
Before we begin, what is SUSHI? I will briefly explain it.
FHIR is an acronym for Fast Healthcare Interoperability Resources and is defined as a standard for healthcare information exchange that can be implemented in a short period.