InterSystems IRIS is a Complete Data Platform
InterSystems IRIS gives you everything you need to capture, share, understand, and act upon your organization’s most valuable asset – your data.
As a complete platform, InterSystems IRIS eliminates the need to integrate multiple development technologies. Applications require less code, fewer system resources, and less maintenance.
Continuing to observe the possibilities of Django, and usage with IRIS. The first we have looked how to define models and connect to tables already existing in IRIS, than we extended embedded Django Administration portal, with an ability to see what data we have in that models, with filters, editing and even pagination.
Time to go to real action, now we a going to create some REST API, on Django, based on the same data, we used before from the package posts-and-tags.
To do so, we will use Django REST Framework

Django REST framework is a powerful and flexible toolkit for building Web APIs.
Some reasons you might want to use REST framework:
- The Web browsable API is a huge usability win for your developers.
- Authentication policies including packages for OAuth1a and OAuth2.
- Serialization that supports both ORM and non-ORM data sources.
- Customizable all the way down - just use regular function-based views if you don't need the more powerful features.
- Extensive documentation, and great community support.
- Used and trusted by internationally recognised companies including Mozilla, Red Hat, Heroku, and Eventbrite.
In the first part, I've shown how to start a new project on Django, as well as define new models and add already existing models.
This time, I'll introduce an admin panel, available out of the box and how it can be useful.
Important note: do not expect that if you try to repeat actions from this post it will work for you, it does not. During the article, I had to do some fixes in the django-iris project, and even in DB-API driver made by InterSystems to fix some issues there as well, and I think this driver is still in development, and we will get more stable driver in future. Let's decide that this article only explains how it could be if we would have all done.
In this article, I am trying to identify the multiple areas to develop the features we can able to do using python and machine learning.
Each hospital is every moment trying to improve its quality of service and efficiency using technology and services.
The healthcare sector is one of the very big and vast areas of service options available and python is one of the best technology for doing machine learning.
In every hospital, humans will come with some feelings, if this feeling will understand using technology is make a chance to provide better service.
Hi developers! In this article I’m going to explore the use of Iris Python Native API in a specific problem: large strings to store.
Why Python Native API?
Background
InterSystems IRIS 2019 is going to introduce new and exciting features. One of the areas with new interesting must-to-know things is the API Management.
Following this GitHub we will see how the FIX protocol can be implemented easily using IRIS and Python.
If you don't have much time focus on the Send a Quote before the Order part near the end, as it will, in a matter of minute, tell you how to send a Quote Request followed by an Order Request and show you the result from the server, and that in no more than five clicks.
IRIS-fix-protocol
Implementation of the fix protocol using an IRIS python container for the initiator and a regular python container for the acceptor.
An interesting pattern around unique indices came up recently (in internal discussion re: isc.rest) and I'd like to highlight it for the community.
As a motivating use case: suppose you have a class representing a tree, where each node also has a name, and we want nodes to be unique by name and parent node. We want each root node to have a unique name too. A natural implementation would be:
When we collect temporary data (the number of purchases in the store, the number of comments on the post), it may happen that there is no data for a certain period of time. In this case, this time period (hour, day, month) is not represented in the database, that is, there is not a single row for this period. In other words, there are no rows in the database for this period.
In this article, I would like to talk about the spec-first approach to REST API development.
While traditional code-first REST API development goes like this:
- Writing code
- REST-enabling it
- Documenting it (as a REST API)
Spec-first follows the same steps but reverse. We start with a spec, also doubling as documentation, generate a boilerplate REST app from that and finally write some business logic.
This is advantageous because:
- You always have relevant and useful documentation for external or frontend developers who want to use your REST API
- Specification created in OAS (Swagger) can be imported into a variety of tools allowing editing, client generation, API Management, Unit Testing and automation or simplification of many other tasks
- Improved API architecture. In code-first approach, API is developed method by method so a developer can easily lose track of the overall API architecture, however with the spec-first developer is forced to interact with an API from the position if API consumer which usually helps with designing cleaner API architecture
- Faster development - as all boilerplate code is automatically generated you won't have to write it, all that's left is developing business logic.
- Faster feedback loops - consumers can get a view of the API immediately and they can easier offer suggestions simply by modifying the spec
Let's develop our API in a spec-first approach!
Is there anyone using this callback in the code? I was searching in the latest IRIS documentation for any handy callbacks of the %Persistent class which allows me to execute some codes just right after a transaction has been committed (TCOMMIT). The description of this %OnSaveFinally() sounds the thing I want because it said:
If the calling method started a transaction then that transaction is completed prior to invoking the callback.
However, I later discovered in my own test that this callback is triggered after %Save(), not after TCOMMIT.
I would say it is a post of pain after years of using InterrSystems IRIS Docker images in many projects.
And I hope InterSystems will hear me and do something with it.
We have a lot of issues with Docker images, but I see no progress in solving them.
- containers.intersystems.com - any new releases substitute previous versions, makes build useless
- ARM64 images have separate names, and it makes a pain to use them
- flags in iris-main, appears and disappears from version to version, which may fail the start the container
- healthcheck does not work as expected
Hello,
I became aware of Python in the early 2000s when I started automating tasks. Some of our processes utilized python scripts. I never figured it out very well, and we decided to do away with Python because nobody on our team was familiar with it.
Along the way, I heard a lot about Python. My interest was renewed when InterSystems offered bonus points for using Python in contests.
The things I like the most about Python so far is how easy it is to find the mean of the ages of all Titanic passengers. For my test-data app I wanted to find the largest value in the ‘Qty’ column in a CSV file.
Hi Community,
Let's meet together at the online meetup with the winners of the InterSystems Full Stack contest – a great opportunity to have a discussion with InterSystems Experts team as well as our contestants. Winners' demo included!
Date & Time: Friday, July 22 – 12:00 PM EDT
Hello,
I found another question on how to change the language for Studio (but it would've been nice to have my actual language used - Ukrainian, since it's available, or was available). Still, I can't seem to figure out how to get rid of gibberish in the menu without changing the Windows settings:
Hi all,
I've just update the version of WebTerminal using the link, but now it doesn't work.
When call to /terminal is displaying the following error:
{
"errors":[ {
"code":5002,
"domain":"%ObjectErrors",
"error":"ERROR #5002: Error de cache: <INVALID OREF>zWrite+5^WebTerminal.StaticContent.1",
"id":"ObjectScriptError",
"params":["<INVALID OREF>zWrite+5^WebTerminal.StaticContent.1"
]
}
],
"summary":"ERROR #5002: Error de cache: <INVALID OREF>zWrite+5^WebTerminal.StaticContent.1"
}Hi.
Why are relationship properties not included in %JSONExportToString() method even they have cardinality one or parent?
Regards,
Matjaž
This is the third in a series of releases that are part of the developer preview program for 2022.2 Future preview releases are expected to be updated biweekly and we will add features as they are ready. Many updates, fixes and enhancements have been added in 2022.2, in SQL management, cloud integration, Kafka and JMS adapters, the SQL Loader, and other areas. Please share your feedback through the Developer Community so we can build a better product together.
Hi community,
This is the third article in the series about initializing IRIS instances with Docker. This time, we will focus on Enterprise Cache Protocol (ECP).
In a very simplified way, ECP allows configuring some IRIS instances as application servers and others as data servers. Detailed technical information can be found in the official documentation.
This article aims to describe:
- How to script the initialization of a data server, and how to script the initialization of one or more application servers.
- How to establish an encrypted connection between these nodes with Docker.
I am trying to use EnsLib.SQL.Operation.GenericOperation for retrieving (multiple) rows. But I am looking for a way to handing a StreamContainer returned by the operation, in my business process such as receiving it in the Context object and packing it to a request to call another business operation.
Does anyone have sample code to do this?
Thanks.
Developer Preview releases are now available for the 2022.2 version of InterSystems IRIS, IRIS for Health, and HealthShare Health Connect.
Hi,
I'm trying to load some data into IRIS using LOAD DATA in the IRIS terminal however I am getting blocked by this error. I have read the documentation on this page trying to set up a gateway connection but get the same Connection cannot be established error.
This is what is in the %Java Server activity log
Hi,
I want to access a Stored Procedure in a remote SQL Server Database. I am quite new to Object script.
The stored procedure has 3 parameters: 2 datetime parameters and 1 integer.
Which is the best way to do that? I'm wondering if I can use the link stored procedure feature inside object script or some SQL statement in Object Script.
This SP returns a set of rows which I want to read, transform and save in a persistent class.
Thanks in advance,
Hi Community,
Just thought I'd let you know that you can still get a LifeStraw water bottle for completing a Gartner Peer Insights survey. With a built-in filter that removes bacteria, parasites, and microplastics, this water bottle is especially useful for hikers. Plus Gartner will give you three months access to its Peer Insights Plus, "an exclusive service that aims to help tech professionals stay current on technology trends and excel in evaluating software/services."
Hey Community,
We are super excited to announce the winners of the InterSystems Full Stack Contest 2022!
Thank you all for participating in our coding competition! And the winners are...

Jupyter Notebook is an interactive environment consisting of cells that allow executing code in a great number of different markup and programming languages.
To do this Jupyter has to connect to an appropriate kernel. There was no ObjectScript Kernel, that is why I decided to create one.
You can try it out here.
Here's a sneak peek of the results:
Jupyter Kernels 101
There are several ways to create a Jupyter Kernel. I decided to make a Python wrapper kernel.
Hey Community,
It's voting time! Let's cast your votes for the best applications in the InterSystems Full Stack Contest 2022:
How to vote? Details below.
Hey Developers,
Develop a Java application that connects to InterSystems IRIS® data platform relationally, natively, or with objects:
There are many ways to generate excel files using Intersystems, some of them are ZEN reports, IRIS reports ( Logi reports or formally known as JReports), or we can use third party Java libraries, the possibilities are almost endless.
But, what if you want to create a simple spreadsheet with only Caché ObjectScript? (no third party applications)

.png)

