Let's say I open a stream/file.
If it's not in UTF8 i need to call $ZCVT, and if it's already in UTF8, then I don't need to call $ZCVT.
Is there any way to determine character encoding for input stream/file?
Let's say I open a stream/file.
If it's not in UTF8 i need to call $ZCVT, and if it's already in UTF8, then I don't need to call $ZCVT.
Is there any way to determine character encoding for input stream/file?
This demo has an interoperability production with 16 items. 
The first part of this demonstration consists of sending an HL7 SIU file which will be transmitted to the 2 other HL7 flows (HTTP and TCP), and transformed and transmitted to the Kafka server. HTTP and TCP flows will transform HL7 messages in the same way before sending them to Kafka as well.
Hi everybody,
I'm modifying a REST interface for a client but it seems impossible to me to modify HTTP Response Status and including custom HTTP Headers either.
My dispatch class (extending %CSP.REST) is contacted through a POST request and the latter is processed in a custom class (extending %CSP.REST as well) accessed as shown in the example below:
<Route Url="/test" Method="POST" Call="Custom.Test:Process" />
Within the processing class I tried executing the following statements with no success:
Do%response.SetHeader("totalcount",totalcount)
Set%response.Status = ..#HTTP400BADREQUESTAs we keep updating our software, we often realize that we require more and more modern solutions. So far, only one major piece of our software relies on reading barcodes in documents and images. Since Cache did not have a means of reading barcodes in the past, we have always achieved our goals by using a Visual Basic 6 application. However, it is no longer an ideal solution because it is currently complicated to maintain it. IRIS also lacks this capability, but it has recently got an option that makes up for it: embedded Python!
Is it possible to check retroactive LOCK history?
context:
I found it in the application error log. Some LOCK errors - ERROR #5803
Is it possible to somehow identify the point in the job or process code that caused these locks?
At the moment I no longer have table LOCKS on the server, but I would like, if possible, to check the time at which the incidents occurred.
InterSystems IRIS provides a complete application development environment for building sophisticated data- and analytics-intensive applications that connect data and application silos. It is designed to work with all of the common development technologies in an open, standards-based fashion and supports both server-side and client-side programming.
Good morning dear community,
This is like my first post in this community. Let's see how this turns out.
I have a question about the Intersystems Kubernetes Operator and the deployment of the webgateways.
I am responsible for the hosting and deployment of the apps. For the future we are planning to host our application in a kubernetes cluster. I am using the IKO for this.
I am using webgateways, for external access as separate pods. And sidecar containers for internal access, like the management portal.
I use the following code to calculate the SHA1 of a file :
set stream = ##class(%Stream.FileBinary).%New()
do stream.LinkToFile(filename)
write$SYSTEM.Encryption.Base64Encode($SYSTEM.Encryption.SHA1HashStream(stream))This code is called thousands of time and performance is critical. I have tried to code same logic in another language (which is lower level) and it's almost twice as fast. It's unclear why so I started investigating.
Is anyone using Veeam as their external backup product?
I'm trying to backup a Linux VMs (VMWare; SUSE).
These VMs have a mirrored pair IRIS DB.
I'm using the InterSystems's provides pre-freeze - Backup.General(ExternalFreeze)
I'm using the InterSystems's provides post-thaw - Backup.General(ExternalThaw)
I've been running the backups with Veeam 'application aware processing' so I can add the pre-freeze and post-thaw scripts.
I'm backing up the PRIMARY node of the mirror pair.
Getting the below error "InvalidNumberAppointmentminutesDurationpositiveInt" when HS.SDA3.Appointment.Duration=0 and attempting to Transform
HS.FHIR.DTL.vR4.Model.Resource.Appointment.minutesDuration
Hi, Community!
Looking to streamline your data management? See how this fully managed, cloud-based solution can help:
Hi Guys,
I'm a newbie in Dockers & containers and trying to install IRIS & VS Code in a container with dockers in Linux.
My understanding is that I first need to install docker, create a container then install IRIS image and looked into this documentation (Container How-to | InterSystems IRIS Data Platform 2024.2) and got me lost so I guess I need baby steps:
Hi,
Experienced Senior Full Stack Developer with 16+ years of expertise specializing in InterSystems technologies and modern front-end frameworks looking for opportunities. Proficient in MUMPS, Cache, IRIS, PSL, GTM, ZEN, REST API and Ensemble (Interoperability), with a proven track record of building robust, scalable systems for healthcare, finance and gaming industries.
On the front-end, highly skilled in ReactJS, Material-UI (MUI), HTML, CSS, and JavaScript, bringing a strong understanding of user interface design and responsive, user-centric web applications.
Hi ,
I receive below JSON from a https outbound operation
{
"Link": "www.sample.com",
"Practice": [
{
"Node": "Record1"
}
]
}
I am able to read Link as - JSON.%Get("Link")
How can I read Node value ?
I am using a JDBC connection to MS SQL server to execute a stored procedure to select data and bring it into InterSystems as a EnsLib.SQL.Snapshot. I loop through the EnsLib.SQL.Snapshot using a while loop, but I also want to iterate through the Columns within that Row to do logic.
Is there a way to iterate through the Columns of the current Row of the EnsLib.SQL.Snapshot so I can apply logic/rules for further processing?
Thanks
Scott
Hello,
I want to upload a "custom" metric in prometheus (queue).
For now, in version 2022, I have the impression that we cannot add multiple labels and yet the basic metrics know how to do it.
ex: standard metric
iris_interop_messages_per_sec{cluster="1", host="xxxx", id="API", instance="xxxx:80", job="SAM", production="xxxx"}
my current example: I would like to be able to at least add the production, just to have the source of the measurement.
my_iris_queue{cluster="1", id="xxxx", instance="xxx", job="SAM"}
Hello,
While doing research on the upgrade to InterSystems IRIS 2024.1.2 version, I was wondering if it would be possible to rollback the installation and return to the previous version in case something went wrong ?
I didn't see anything talking about this in the documentation and when I tried to re-install an older kit over an upgraded instance, I couldn't use it.
Thank you in advance for your reponse
I need to create a JWT to connect to EPIC FHIRserver sandbox.
https://fhir.epic.com/Documentation?docId=oauth2§ion=BackendOAuth2G…
You will generate a one-time use JSON Web Token (JWT) to authenticate your app to the authorization server and obtain an access token that can be used to authenticate your app's web service calls. There are several libraries for creating JWTs. See jwt.io for some examples.
The header and payload are then base64 URL encoded, combined with a period separating them, and cryptographically signed using the private key to generate a signature.
Hi,
When I try to compile a specific class it fails and gives the below error message.
ERROR #5002: Cache error: <FUNCTION>zLockUse+5^%ExtentMgr.GlobalRegistry.1
> ERROR #5030: An error occurred while compiling class 'ClassNameHere'
Is there anything I can do to fix this issue?
Thank you in advance for your response.
Speeding Up Antibiotic Resistance Detection with InterSystems IRIS
Antibiotic resistance is a critical health challenge, requiring rapid detection to inform effective treatments. We worked on developing a solution that leverages InterSystems IRIS vector database technology that would quickly identify resistance genes in DNA.
Using vector embeddings, DNA sequences are transformed into numerical representations that capture essential genetic information. InterSystems IRIS then enables high-speed searching and matching of these vectors, identifying possible resistance genes.
Hello all,
We have our system with AutoParallel enabled:
USER>w ##class(%SYSTEM.SQL.Util).GetOption("AutoParallel")
1But whenever I try to run any sql the autoparallel does not work. For example, this simple query:
When I force it with %PARALLEL we can see it will effectively run in parallel:
The total records is bigger than the threshold. So, what can go wrong? Anyone in the same situation?
The following CPF entry:
[Actions] CreateUser:Name=foobar,Roles=%All,Password=loremipsumdolorsitamet1234,FullName=Foo Bar,ChangePassword=1,Enabled=1,Comment=Testing testing,AccountNeverExpires=1,PasswordNeverExpires=1
Fails with an error:
ERROR #506: Invalid property error at line 19, 'Password=loremipsumdolorsitamet1234', Class Security.Users, Error=<CANNOT SET THIS PROPERTY>zPasswordSet+3^Security.Users.1
A bug or a feature or a stupid user error? The documentation says nothing about the limitations:
Hi, I'm new to the Analytics world in Intersystems and was attempting to print and/or export selected rows from a detail listing in a pivot on a dashboard. I am able to print and/or export all the rows; but if I select a specific set of rows, it prints out the entire detail listing; not the selected rows. Please advise on the best approach to accomplish this task. Thanks.
Hi Community!
Ceck out the new video dedicated to Gen AI on our InterSystems Developers YouTube:
Hi Community!
We are pleased to invite all our clients, partners and members of the community to take part in the first InterSystems event dedicated to digital health professionals in Italy - InterSystems Italian Healthcare Conference 2024. The registration is already open!
🗓 December 5, 2024
⌚ 9:30 - 18:00
📍 Excelsior Hotel Gallia, Milan
.png)
Hi Community,
I am getting below "The driver cannot be loaded" error on a MacBook..png)
obdbc8.jar file is present in the mentioned folder.
Looking forward to resolve the above issue or workaround
Thanks
When building a bundle from legacy data, I (and others) wanted to be able to control whether or not the resources were generated with a FHIR Request Method of PUT instead of the hard coded POST. I have extended the two classes responsible for transforming SDA to FHIR in an Interoperability Production to accomodate a setting that lets the user control the Request Method.
Hi Guys,
We are planning to move our system from windows to Linux and I never used Linux before and all I know that is another operating system, so the new server has Linux which looks like just terminal session like Dos and as I ran "uname -r" command to check for the version in it shows some like "6.1.112-124.190.amzn2023.x86_64".
So for the available IRIS distribution and can only found versions for Ubuntu and Red Heat, so do I have to either install one of them to be able to install & run IRIS?
I have just learned about configuration merge. However I see there is no option to configure OAuth2 with CPF. Any hopes to get that covered some day?
Hi Community,
We'd like to thank the participants of our first InterSystems Tech Video Challenge, who created nine interesting videos, wrote five articles, and uploaded two applications. And now it's time to announce the winners!
.jpg)
Let's meet the winners and look at their videos: