Does Using the %REST.API Class work with Swagger OpenAPI version 3? I got an error when I tried it on IRIS 2022.2
ERROR #8738: Correct OpenAPI 2.0 version was not specified: . <$.swagger>
InterSystems IRIS is a Complete Data Platform
InterSystems IRIS gives you everything you need to capture, share, understand, and act upon your organization’s most valuable asset – your data.
As a complete platform, InterSystems IRIS eliminates the need to integrate multiple development technologies. Applications require less code, fewer system resources, and less maintenance.
Does Using the %REST.API Class work with Swagger OpenAPI version 3? I got an error when I tried it on IRIS 2022.2
ERROR #8738: Correct OpenAPI 2.0 version was not specified: . <$.swagger>
I just realized that operating system command execution does not work on Windows console if the IRIS service is started using a different user than Local System account (the default).
I always change the user configured in the IRIS service and I believe this is a standard good practice, particularly in "real" environments (be it production, stage, test or development) that are part of Windows Active Directory Domain.
When IRIS service starts using any user, including Administrators members, using "!" or "$" from the terminal prompt to run a OS command fail, nothing happen.
Here you'll find a simple program that uses Python in an IRIS environment and another simple program that uses ObjectScript in a Python environment. Also, I'd like to share a few of the troubles I went trough while learning to implement this.
Let's say, for example, you're in an IRIS environment and you want to solve a problem that you find easy, or more efficient with Python.
Can you provide a specific version number?thx
Hi,
I would like to work on the CSS code of the IRIS web portal.
I want to change the color of the upper horizontal banner for all users.
The name of the div is portalTitle. I was unable to locate the CSS classes file in VS Code or in the file system.
Thanks.
Hi all ,
I just started learning objectScript . Online TEST instance is not opening terminal.
Management Portal (system configuration, direct SQL access, reporting)
Server Address:
Web Terminal:
InterSystems Username: tech
InterSystems Password: demo
IDE Connections (VS Code)
Host Server Address:
Host Server Web Port: 80
External Connections (InterSystems Studio)
InterSystems Studio IP:
InterSystems Studio Port:
Help me
Hello,
I've been running IRIS in a container for a while with the durable %SYS feature. Previously, I was running IRIS 2022.x version and decided to upgrade to 2023.1. During image build, I create some namespaces and install a FHIR repo into one of them using the following script:
Do ##class(HS.FHIRServer.Installer).InstallNamespace()
Do ##class(HS.FHIRServer.Installer).InstallInstance(appKey, strategyClass, metadataPackages)
However, when I updated the container (stopped the existing one, started the new one), I noticed a peculiar error.
Hello community,
I am trying to see the complete HL7 message for the class
But it is showing the truncated version only.
I also tried to convert to stream
s newmsg=##class(EnsLib.HL7.Message).ImportFromLibraryStream(streammsg)
Set len = 1000
Set tPrintMessage=newstream.Read(.len)
Write tPrintMessage
}
But when i print it, its not showing complete message.
Any idea or suggestions?
Thank you in advance.
Jimmy Christian.

