Hi Developers,
Dive into the latest video on InterSystems Developers YouTube:
⏯ Working with Containers & InterSystems Technology @ Global Summit 2023
Hi Developers,
Dive into the latest video on InterSystems Developers YouTube:
⏯ Working with Containers & InterSystems Technology @ Global Summit 2023
Hi community,
I created a business operation class using the FTP Outbound Adapter, and it works when configured for SFTP but when I try to use it for FTPS, it does not work as expected. The connection is established, it creates the file on the destination server but then is disconnected in the middle of the transfer and the PutStream returns 0 and never seems to finish the write of the file. Anyone have any idea of what's happening or any steps I can try to troubleshoot?
Thanks in advance.
Info:
|
Hi Friends,
We have a requirement to read pdf text in ensemble object script code. As object script doesn't have direct solution , i tried to implement python code , but
iris 2020 , there is no support for python in object script.
so I have found one java utill using pdfbox api.
Now I have created jar and want to register into iris and want to make a call to mymethod to read pdf text.
please help me to way forward to achieve it.
java code:
============
package org.optimus.utils; import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.text.PDFTextStripper; import java.io.File;
import os
# Get environment variables
db_host = os.getenv('DB_HOST')
db_port = os.getenv('DB_PORT')
db_namespace = os.getenv('DB_NAMESPACE')
db_username = os.getenv('DB_USERNAME')
db_password = os.getenv('DB_PASSWORD')
# Create a database connection
conn = irisnative.createConnection(db_host, db_port, db_namespace, db_username, db_password)
# Create an IRIS instance from this connection
iris_native = irisnative.createIris(conn)
status = iris_native.classMethodValue('%SYSTEM.OBJ', 'Load', 'Production.cls', 'ck')
if status == 1:
print("The Production.cls file was compiled successfully.")
else:
print("A
I am making a POST request to an API. In the case of an error, I don't know what parameters the response JSON will contain (they will change depending on the error). I am converting the response stream to an object but then I need a way to loop through all the properties and access their values. The following code is making the POST request, reading the response, and trying to add all the error messages to an array. But I can't iterate over the properties of the tProxy.errors object because it is a %ZEN.proxyObject. Is there a better way to do this?
Set tSC=..Adapter.Post(.tHttpResponse, ,
Effective documentation is a cornerstone of software development, aiding in code comprehension, maintenance, and collaboration. By harnessing the power of Doxygen and the ObjectScript filter I've created, you can generate rich static documentation from your source code. This approach does not require a running IRIS instance and thus is a good choice in situations when access to IRIS is not possible. Static documentation may be provided to end-users as-is, together with the source code.
I searched through the community to find solutions targeting static documentation generation but
HealthShare Unified Care Record Overview – Virtual November 7-8, 2023
Two extended maintenance releases of InterSystems IRIS, InterSystems IRIS for Health, and HealthShare Health Connect are now available.
Release 2022.1.4 provides bug fixes for any of the previous 2022.1.x releases.
You can find the detailed change lists / upgrade checklists on these pages:
Release 2023.1.2 provides bug fixes for any of the previous 2023.1.x releases.
You can find the detailed change lists / upgrade checklists on these pages:
Hello,
First of all thanks for your help.
We have developed a REST Operation. We wonder how could we face that String do have a character limit.
We just need to convert httpRequest.HttpResponse , which is a stream , because $isobject(response.Data) returns 1; which has a JSON inside it, and we need to convert it to a Ens.Response.
This response is structured as same as the JSON's properties:
Class Mensajes.Response.Radiologia.CConcertados.BusquedaOrdenesNEGRINResponse Extends Ens.Response
{
Property data As list Of EsquemasDatos.CConcertadostoPACS.Radiologia.BusquedaOrdenes;Hi Community! We have exciting news for you!
Once you achieve one of the highest levels of the Global Masters program: Expert, Ambassador, or Legend, you will receive a shiny Credly Digital Badge to highlight and validate your contributions to the InterSystems Developer community!⚡
How to accept Credly badge:
Hello Community,
I got the below error while creating a new database.
.png)
Hello Community,
I've enabled the JWT Authentication in my web application. I invoked the /login page to get the JWT and it creates an entry in %SYS.TokenAuth table. Is there any time span for the entries will rid out from the table automatically or It's a manual process? Where can I find the JWT signature private/public key
settings screenshot
.png)
web application
.png)
For the upcoming Python contest, I would like to make a small demo, on how to create a simple REST application using Python, which will use IRIS as a database. Using this tools
Hi Community,
Watch this video to learn how to improve care and reduce costs with the HealthShare Care Management Notifications Solution Pack, a fully managed cloud solution from InterSystems.
⏯ What is the HealthShare Care Management Notifications Solution Pack
🧑🏫 Course developer: @Kathryn.Lindsay. If you have any comments, please don't hesitate to tag her.
Hi, How can I get an instance of stream which is a successor of %Stream.Object in a method that handles a REST POST request?
#dim request as %CSP.Request = %request
set content = request.Content
This returns a variable of type %CSP.Stream which is totally useless, because %CSP.Stream does not inherit from %Stream.Object
Hi Community,
We're super excited to invite you to the webinar on How GitOps can use the InterSystems Kubernetes Operator prepared as a part of the Community webinars program.
Join this webinar to learn how the FHIR Breathing Identity and Entity Resolution Engine for Healthcare (better known as PID^TOO||) was created.
⏱ Date & Time: Thursday, October 19, 12:00 PM EDT | 6:00 PM CEST
👨🏫 Speakers:
Will it hurt anything if I disable the user that installed IRIS, within IRIS? Does this cause a problem with background processes running or with the restart? I know the _Ensemble user is used to start/stop/restart objects within IRIS, just didn't see anything in the documentation about the user that installed IRIS.
Thanks
Scott
Saw the other day an article with the usage of the %ZEN package when working with JSON and decided to write an article describing a more modern approach. At some recent point, there was a big switch from using %ZEN.Auxiliary.* to dedicated JSON classes. This allowed to work with JSONs more organically.
Thus, at this point there are basically 3 main classes to work with JSON:
%Library.DynamicObject - provides a simple and efficient way to encapsulate and work with standard JSON documents. Also, there is a possibility instead of writing the usual code for creating an instance of a class likeset obj = ##class(%Library.DynamicObject).%New()it is possible to use the following syntax
set obj = {}%Library.DynamicArray - provides a simple yet efficient way to encapsulate and work with standard JSON arrays. With arrays you can use the same approach as with objects, meaning that yu can either create an instance of the classset array = ##class(%DynamicArray).%New()or you can do it by using brackets []
set array = []%JSON.Adaptor is a means for mapping ObjectScript objects (registered, serial or persistent) to JSON text or dynamic entities.Hi There,
I am having issues trying to obtain a JDBC driver which is backwards compatible with java 6 for a solution which will call my IRIS instance, I have already logged a WRC ticket which is looking unlikely that there will be any development to create a driver for such legacy tech.
The Java 6 app is end of life, however won't be replaced until after my project goes live, hence why I ask the question.
I am also investigating the use of an adaptor to bridge between Java 6 and IRIS 2022.1 but was wondering if anyone out in the community has come across an issue like this before and whether
Hi,
I am trying to use the %Net.HttpRequest Class, and the request has to pass through a proxy server that requires authentication.
I am usually able to do that by using the following code:
S httprequest.ProxyServer=proxyServer
S httprequest.ProxyPort=proxyPort
S httprequest.ProxyAuthorization="Basic xyzxyzxyz"
I have a problem accessing a site that is accessible only using SSL-
The combination of the proxy authentication code and the SSL code-
S httprequest.Https=1
S httprequest.SSLConfiguration = "XYZ"
S httprequest.ProxyHTTPS=1
Does not work- I get the following error:
"<WRITE>zSend+180^%Net.HttpRequ
Hi everyone,
My problem today is how to send an HTTP message to a web service deployed via Render and gunicorn.
Every time I try to contact the web service I get an error. Searching on the web, I've found this StackOverflow question that suggests the issue could be set off from a missing "/" character in the endpoint string.
I've tried in many ways, both including and excluding the final slash character, but I always get an error:
https://<renderProjectName>.onrender.com), the message is successfully sent but I get the error HTTP/1.1 307I am trying to move us to Securing the Management Portal using Apache and the Web Gateway.
Our Development environment/namespace only has 1 server, but both Test and Production have failover/DR mirroring containing 3 servers for Test, and 3 additional servers for Production.
In Test and Production, the mirroring is setup using an Arbiter and the VIP address is controlled at the Hardware level.
Could you please help anyone how to import Python package in %SYSTEM package and to use python methods to write in object script class?
I used the following link to install the Python but I can't see the Python package in %SYSTEM package and my program throwing the Class Does not exist error?
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
Please help on this..
It's true! QuinielaML has incorporated the most important leagues in Europe (and Brazil) into its prediction service, so, dear members of the Developer Community, wherever you are from, you will be able to have the predictions of your favorite leagues at your disposal.
.png)
From the predictions screen you will have access to each of the new leagues included, being able to record the matches for each journey:
.png)
Taking advantage of the progress of the league, we have improved the QuinielaML prediction model by reducing the weight of historical results that weighed down some of the predictions and
I didn't understand this error report. Can someone tell me what it means。

