I have a python script that is pulling the cache instance key expiration date ( KeyExpirationDate() ) which comes back as an integer. With the queryscript function - $ZDATE(73284) I can derive the actual expiration date. Is there a manner or method of creating an equivalent Python script that will convert the integer return by the KeyExpirationDate() method into a date string?
Hello,
Can anyone help on the below point? It will very helpful for me.
Copy exact same data from IRIS Instance 2019.1 to IRIS 2021.1 with the Identity column from the IRIS database.
Thanks,
Harshdeep Acharya
Can an IRIS RESTful api implement mutual authentication?
If so, can you point me to the documentation.
Thanks
Does any one could tell me how can I access the target properties from inside SQL in DTL Subtransform? For example, if I use the following statement:
SELECT ID INTO :target.SetIDPID FROM firstlook.person WHERE FirstName = 'Paul' - as said in documentation :
SELECT Name INTO :target.Name FROM MainFrame.EmployeeRecord WHERE SSN = :source.SSN AND City = :source.Home.City
I get an Error: ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>
But if I pass the value for a variable "SetIDPID" I can use it in a set action without any problem:
SELECT ID INTO :SetIDPID FROM firstlook.
I have over 25+ years in Health Care integration and 10+ years experience with Ensemble interface development.
Rolling off my project soon and looking for my next contract.
Looking for long term projects where I can leverage my Ensemble and Epic Bridges experience
Hello everyone!
I am writing a SQL CALL (using JDBC) to a stored procedure that outputs a structured object (Oracle Object).
Since Caché 2017 the SQL engine has included new set of statistics. These record the number of times a query is executed and the time it takes to run.
This is a gold mine for anyone monitoring and trying to optimize the performance of an application that includes many SQL statements but it isn’t as easy to access the data as some people want.
This article and the associated sample code explains how to use this information and how to routinely extract a summary of daily statistics and keep a historic record of the SQL performance of your application.
What is recorded?
Function as a service (FaaS) is a category of cloud computing services that provides a platform allowing customers to develop, run, and manage application functionalities without the complexity of building and maintaining the infrastructure typically associated with developing and launching an app. Building an application following this model is one way of achieving a "serverless" architecture, and is typically used when building microservices applications.
FaaS is an extremely popular approach to running workloads in the cloud, allowing developers to focus on writing code.
This article will show you how to deploy InterSystems IRIS methods in a FaaS way.
The Complex Recordmapper specify a map for headers, body, and trailers, but it expects all three to have fixed Leading Data to identify the record type. But what if the Header and Trailer have Leading Data, but not the body records? I can't seem to find a way to do this. For example:
HEADER|194|2012|Fall|20
12345|Adams|John|Michael|2|john.michael.adams@example.com|617-999-9999
12347|Jones|Robert|Alfred|1|bobby.jones@example.com|
TRAILER|8|100
Ideas?
Hi Community,
We'll look at moving InterSystems workload to the public cloud, then take a deep dive into the current architectures on the InterSystems cloud platform:
Welcome to the February'22 Community Release!
We're pleased to present our brand new Community Event Calendar for InterSystems developers:
🎯 https://community.intersystems.com/events
In this calendar, you will see the history of DC events. Find out about events that are happening now or soon, check out past events, and watch recordings of Community's webinars and meetups.
Let's take a closer look at how to use it.
Hey Community,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in February 2022:
This is the third part of the series of articles on migrating from the main databases on the market to InterSystems IRIS. In this part, the procedures for migrating from DB2 will be detailed.As described in previous articles, there are currently a few options to do the migration. However, the two most popular options include the usage of DBeaver (https://openexchange.intersystems.com/package/DBeaver) or SQLGateway. The first one will be demonstrated in this article, and the second one is presented in an excellent article by Robert Cemper, DB Migration using SQLgateway (https://community.
New month, new code golf!
You will receive a string with a label code with numbers and letters. Our challenge is to check if this code begins with 1, 2, or 3 and ends with A, B, C, S, or R. It should return true(1) if so or return false(0) otherwise. As usual shortest solution wins.
##Input
"198739A79D9R"
##Output
1
##Note
- The string only contains numbers and upper-case letters. No other special characters.
- Use this code to check the solution length
- You also can use this test case here
Rules
- The signature of the contest entry MUST be:
Class codeGolf.I am using the
import intersys.pythonbind3 as pyb
conn = pyb.connection()
conn.connect_now(...)
db = pyb.database(conn)
qry = pyb.query(db)
obj = pyb.object(db)
for connection to the cache instance
However when I run this class method, The error message indicates the method does not exist:
print(db.run_class_method("SYS.Database","GetStatus",[]))
intersys.pythonbind3.cache_exception: file=intersys/pythonbind3.c line=3034 err=-1000 message=<METHOD DOES NOT EXIST> 148 runMtdLow+22^%SYS.BINDSRV GetStatus,SYS.Database
I can not find the class reference docs for
I am writing a Python tool to query our cache instances for various information. I have set up the connection without issue:
import intersys.pythonbind3 as pyb
conn = pyb.connection()
conn.connect_now(.....)
db = pyb.database(conn)
qry = pyb.query(db)
obj = pyb.object(db)
I wanted to make the call:
execRes = qry.prepare_class("SYS.Database",'FreeSpace')
But fetching fails because of data mismatches ( as I understand from other posts) and my testing bears out this type of failure.
Instead I opted to attempt a query:
execRes =
What is the purpose to use Emergency Access Mode in Cache? How to establishes a Connection without performing authentication?
Hi Developers,
We are excited to announce that InterSystems will be a Platinum sponsor of Hacking Health Camp - big professional HealthTech conference and hackathon, which will take place in-person in Strasbourg, France on March 25-27, 2022.
On March 8, 2022 @Guillaume Rongier will carry out a webinar "How FHIR can help you develop your health applications" (Webinar language: French). Register here.
At the hackathon, InterSystems will have a challenge for hackers on using InterSystems FHIR cloud services.
Learn more on official website and join us in-person in France!
I want to have a script that can run from the usual unix, linux, or aix command line. It has to be able to get into an irissession and use set statements to get data using sql. It seems like I'm in a catch-22. When I use the irissession SERVER command at the command line, I can't run a script. When I put the irissession SERVER command in a script, it won't run anything in the script after that.
My goal for this script is to get this information and put it into a file which I can then parse.
Hi Community,
Let's meet together at the online meetup with the winners of the InterSystems Python contest!
You'll have an opportunity to have a discussion with InterSystems Product Managers on the new IRIS 2021.2 Embedded Python functionality, Q&A on Python, etc. Our winners' demo included!
Date & Time: Thursday, March 3 – 10:00 EDT
Time travel is like visiting Paris. You can't just read the guide, you have to throw yourself into it. Eat the food, use the wrong verbs, get double the charges, and end up kissing complete strangers.
The Doctor
We are now going to travel through time, that is, we are going to see future and past dates and how to calculate them in different formats. The TARDIS doesn't wait, take the controls and hold on tight.

i'm trying to extend both the MemberEnrollment and the MedicalClaim objects in HS. The CareProvider is perfect for some of my extensions (Operating provider, referring provider, third-party insurer), but the documentation says https://docs.intersystems.com/irisforhealthlatest/csp/docbook/DocBook.U…:
.png)
I need something that is just like a CareProvider, and I will be using the CarePRoviderType as a CodeTableDetail.
Why is CareProvider excluded? Does this mean I can't add property HS.Local.SDA3.MemberEnrollment.PHPProvider as HS.SDA3.CodeTableDetail.
Hi,
I'm looking through some journal entries in the hope of finding the root source of an issue.
I was wondering if and how you can map a "ECP system id" to a server.
Any hints would be welcome
Best regards
Ivo
Hey everyone,
The first first tech article contest in Spanish is over. Thanks to our wonderful participants for their contributions! We got
So it's time to announce the best of them!
Hello, developers!
In this article, I will show you how to configure FHIR repository + OAuth2 authorization server/resource server on IRIS for Health following the previous article.
In Part 1, we introduced the preliminary preparations, configuring the OAuth2 authorization server, and obtaining the access token.
Part 2 will show you how to build an FHIR repository and configure an OAuth2 client/resource server.
NOTE: we previously found an issue with the 2021.1.1.324.0 builds. The 2021.1.1 maintenance releases have been removed from the WRC and have been replaced with 2021.1.2.336.0 builds. 2021.1.2 containers will be available shortly.
Two new sets of maintenance releases are now available:
- Caché 2018.1.6, Ensemble 2018.1.6, and HSAP 2018.1.6
- InterSystems IRIS 2020.1.2, IRIS for Health 2020.1.2, and HealthShare Health Connect 2020.1.2
Installation kits and containers can be downloaded from the WRC Software Distribution site. Container images for the Enterprise Editions of InterSystems IRIS and IRIS for Health and all corresponding components are available from the InterSystems Container Registry.
Hi,
I was playing around with the python binding for caché (2018.1.4) and I ran into some problems.
When executing the class query "List" from SYS.Database the pythonbind interface throws an exception, that seems to be caused by a mismatch of the defined SQL datatypes for this query and what is actually returned (or the lack of type conversion in the pythonbind interface).
Is this a known issue ? Are there solutions/workarounds for this,
Or is this a bug ?
The details:
When executing "List" from SYS.Database there is an error for every datarow fetched.
When executing "FreeSpace" from SYS.
I entered the irissession SERVER command and got the prompt PROMPT>
Now I want to exit this and return to the generic aix prompt $
I try q, quit, e, exit... none of these work.
Hello dear community
I tried to run windows command from an intersystems terminal using objectscript routine.
routine :
Zpipe quit ; CPIPE example to run host console command
cmd(command="",test=0) ;
if command="" set command="dir"
quit $$execute(command,test) execute(cmd,test) Public {
set dev="|CPIPE|1"
set $zt="cls"
set empty=0
open dev:cmd:0
write:test $test,!
else write "pipe failed",! quit 0
while empty<3 {
use dev read line
set empty=$s($l(line):0,1:$i(empty))
use 0 write line,!Hi Team,
How I can migrate my all the existing Namespace, Web Application, Database from IRISHealth 2019 to 2021.
Thanks,
Ankur Shah
.png)

