Hey Developers,
Enjoy watching the new video on InterSystems Developers YouTube channel:
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.
Hey Developers,
Enjoy watching the new video on InterSystems Developers YouTube channel:
I am new to zen framework. I wanted to use Angular with in Zen framework.
If we can integrate both frameworks. Please help me in finding some resources to refer.
Process Mining( http://en.wikipedia.org/wiki/Process_mining) is becoming more and more popular in IT industry. I wonder that since all processes are stored and managed in IRIS/Health Connect, any one hs developed similar functions on IRIS? Thx!
Anyone have a X12 schema for 852 types concerning supply chain?
I running a query and get the results inside a result set. Now I have to iterate through the result set many times. From the doc I've seen only the Next() method. Is there a way to reset the cursor? Otherwise what is a good data structure to save multiple rows of a table?
My code in this case is something like this:
set sql = "SELECT * FROM MY_TABLE WHERE X= '"_Y_"'"
set status = ..Adapter.ExecuteQuery(.rs, sql)
// somehow iterate the rs more than one time
I am aware that we have 5 License Units on Community Edition. But I have issues figuring out how it's working.
I have Community Edition
USER>write $system.License.KeyCustomerName() InterSystems IRIS Community
Freshly started system, only terminal session open, so, only one license units used, and 4 left. As expected
USER>write $system.License.LUConsumed() 1 USER>write $system.License.LUAvailable() 4
Quote from documentation - $SYSTEM.License.MaxConnections() returns the maximum number of connections a user can make while consuming one license unit.
USER>write $system.License.MaxConnections() 25
I am trying to avoid parsing the SDA3 stream in each process. I am doing some section wise validation in different processes so i need to pass the SDA3 to each process.
When i pass that SDA3 stream that takes a lot of space in HD and takes a lot of time to parse the SDA3 object.
Is there any way that once i parse that SDA3 i can pass the same object to other processes, and i can save my storage and process that fast.
I cannot pass this by default to other process as non persistent object cannot be passed to another job(as per my finding).
Any leads will be great.
Hi all
I have a pair of servers configured as a mirror, each server sits in a separate data centre.
I have noticed that occasionally, the primary will report that the backup is disconnected in the Mirror Monitor, and I believe this to be due to connection conditions between the two data centres.
What I want to do is log the status of both servers from the primary on a regular basis using a service. I know %System.Mirror can return the status of the current member, but how can I log the get the status of the other member as well?
Cheers
Hello, new user here ! My admin granted me all access to the domain I'm working on. Nonetheless, I'm unable to perform simple SQL queries such as creating a table or an index.
Creating a table : within the namespace I've been granted access to, I'm trying to create a table with 2 methods :
CREATE TABLE test.hello_world (col1 INTEGER, col2 VARCHAR)
This raises the error :[SQLCODE: <-400>:
CREATE TABLE test.hello_world AS SELECT test.Has anyone had any success reading barcodes from PDFs or images in a Cache/IRIS application? I've been looking at some possible solutions for this, including the open source ZXing libraries. I know we have the ability to create them in Zen and Intersystems Reports, but as far as I know, there's nothing built in to actually read data from a barcode. If anyone has suggestions on how to go about this, I'd love to hear them.
In our specific case, we print reports with a Code 128 barcode on them.
Hi,
I have a problem with the recent update 4.9.4 of the WebTerminal.
This message appeared after the loading of the page :
New update is available. Click here to install it now. Changelist:
4.9.4: No longer require /terminal to be at the root of the URLSo I installed the new version. Unfortunatly, after refreshing the page, I have this message again and again :
WebTerminal lost connection with server (code 1006).
Attempting to restore session in 10 seconds...
Please, refresh the web page to start a new session.
WebTerminal lost connection with server (code 1006Hi,
I have a question about deleting journals at the OS level(Linux) without corrupting the IRIS DB or it’s mirror copies.
The reason for deleting journals is the filesystem it lives on frequently fills up.
I don't have enough disk space to further expand the journal filesystems.
When the journal filesystem fills up then the application stops.
I have the following IRIS nodes(mirror status)
LIVETC01 Backup
LIVETC02 Primary
LIVEDR Async Copy **OFFLINE**
ARBITER
LIVEDR is currently offline but IRIS software has been installed.
I am doing a HL7 data transformation with object script but need to only write a substring from the first "(" of the NTE-3 field to the end.
example
Input: NTE|1|||Some text (HI) (321)|ABC
Desired Output: NTE|1|||(HI) (321)|ABC
Basically I'd like to delete "Some text ".
If I were writing a shell script I would use sed 's/^.*(/(/' with perhaps a modification to get only the first.
I use the function wizard but can't seem to get the right code.
This is the fourth 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.
The Early Access Program (EAP) is still active for the Columnar Storage.
Kindly help me on the below points
1)Concatenate the Date column and Time column.
2)Get the current date only without time.
3)Find the current age using DOB column.
Hey Community,
See how data integration features in InterSystems IRIS data platform enable you to easily connect your systems, processes, and people:
Hi team,
I'll start with an apology as I am trying to wrap my head around the architecture of how InterSystems IRIS database management works. I am attempting to connect to the platform remotely through say a JDBC or ODBC connection in order to run queries, searches (through SQL statements) on my laptop and was trying to understand whether this would be possible? It is possible to setup an inbound client connection and wanted to better understand the architecture of how the database association works for IRIS database management. Does it use it's own internal SQL database or are we able to connect to our own database and which databases are certified to run against the platform?
Hi,
Is there a way to access the logs of a specific run of a task from the management portal task manager? I'd like to retrieve the output of a given run without going into the entire task history in an output file.
Thank you!
How to convert from internal date format to JSON/Web date format: YYYY-MM-DDTHH:mm:ss (example: 2012-04-23T18:25:43)?
Hi
I'm trying to add multiple rows at a time to a SQL table for a persistent object, but I can't seem to get the syntax correct. When I try the below it doesn't work.
INSERT INTO Sample_Table.Accounts (Account, AccountName, Bank)
VALUES
('123456', 'AccountNameOne', 'BANK1'),
('654321', 'AccountNameTwo', 'BANK2')Thanks
Peter
Hi, we are trying to run a dynamically generated Oracle Insert SQL script using Do $SYSTEM.SQL.DDLImport("Oracle",""," sql.txt",[Error Log]) to insert multiple rows into a Linked Table within HealthConnect to an Oracle database.
I'm trying to become familiar with XSLT options in the latest version of IRIS. The documentation here https://docs.intersystems.com/irisforhealth20221/csp/docbook/DocBook.UI… has the following statement:
InterSystems IRIS provides the following additional examples:
- For XSLT 1.0, see the Example(), Example2(), and other methods in %XML.XSLT.Transformer.
- For XSLT 2.0, see the class XSLT2.Examples in the SAMPLES namespace.
I don't find any reference to XSLT examples in the InterSystems GitHub. https://github.
During a major version upgrade it is advisable to recompile the classes and routines of all your namespaces (see Major Version Post-Installation Tasks).
do $system.OBJ.CompileAllNamespaces("u")do ##Class(%Routine).CompileAllNamespaces()
To automate this administration task and keep a log of any errors, below is an example of a class to import and compile into the USER namespace that you can use after each upgrade : admin.utils.cls
Your application is deployed and everything is running fine. Great, hi-five! Then out of the blue the phone starts to ring off the hook – it’s users complaining that the application is sometimes ‘slow’. But what does that mean? Sometimes? What tools do you have and what statistics should you be looking at to find and resolve this slowness? Is your system infrastructure up to the task of the user load? What infrastructure design questions should you have asked before you went into production? How can you capacity plan for new hardware with confidence and without over-spec'ing? How can you stop the phone ringing? How could you have stopped it ringing in the first place?
In previous posts I have shown how it is possible to collect historical performance metrics using pButtons. I go to pButtons first because I know it is installed with every Data Platforms instance (Ensemble, Caché, …). However there are other ways to collect, process and display Caché performance metrics in real time either for simple monitoring or more importantly for much more sophisticated operational analytics and capacity planning.
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:
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.
Python Native API for Intersystems IRIS offers an useful way to persist data that you can’t have control over the schema or if the schema changes frequently. Combining the Native API with the IRIS Globals, you can easily use Iris Database as an Document Store. You can also see more details of globals use in documentation https://learning.intersystems.com/course/view.php?id=1110&ssoPass=1, or in my article https://community.intersystems.
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.
OpenAPI initiative (https://www.openapis.org/) is the organization supporting a standard specification to define APIs (https://github.com/OAI/OpenAPI-Specification).