thanks
InterSystems announces its third developer preview for the 2023.3 release of InterSystems IRIS® and InterSystems IRIS for HealthTM.
Future preview releases are expected to be updated biweekly and we will add features as they are ready.
Please share your feedback through the Developer Community so we can build a better product together. Initial documentation can be found at these links below. They will be updated over the next few weeks until launch is officially announced (General Availability - GA):
There are several exciting new
Hi Community!
We have a couple more things to share with you about the workings of the Tags and Groups on the Developer Community.
First of all, if you're curious about where you can find the list of all Tags and Groups, it's in the Menu -> Posts -> Tags
.png)
I'm trying to run IRIS for Health Community Edition container on Mac (Apple chip) as follows
docker run --name iris -d --publish 1972:1972 --publish 52773:52773 --volume /<volume-path-on-host>:/<volume-name-in-container> --env ISC_DATA_DIRECTORY=/<volume-name-in-container>/<durable-directory> containers.intersystems.com/intersystems/irishealth-community-arm64:latest-cdbut it will error out to start
2023-10-1709:15:2910/17/23-13:15:29:045 (391) 0 [Utility.Event] Updating configuration files
2023-10-1709:15:2910/17/23-13:15:29:219 (391) 0 [Utility.Event] Creating directoryHello,
I have a problem attempting to store a base 64 encode stream into the OBX:5 field of a HL7 message, by using the StoreFieldStreamBase64 method.
I'm using a transformer to input the contents of a pdf within a stream container (Ens.StreamContainer). The output is a HL7 message (EnsLib.HL7.Message 2.5:ORU_R01).
The transformer is being used in a business process.
This is the code used in the transformer to encode the stream to base 64:
Try {
Set pdfStreamObj = source.StreamGet()
} Catch {
Quit
}
//Set PDF stream object into OBX:5
Set status =