I got a problem to resolve, to sum it up I need to extract a function body from a JS file with cos.
I already got the JS code in a string and the function name but I'm kinda stuck as to how to get my function body, I already tried a few things (regEx, counter bracket) but there are comment and strings that block them from functioning. Is there a javascript parser or a good way to do it except by creating a javascript parser?
Hello DC members,
Considering the unparalleled success of last year's activity, we've decided to prepare it for you once more. So, without further ado, welcome
🔥 YOUR 2023 RECAP 🔥
.jpg)
Hi Developers,
Enjoy watching the new video on InterSystems Developers YouTube:
Hi Community,
We know you're eagerly anticipating this moment for an entire year (and we've even got messages asking if it is happening 😉)... Well, the moment is now here!
Join the Advent of Code 2023 with InterSystems and engage in our ObjectScript contest for a chance to win fabulous prizes!
.jpg)
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.
If one of your packages on OEX receives a review you get notified by OEX only of YOUR own package.
The rating reflects the experience of the reviewer with the status found at the time of review.
It is kind of a snapshot and might have changed meanwhile.
Reviews by other members of the community are marked by * in the last column.
I also placed a bunch of Pull Requests on GitHub when I found a problem I could fix.
Some were accepted and merged, and some were just ignored.
So if you made a major change and expect a changed review just let me know.
Hello community,
I am trying to see the complete HL7 message for the class EnsLib.HL7.Message.
But it is showing the truncated version only.
I also tried to convert to stream
d msg.OutputToLibraryStream(.streammsg)
s newmsg=##class(EnsLib.HL7.Message).ImportFromLibraryStream(streammsg)
While (streammsg.AtEnd = 0) {
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.
Hi I want to utilise the file adaptor to pick up some PDF documents however I must not delete the source files from the server. I can see that there is a setting in the FTP adaptor to not delete from server but not in the file adaptor. Is there an easy way to do this or do I just need to create a custom adaptor that copies the files to a working location and records in a tracking global when I have done this so that I don't process the same file twice?
While processing large HL7 files via ftp the Business Service errors when trying to deleting the file. All the messages process fine just the delete step errors. Is there is setting that would help this?
Hi ,
I'm currently working on a BPL (Business Process Language) in InterSystems Ensemble, and I'm facing an issue when trying to call the SendRequestSync() method within a code activity. My understanding is that SendRequestSync() is part of Ens.BusinessProcess, and since Ens.BusinessProcessBPL extends Ens.BusinessProcess, I believe it should be accessible.
However, during compilation, I'm encountering an error stating that the method doesn't exist in the class.
Am I missing something here? Is there a specific way to access SendRequestSync() in the BPL code activity?
Any guidance or insights would
1. IRIS RAG Demo

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.
Hi,
The system I am working on processes large numbers of records. Inserts, updates and so forth. There are multiple processes that can potentially work on the same table at the same time.
It is an almost impossible task to try and time these processes to not run at the same time, due to volumes, SLAs, etc.
Every now and then there are a few locking issues, Not many considering the volumes. It is just a bit of a nuisance as we need to reprocess these records later.
All the selects on the processes run at IsolationMode 0 and the transactions are kept as short as possible.
Is there a way to see
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
InterSystems FAQ rubric
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.INI\InterSystems ODBC35 key SetupThe above entry records the path to the driver currently in
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?
Here's what I see in the
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
Last day to enter your idea! https://community.intersystems.com/post/ending-soon-genai-crowdsourcing…
Hi Community,
InterSystems Innovation Acceleration Team invites you to take part in the GenAI Crowdsourcing Mini-Contest.
GenAI is a powerful and complex technology. Today, we invite you to become an innovator and think big about the problems it might help solve in the future.
What do you believe is important to transform with GenAI?
Your concepts could be the next big thing, setting new benchmarks in technology!
Contest Structure
1. Round 1 - Pain Point / Problem Submission:
With all your knowledge about GenAI and of InterSystems capabilities, what pain point / problems would you tackle,
Hi Developers,
Watch this video to learn about some recent machine learning engagements InterSystems is driving, including TrakCare predictive analytics and examples from our Developer Community and partners:
⏯ Artificial Intelligence Healthcare Solutions - Time to Take Action @ Global Summit 2023
Hi,
I'm currently working on a Business Process Language (BPL) project where I'm using ##Class(%SQL.Statement).%ExecDirect to execute a SQL query. The query returns more than one row, and I'm facing an issue in handling the result set.
<property name='tResult' type='%SQL.StatementResult' instantiate='0' />
I'm setting the result of the query to context.tResult, but the loop through the result set processes only a single row. I need assistance in correctly setting up my context property or any other approach to iterate through all the rows returned by the query.
Thank you in advance
Does anyone have an effective tool for anonymizing/deidentifying CCDAs for testing purposes?
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)
I have written an in network single web page containing a jquery datatable. I want to add the "href" tag to link the Terminal window based on the IP.
Below is a list of failed attempts to make this work.
W " <td><a href=""javascript:pass('"_PASS_"|"_IP_"|"_USER_"|"_PORT_"')"">Terminal</a></td>"
or
W " <td><a href=""javascript:openCMD('test')"">Terminal</a></td>"
or
W " <td><a href=""C:\\Cachesys\bin\cterm.exe /console=cn_iptcp:ip[23"">Terminal</a></td>"
W " function openCMD(ip) {"
W " var oShell = new window.ActiveXObject(""WScript.Shell"");"
W " oShell.Run(""dir *.*"");"
W "
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
Hi Community,
In this article, we will learn the below topics listed below:
-
What is Docker?
-
Some of the Docker benefits
-
How does Docker work?
-
Docker Image
-
Docker Container
-
Docker Image repository
-
InterSystems's Docker image repository
-
Docker Installation
-
Docker Basic Commands
-
Running IRIS community edition by using docker
-
Docker Desktop GUI
So Let's start.
1. What is Docker?

Docker is Virtualization software that makes developing and deploying applications very easy. Docker does this by Packaging the application into a so-called container that retains everything
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.


