I was working on a DTL but kept getting ERROR #5002... MAXSTRING errors. The problem was that most of the DTL GUI action steps only support the string data type when working with the segments. A %String has a limit of 3,641,144 characters and my OBX5.1 was 5,242,952 characters long as the example provided. Of course PACS admin stated ultra high quality up to and including 4K resolution files were needed, so we could not get the vendor to compress or reformat these files to compressed jpg or something similar.
I'm experimenting with adapting SDA3 object model to store medical data in relational form, e.g.:
class Demo.DemoPatient extends (%Persistent, HS.SDA3.Patient) {}
The HS.SDA3.Patient class has the Aliases property which is a nested collection (list) of objects of type HS.SDA3.Name:
In the past, I've created custom SQL operations, but now I had something trivial to do, so I decided to take EnsLib.SQL.Operation.GenericOperation out for a spin. There's no example in the docs, so it was a little tricky. Here's what I ended up doing:
In my external database, I have 'mytable' with two fields 'id1' and 'id2'. Here are the pertinent Business Operation settings:
SQL: select id2 from mytable where id1 = ?
Input Parameters: [1] *id1
RequestClass: Ens.StringRequest
ResponseClass: MyResponseClass
Some of our applications provide SOAP services that use “DSTIME”-based SQL queries that return records that have recently been added or changed. Since the records don’t change often, these queries usually return a small number of records and therefore take little time.
However, we sometimes make a table change that affects all records in that table. When that happens, on the next SOAP request from a SOAP client the service will run its query which will take an extra-long time because all records are included (for our apps, the queries return hundreds of thousands of records in this case).
.png)
Runtime Enforcement
Hi Folks,
I would like to visulaize the tables and data on Power BI, so I try to connect the romote server to Power BI to access the tables and data of remote server. I can able to connect that remote server to our Studio also able to view class files.
But I couldn't able to connect the remote server to power BI. I'm getting the below error while click on the tables
"Expression.Error: This native database query isn't currently supported"
So now I'm in need of help
Thanks,
Vikram
json file failing in conversion to SDA
- DO^zToQuickXML+11^HS.SDA3.NVPair.1 +2
- DO^zToQuickXML+34^HS.SDA3.CustomObject.1 +1
- DO^zToQuickXML+8^HS.Local.SDA3.CodeTableDetail.HealthCareFacilityExtension.1 +1
- DO^zToQuickXML+28^HS.SDA3.CodeTableDetail.HealthCareFacility.1 +1
- DO^zToQuickXML+6^HS.SDA3.Location.1 +1
- DO^zToQuickXML+12^HS.Local.SDA3.ProcedureExtension.1 +1
- DO^zToQuickXML+29^HS.SDA3.Procedure.1 +1
- DO^zToQuickXML+155^HS.SDA3.Container.1 +1
- $$^zToQuickXMLStream+5^HS.SDA3.QuickXML.1 +1
Hi Community,
Play the new video on InterSystems Developers YouTube:
⏯ How We Used AI to Build Faster Sell More and Support Better @ Global Summit 2024
Hello,
First of all: thanks for your help, and thank you for your time.
Thanks for your time.
We have the following situation:
We are in a BPL, and we have defined 4 <call> asynchronous as follows:
First one name: "Enviar a Proceso NEGRIN"
The second one, named as: "Enviar a Proceso HUNSC"
The third one, titled: "Enviar a Proceso CHUIMI 02"
And the fourth and last one names as: "Enviar a Proceso Fuertev"
Inmediately after the 4 calls, we have a <sync> instruction which should wait for all of them to finish.
Hi all,
We have an restriction in a SQL database with a unique index.
We want to catch that exception when it tries to insert or update a value that violates the unique index condition.
// run the querySet tSC = ..Adapter.ExecuteUpdateParmArray(.nrows,SQL,.param)
// Check if there is any errorIf$$$ISERR(tSC)
{
Set msgError = $System.Status.GetErrorText(tSC)
// Check here if the native error code is 2601 (Cannot insert duplicate key row into object 'MYPATIENTS' with unique index 'UQ_UNIQUE_INDEX')
??????
}I've tried to get the ..Adapter.%SQLCODE, but it is empty
Hi All,
I'm trying to connect to an IRIS instance using VSCode, the problem is, there are 2 IRIS instances installed on this server, published by the same hostname using https (port 443) under 2 different subfolders (e.g., iris.demo.com/base & iris.demo.com/test).
When connecting via studio, I was able to connect by using the hostname (e.g., iris.demo.com) and specifying the super server port, while when connecting through VSCode, when specifying the web server port 443, the connection is always defaulted to one of the instance.
Is there any way we can specify the instance in VSCode?
Many thanks!
How can I display the patch version?
The command Write $system.Version.GetPatchId()
doesn't show anything.
What other options are there?
Thanks.
Users of the InterSystems Change Control Record application (CCR) often ask for useful resources which can help them learn CCR and stay in the loop on updates. Please see this list of resources below and post ideas for additional resources or questions you may have!
SOURCFILE="/home/user1/file1.dat"
DESTFILE="/opt/users/file1.dat"
##class(%File).Rename(SOURCFILE,DESTFILE,.STATUS) when this is executed in IRIS, SOURCEFILE is getting moved to the folder in DESTFILE but it is not getting deleted from SOURCEFILE folders. Same call is working as expected in cache. Has anyone experienced this issue? We are trying convert to IRIS from cache.
I have a BPL iterating over Dynamic arrays. Can I add Dynamic Array (%Dynamic Abstract Object) and also %Iterator.Array to BPL context? I tried and I see Error: %AddToSaveSet method does not exist for %Iterator.Array
Hello Community,
This article aims to walk you through the process of setting up and utilizing the Flexible Python Runtime Feature for embedded Python. Prior to version 2024.2, Intersystems IRIS installer included a preinstalled version of Python, You can find the Python libraries and application files located in the \lib\python directory within your IRIS installation folder (for example, C:\InterSystems\IRIS20242\lib\python).
Is it possible to install IRIS Studio as an evaluation, so I can use the built-in IDE?
I have installed IRIS Community edition that does not come with a built-id IDE.
Altelier website is down down.
VSCode with ObjectScript - tried to run simple MUMPS code and says not supported
Hi Community,
Global Masters opens the doors!
Logging in using InterSystems SSO
Access the platform using >> [this link]<< and log in with your InterSystems SSO.
Please note: during recent tests, we discovered that some users are encountering errors when trying to log in this way. We’re currently investigating the issue with the vendor. If you experience this error, just ping me via DM, and I will send you a manual invitation!
BETA Disclaimer
Hello,
I'm trying to carry a custom error from one business process to another.
BPL:LookupClass fails it's lookup and a custom error of "Lookup XYZ" is generated.
The class quits with that error, but upon quitting, the custom error gets wrapped in an Ensemble System error:
ERROR <Ens>ErrBPTerminated: Terminating BP LookupClass # due to error: Lookup XYZ
This means, when I use the %LastError property to get the error message, it's not got the value I want to use. In this case, "Lookup XYZ". It instead has "Terminating BP LookupClass # due to error: Lookup XYZ"
Hi,
I'm currently working on an IHE implementation, and we've hit some issues around categorising inbound CCD results (i.e. mapping lab and rad results to their relevant SDA types).
I am experiencing an issue while executing a stored procedure in InterSystems Cache. Here’s the procedure I createdCREATE PROCEDURE Silk.sp_InsertRecord ( IN RecordDate TIMESTAMP, IN UserName VARCHAR(50), IN RecordType INT, IN RecordID VARCHAR(50), IN CategoryID INT, IN ApprovalDate TIMESTAMP, IN FileSize BIGINT, IN WorkstationName VARCHAR(50))BEGIN INSERT INTO DummyRecords ( RecordKey, FilePath, RecordDate, UserName, RecordType, RecordID, CategoryID, FileSize ) VALUES (
Hi,
I try to generate JWT tokens in Cache (not in IRIS).
In IRIS I managed to generate tokens using ##class(%OAuth2.JWKS).AddOct("HS256",secret,.jwks).
But In Cache there is no such routine.
Could you provide me a place to find an example how to use JWT, please ? I am interested to generate a token in Cache, send it to javascript client, and read a token provided by the client and check it is valid.
Kind regards,
Alin Soare.
Hello Community,
We use $ZF(-1 synchronous call to generate the pdf files. Now I want to change to asynchronously. So, I use $ZF(-100 with "/ASYNC" function. I use "/ASYNC" directly write $ZF(-100,"/ASYNC","notepad.exe") in windows/linux it throws the <NOTOPEN> error, However If I use $ZF(-100,"/ASYNC /SHELL","notepad.exe") it opens the notepad without issues.
I have an IRIS installation that is using 8-bit charset encoding (set to deu8 / Latin 1). I would like to convert everything (database and system) to Unicode
Charset encoding is something asked during installation, is it possible to change this on the fly ? The installer clearly say that Unicode systems cannot be converted. What about 8 bit ?
Same for database : is there possible conversion ?
My current plan is the following :
- export all globals from 8-bit instance
- install a new Unicode instance
- import all globals into Unicode instance
Is there a simpler approach ?
Good morning
We are looking for a Senior Database Manager for a contract position with a health agency. It's a two and a half year contract, fully remote.
Please review the opportunity by clicking the link below and if you qualify, please let me know if you are interested in speaking about the opportunity.
More info here: https://teckpert.applytojob.com/apply/okkPyvcJn5/Senior-Database-Manager-Intersystems
Need to be based in the US and have work authorization.
Please apply to the link above.
Best,
Gabriel
We've just made a change to Server Manager with the aim of it coping better when a stored password is no longer valid, for example because it has been changed.
We plan to include this in the next published version (no release date yet set), but if you'd like early access please download the v3.6.3-beta.3 VSIX and install it, for example by dragging it from your file explorer onto the Extensions view in VS Code.
Hey Community,
Watch the new video on InterSystems Developers YouTube:
⏯ Smart Data Fabric for Generative AI Readiness @ Global Summit 2024
Many programming languages use the try-and-catch construct to handle runtime errors gracefully. If the code within the try block encounters an error, it will throw an exception to the catch block, where the error handling occurs. Today we will dive into the ObjectScript implementation of this construct and discuss some ways to clean things up.
ObjectScript Implementation Basics
To get started, we will first look at the basic structure of the try/catch block:
try{
//some code here
}
catch ex{
//some error handling here
}HealthShare Unified Care Record Fundamentals – Virtual* November 4-8, 2024
*Please review the important prerequisite requirements for this class prior to registering.
Can InterSystems IRIS Data Platform 2019 be Integrated with Snowflake?
From InterSystems Do we have any predefined packages or Adapters available to Connect with Snowflake?
Can InterSystems be Connected with Snowflake through Web Gateway Management?