This demo showcases the powerful synergy between IRIS Vector Search and RAG (Retrieval Augmented Generation), providing a cutting-edge approach to interacting with documents through a conversational interface. Utilizing InterSystems IRIS's newly introduced Vector Search capabilities, this application sets a new standard for retrieving and generating information based on a knowledge base.
The backend, crafted in Python and leveraging the prowess of IRIS and IoP, the LLM model is orca-mini and served by the ollama server.
The frontend is an chatbot written with Streamlit.
Hello everyone,
I'm currently conducting tests using the docker image intersystemsdc/irishealth-ml-community:latest. I'm accessing the Linux terminal and attempting to utilize the superuser functions, but I'm encountering an issue with the password. Could someone assist me, please?.png)
Best Regards,
Flávio
If multiple InterSystems products are installed on the same system, the latest version of the InterSystems ODBC driver among the installed products will remain registered in the driver manager.
You can change to any driver by changing the registry entry below.
Please note that running RegFiles.bat does not change the ODBC driver.
The registry entry is as follows.
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\InterSystems ODBC35 key Driver
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.In the wew versions of IRIS the Studio is going to be deprecated. In the Studio when editing classes there is an option to add information at package level, with the option "Package Information" that shows this dialog:
In VSCode there is the option to add/edit this package information? If no, how can one add/edit this information without the Studio?
Thanks.
Hello!
I wonder how to select a conditional value from a Table column that has lists of values?
Example: I have a table in the database that looks like below:
| ID | Itemname | IDList |
| 1 | TestItem | 1 7 10 17 |
For example, I want to know which Itemname it is for number 10 that is in the IDList. What should this SQL syntax look like? I have tried %INLIST and other things but only get blank value. How should the SQL-syntax for that query look like?
Greatful for all tips.
Regards,
Michael
Occasionally, in VSCode, compile errors stop displaying. I'll be getting errors on compile all along (expected, and it compiles while saving using CTRL+S), until they'll suddenly stop. I haven't found any solution, including restarting VSCode and restarting my user session in Fedora. I'm running IRIS locally on Fedora and running VSCode also on the same machine. The only solution I've found is to restart IRIS. It's a solo dev environment and relatively small, so restarting isn't anything but an annoyance.
Are there any known bugs around this or any other solutions?
Hi all
how to enable content-type : application/json
this is our web application environment
.png)
.png)
with body request
.png)
we got result when our hit with postman like this
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "<HSFHIRErr>InvalidContentType",
"details": {
"text": "The Content-Type 'application/json' is not supported."
}
}
]
}
what we have to do to make this request success, thanks for your help and time
Thanks,
Rizki Okta Alhadi
Hello Community,
I've extended the a class %JSON.Adaptor in my class definition and it contains the xData block MimeType of application/json. I got the error while compiling. Why this error occurs and how to resolve it
.png)
Hello Community,.
I've updated the IRIS community form 2023.2 to 2023.3 and I didn't see the User defined(Sample) error messages in ^IRIS.Msg global even I verified in both pointer and data level. I re run the set x=##class(%MessageDictionary).Import("error.xml") After import I could see the pointers and data in ^IRIS.Msg
Is the User defined error will reset from the server after IRIS upgrade?
Regards,
Ashok
In today's digital age, effective data management and accurate information analysis are becoming essential for successful enterprise operations. InterSystems IRIS Data Platform offers two critical tools designed to provide convenient data management: ARCHITECT and ANALYZER.
ARCHITECT: ARCHITECT is a powerful tool created for developing and managing applications on the InterSystems IRIS platform. A vital feature of ARCHITECT is the ability to produce and customize complex data models.
If you restart the OS after changing the machine name without stopping InterSystems IRIS (hereinafter referred to as IRIS), a problem occurs when IRIS cannot start.
To get started, delete the <installation directory>\mgr\iris.ids file.
iris.ids file stores the started node name and shared memory information (shared memory ID). It is created when IRIS starts and deleted when stopped (iris stop or iris force). If you stop (restart) the OS without stopping IRIS, iris.ids, which contains IRIS startup information, may remain.
IRIS checks iris.ids during the next startup process.
If Iris does propose to create keys following a sequence, how can we obtain a sequential number in another context?
In my case, I automatically create care centers, and I want to set them a number like:
APP-DD-999
APP = Name of the application used by the center
DD = center department number
999: sequential number in the department
It is of course possible that centers will be created in competition, so this possible competition must be managed.
My first approach was to use a persistent class and create a new object to retrieve its id, but this involves creating as many classes as departments.
How to clone dynamic objects more efficiently than using a serialization/desserialization approach (eg. Set objectB = {}.%FromJSON(objectA.%ToJSON()) ) ?
Why %DynamicObject could not extend %RegisteredObject and its %ConstructClone method (if not inherit it)?
I would like to share some of the latest projects I've implemented
.png)
I have created a delegated user and I want to use this user to query some tables. When I grant the role of% ALL, I can query tables, but I cannot grant% ALL. I want this user to only have the permission to query tables. What should I do
Embedded Python is about to get a whole lot more powerful, and we’re looking for a few volunteers to give it a try.
The Flexible Python Runtime option allows you to use a Python runtime of your choosing with Embedded Python. Previous to this, you could only use the operating system's default Python, which was limiting especially for customers using the latest and greatest AI & ML tools close to their data.
When InterSystems introduced Embedded Python in InterSystems IRIS in 2021.
Hello Community,
Is there any way to avoid generating the built in validation inside the classmethod from the .disp class definition. I've added the resource with path parameter as integer in swagger 2.0 open API. The class method(in my case getRandom is the class method) inside .disp handles the integer validation by default. Is there a way to avoid/remove by default.
default validations for Integer
If ($number(pmin,"I",-2147483648,2147483647)="") Do ##class(%REST.Impl).%ReportRESTError(.This question originally appeared in the comments of the post: The Art of Mapping Globals to Classes (5 of 3)
Hey
I need to know how to exclude row after checking his data, for example:
^global(1,2)=a*b
^global(1,3)=a*c
if $P(^global(key1,key2),"*",2)=c Q
how can i do this?
thanks

This article will cover turning over control of provisioning the InterSystems Kubernetes Operator, and starting your journey managing your own "Cloud" of InterSystems Solutions through Git Ops practices. This deployment pattern is also the fulfillment path for the PID^TOO||| FHIR Breathing Identity Resolution Engine.
I encourage you to do your own research or ask your favorite LLM about Git Ops, but I can paraphrase it here for you as we understand it.
Hello everyone!
Sorry for the vague title! But I wonder what would be the best way to easily import a large XML-file into a production, modifying it by deleting elements and nodes depending on what values are in those nodes/elements and later creating whole new XML-file from that?
I have gone through this: Using Caché XML Tools | Caché & Ensemble 2018.1.4 – 2018.1.8 (intersystems.com)
But I get the sense that there are a lot of ways of approaching this, but I do not know what is the most effective for my certain needs.
I appreciate the help! Thanks beforehand! :)
Outside of the learning module for IAM, I would like to give it a try with Community Edition on my own however the Community Edition License does not include it.
Has there been any discussion on allowing Company's Demo IAM through Community Edition before they get the license?
Thanks
Scott
Hello everyone!
I have to build a REST service that receives a POST HTTP-request, collect a file from that request in the Form data and then send it in another HTTP Post request through Form Data. However I can't really seem to send the file, and I do not know where it has gone wrong. All I am getting told is that no file is being received from my HTTP Post request. I am reaching the REST Service I am supposed to send the request to, but nothing is being sent.
I would be really thankful if someone could give some insight why nothing is being sent in my request. Thanks beforehand!