See how you can deliver relevant and timely health information to clinicians and systems with HealthShare Unified Care Record®. This brand new learning path details key processes in configuring healthcare message delivery. Try it today!
From IRIS 2021.2 is possible write Class Methods using the Python Language. I used this new feature to detect persons and objects into images, using ImageAI (https://github.com/OlafenwaMoses/ImageAI). The ImageAI creator defines it as: "An open-source python library built to empower developers to build applications and systems with self-contained Deep Learning and Computer Vision capabilities using simple and few lines of code." In this article you will learn how to apply AI Computer Vision to detect object and persons inside images.
Steps to analyze images using ImageAI
Hi,
What is the Python syntax I can use from a ClassMethod (developed in an IRIS using embedded Python), in order to invoke another class method,
- in the same class; and
- in another class.
I see 'self' is synonymous to use $this (..) in ObjectScript, but these are ClassMethods I am invoking, and self did not seem to work.
thanks - Steve
If you need create a upload REST API with IRIS is very simple. Do these procedures:
From Postman client you send a file
P.S.: It is a multipart form with a file type using "file" in the name. The request type is form/multipart. See the http request:
I have created a package that offers a utility to load a Global into JSON object and reverse
to create a Global from this type of JSON object. Academic refers to the structure created.
Each logical node of the Global is presented separately with all its descendants.
Even if they don't contain any stored data.
Can we make any property immutable once it value is set? For example, I may have a property called RecordCreatedTime to track when the record is created in IRIS, and once it is set, I don't want anyone to modify the value.
We recently encountered an Embedded SQL issue while upgrading to IRIS 2021.1, and thought the issue and workaround might be interesting to share.
Key takeaway: Host variables in an ORDER BY clause of an embedded SQL query that is inside of a method don't work as expected. IRIS versions starting with 2020.1 are affected. As a workaround, add the host variable to the Method's PublicList list and "new" them so the embedded query has access to them.
It's come to our attention that the built-in license in the InterSystems IRIS and IRIS for Health 2021.1 Community Edition release is incorrectly set to expire on October 30, 2021.
There is no impact to any production versions (the Community Edition is for development purposes), but developers will find that their instances stop running and should replace them with new ones. For cases where replacing them is an issue, we have provided an override key.
I apologize for any inconvenience this may cause.
== replacement builds
I would like to get current date and time in this format : YYYYMMDDHHMMSS (eg: 20220126155704)
Simplest way to do that I found so far is this :
$translate($zdatetime($horolog,8,1), " :", "")It works, but it's not that great (I would like to avoid string manipulation) Is there a better, cleaner way ?
Hi....
I am trying to execute legacy routines from Cache 2018, into new environment with Iris 2021. I use new JDBC driver to make this connection, and change my java code to execute this legacy routines. But I get this write error: <REMOTE EXECUTE INVALID WRITE>
I changed the mnemonic routine to populate object and return this object to java. And the java class convert this object to json.
This is my simple classes used for this process, just to exemplification:
Java Class
Currently running Ensemble on Red Hat Enterprise Linux Server release 7.7
One of our clients is requesting files sent to their SFTP site be encrypted with their PGP public key and digitally signed with our PGP private key
We have created a custom class that includes the following command to encrypt the files
Hi Community
I have logged final generated json in the object script class using below statement
$$$LOGINFO("JSON = " _newMsg.Read())
where newMsg contains JSON stream, which contains nearly 1000000 + bytes.
In message viewer I am able to see Only some part of the json .
I want to capture all the json for my validation, how can i see total JSON in Management portal or any other source?
Thanks in Advance
I am working with a client database that is growing exceptionally fast ( about 15G/day). As I understand it, the usage of the global ^STMONITS to gather statistics can consume a large amount of database space. This client in question is using this global. I would like to determine of the 1.7T size of the database, how much is being consumed with statistics data by the usage of the ^STMONITS global. Is there a method to get this value whether a size or percentage of the database overall size.
ERROR #6279: XML output string length is greater than the maximum string length.
This is Error I am getting while trying to get data from an obj and write into the test file.
Any Suggestions Please..
Hello,
I have been tinkering with FHIR recently and tried to update the FHIR servers Capability Statement after I made some changes. I updated an OAuth2.Issuer Service Registry entrys URL and needed to update the metadata which the FHIR server sends to the client so they can get the updated URL for the authorization server we use.
However, when I run the Console Setup tool with
do ##class(HS.FHIRServer.ConsoleSetup).Setup()I'm trying to send an HTTP POST request with form-data from an Angular app to a Cache backend, but my request fails with a 406 Not Acceptable error.
httpRequestHeaders = new HttpHeaders({
Authorization: 'Bearer ' + sessionStorage.getItem('access_token'),
Accept: ''
});
uploadFile(file: File) {
const formData: FormData = new FormData();
formData.append("file", file);
const req = new HttpRequest("POST", this.postURL, formData, {
reportProgress: true,
responseType: "json",
headers: this.httpRequestHeaders,
});
return this.http.request(req);
}I have a PDF ZEN report module that I'm using XslFoXslt to highlight the table cell.
What I need is for a particular value to add a background image to the <item> that is calling the XSLFoXslt
The code I have is the following but all that happens is the color.
XData XslFoXslt
{
<xsl:template name="HighLight">
<xsl:param name="Value"/>
<xsl:if test="$Value = 400">
<xsl:attribute name='background-image'>url("images/trash-icon.png")</xsl:attribute>
<xsl:attribute name='background-repeat'>no-repeat</xsl:attribute>
<xsl:attribute name='color'>#ffffff</xsl:attribute></xsl:if>
</xsl:template>
}
There is a major opportunity in South Africa for a complex WMS solution.
We have a long standing production warehouse management system, we need to partner with an organisation that has track record of such implementation in the past two (2) years.
Are there any partners out there that might be interested in a Joint Venture ?
Hi Developers,
I need to construct a string as xml which consists of "" in it. As example below
set teststr ="<book id="bk105"><author type="old">Corets, Eva</author><title>The Sundered Grail</title><genre>Fantasy</genre></book>"
giving error in the area where " in middle of the string (highlighted in bold)
Could anybody suggest to me, how to construct a static string in object scripts with " in it?
Hello To all my fellow Cache Developers,
Hey Community,
We invite you to join the next French stream on InterSystems Technologies #8, hosted by @Guillaume Rongier!
Date & Time: February 3rd, 12:00 Paris time.
👉 Direct link to join: https://youtu.be/2PFgnuF8bO8
.jpeg)
If you're deploying to more than one environment/region/cloud/customer, you will inevitably encounter the issue of configuration management.
While all (or just several) of your deployments can share the same source code, some parts, such as configuration (settings, passwords) differ from deployment to deployment and must be managed somehow.
In this article, I will try to offer several tips on that topic. This article talks mainly about container deployments.
Requirement: Transform source XML message to target JSON.
step1: First create json equivalent xml from any online tool.
step2: use add in studio utility create persistent classes from json equivalent xml and compile it , now target persistent classes are ready
step3: Do the above step for source xml or xsd and generate persistent classes for source and compile it
step4: complete the DTL by selecting root node from source, target persistent classes and complete the mappings and compile it
step5: use the below code to apply Transformation on source XML string and create Target JSON
Did you catch an Experience Lab at the 2021 Virtual Summit? Head over to the InterSystems Learning site to access all four of these hands-on exercises, and get up to speed on:
Hey Community,
Learn about the changes we've made to InterSystems IRIS Containers, including security updates and the new web gateway container:
Sometimes it is necessary to transfer or migrate data and data schema from Postgres to IRIS. There are currently a few options for doing this, but the two most popular options are using DBeaver (https://openexchange.intersystems.com/package/DBeaver) or SQLGateway. The first will be demonstrated in this article and the second is presented in an excellent article by Robert Cemper, DB Migration using SQLgateway (https://community.intersystems.com/post/db-migration-using-sqlgateway), see in this article how to perform this migration using DBeaver:
Get the sample data to the migration process
Astronomers’ tools
5 years ago, on December 19, 2013, the ESA launched an orbital telescope called Gaia. Learn more about the Gaia mission on the official website of the European Space Agency or in the article by Vitaly Egorov (Billion pixels for a billion stars).

However, few people know what technology the agency chose for storing and processing the data collected by Gaia. Two years before the launch, in 2011, the developers were considering a number of candidates (see “Astrostatistics and Data Mining” by Luis Manuel Sarro, Laurent Eyer, William O’Mullane, Joris De Ridder, pp. 111-112):
- IBM DB2,
- PostgreSQL,
- Apache Hadoop,
- Apache Cassandra and
- InterSystems Caché (to be more precise, the Caché eXTreme Event Persistence technology).
Comparing the technologies side-by-side produced the following results (source):
| Technology | Time |
|---|---|
| DB2 | 13min55s |
| PostgreSQL 8 | 14min50s |
| PostgreSQL 9 | 6min50s |
| Hadoop | 3min37s |
| Cassandra | 3min37s |
| Caché | 2min25s |
The first four will probably sound familiar even to schoolchildren. But what is Caché XEP?
Hi Community,
Welcome to the first InterSystems Spanish technical article writing competition! Write an article in Spanish on any topic related to InterSystems technology:
🏆 1st Spanish Tech Article Contest 🏆
Duration: February 1-28, 2022
Prizes for everyone: Everyone who publishes an article on Spanish Dev Community during this period will receive a special prize pack!
Main prize: Apple iPad
I want an example that converts CDA to FHIR R4.
Need Full production pipelines like service, process, and operations.




