I have created a fairly simple process for taking a HL7 message and sending it to an external provider via a HTTP Post and this is all working correctly. However for the request and response messages I am using e a simple structure containing only a message stream and when looking in Ensemble Message viewer none of this stream content is showing (it is all blank).
Hi again!
I logged into the demo IRIS again, and for some reason, today, I had an "Classpath is incomplete" warning message. The classpath is defined under quickstarts-multimodel-java. Here is the contents of the file :
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="lib/intersystems-jdbc-3.0.0.jar"/>
<classpathentry kind="lib" path="lib/intersystems-xep-3.0.0.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.
My steps are as follows:
1. Switch to the system user using psTool
2. Start instance in emergency way
3. Journal restore
4. Stop instance
A dialog box appears:
.png)
The parameter “quielty” seems to have no effect in the windows environment
Is there any non-interactive way to close the instance?
See Part 1 here.
Part 2: Index Handling
Now you have a good idea of what kind of indices you need for your class and how to define them. Next, how do you handle them?
Query Plan
(REMEMBER: Like any modifications to a class, adding indices in a live system has its risks – if users are accessing or updating data while an index is populated, they may encounter empty or incorrect query results, or even corrupt the indices that are being built.
Hi,
I have a bit of code that does a find and replace on a "template" and inserts additional content. For example it replaces the @DATA@ with an html table:
<html>
<body>
<div id="data">@DATA@</div>
</body>
</html>
Currently doing this with the $replace function:
Set text=$replace(text, "@DATA@", data)
The problem is the "data" is now too big for a %String (yes even with large strings) so will switch to use a stream instead.
Is there an equivalent to $replace that works on a stream? If not, how would I best implement this sort of find/replace functionality in cache object script?
Hi, we have mirrored databases, now we have three nodes. Primary, backup, async. They are sync by journals and with some TB each node (expensive storage).
I would like to have a scenario where the two nodes (Primary and backup) have the same amount of messages (purge task of x days) , both as failover, but the asynchronous node should have more messaging, as much as the storage allows us. We want to use this node so provider can give support(search old messages), but not have databases in production that are so large that they are hardly consulted.
Any ideas?
Thanks in advance!
We are getting CoClass not available [80040111] when using %Net.SSH.Session. Does anyone know if there is a security setting that would disable this object?
Any help would be greatly appreciated.
Dear All,
I'm looping through a list with characters (Parenthesis, square brackets etc) and I wish to remove these from the list.
The for loop and IF logic are effectively removing these items from a list.
However the variable I use for the maximum number of loops carries on beyond the number of items of the list after removal.
In the output value for these I get the integer of the for loop instead of a null for the empty list fields.
I can see in the documentation that the end variable is not editable once the loop is started.
I have just started to experiment with Using IRIS in Docker.
My first objective was to be able to enable global persistence within a Docker container. Using the following command I have managed to achieve this:
docker run --detach --publish 52773:52773 --volume /data/dur:/dur --env ISC_DATA_DIRECTORY=/dur/iconfig --name iris21 store/intersystems/iris-community:2020.1.0.199.0
Within this container, I have created a simple global:
for i=1:1:10 set ^tmp(i)=""
I then stopped and removed the container. On reloading and restarting the container the global has persisted.
Hi Developers!
The second InterSystems Online Programming Contest is over. Thank you all for participating in our IRIS Competition!
As a result - 7 great apps! And now it's time to announce the winners!
objectscript-json-patch

An implementation of JSON-Patch in ObjectScript.
Why you should use JSON-Patch
JSON-Patch (RFC6902) is a standard format that allows you to update a JSON document by sending the changes rather than the whole document. JSON Patch plays well with the HTTP PATCH verb (method) and REST style programming.
Install
With zpm :
USER>zpm
zpm:USER>install objectscript-json-patch
How-To use it
Use it with this call :
Do ##class(Grongier.JSON.Utils).Patch(tDoc,tPatch)
Where :
- tDoc is a %DynamicObject (JSON)
- tPatch is a %DynamicArray of the patches (the JSON Patch).
Rather than doing a PnR I can register documents in the XDS.b Registry and store the data elsewhere, such as in the file system. Upon retrieval, however, how can I fetch it from a non-standard location? For example, a progress note whose body is stored in a SDA3 streamlet?
Hi Developers!
We are going to establish a series of InterSystems IRIS Online Programming contests this year.
In March we started with ObjectScript CLI and here is the schedule of topics for the next few months:
- April - InterSystems IRIS with REST API
- May - InterSystems IRIS Native API application: use Python, JS, .NET, Java native APIs in your application to use IRIS
- June-July - InterSystems IRIS AI/ML solutions. IntegratedML as a bonus
- August - InterSystems IRIS for Health FHIR application
- September - InterSystems IRIS Full-stack application: IRIS as a server and UI on any framework and any form: and web, desktop, mobile UI
- October - Interoperability solutions for InterSystems IRIS and InterSystems IRIS for Health
- November - Analytics Solution using InterSystems IRIS
- December - Multi-model solution using InterSystems IRIS
All applications should be runnable with InterSystems IRIS in a docker container.
Hi
Sometimes I search mesage with inappropriate sql, It caused query hanged long time.
So Is it have way to find these hanged query and kill it?
Tks.
Every time I click Save on System > Configuration > Memory and Startup page, I get "ERROR #5005: Cannot open file '/var/cache/cache.cpf_XXX' " error message, where XXX is a random number. This problem appeared some time ago without any clear reason. All file access right are seems OK.
Any ideas?
Hi,
Would appreciate some guidance on this. I am creating a transform to replace values using a functionset. But for some reason the values arent getting replaced. What I want to do is to replace if the observation value [For Eg: if Migraine should replace with M1]
I am using studio 2015 version which does not have dynamic objects and I need to read xml and convert that to a json I have managed to come close to json string but with little difficulties .I need to be able to identify the root element and specify where to put braces between objects anyone with any idea is welcome he is my code so far
ClassMethod WriteNodes(myfile As %String = "C:\Testdata\data.xml")
{
set status=##class(%XML.TextReader).ParseFile(myfile,.textreader)
if $$$ISERR(status)
{
do $System.Status.Hello.
I want to know how can I convert XML String intro a %SerialObject.
This is an example:
<Body>
<RESULT>
<SUCCESS>TRUE</SUCCESS>
<LIST>
<ID>11111</ID>
<NAME>one</NAME>
</LIST>
<LIST>
<ID>22222</ID>
<NAME>two</NAME>
</LIST>
</RESULT>
</Body>
</Envelope>
And this are the %SerialObject classes I have created:
{
Property Body As test.Body;
}
Hi Developers,
Enjoy watching the new video on InterSystems Developers YouTube:
⏯ Developing Progressive Web Apps
I am trying to install IAM in my local and I downloaded IAM-0.34-1-1.tar.gz and extracted. I went to the location where iam_image.tar is available and run below command in the command prompt.
C:\ESB\HC\IAM-0.34-1-1.tar\IAM-0.34-1-1\IAM>docker load -i iam_image.tar
unsupported os linux
Getting unsupported os Linux issue. Kindly let me know if anyone had this issue. Thanks!
Keywords: Deep Learning, Grad-CAM, X-Ray, Covid-19, HealthShare, IRIS
Purpose
Over the Easter Weekend I touched on some deep learning classifier for Covid-19 Lungs. The demo result seems fine, seemingly matching some academic research publications around that time on this topic. But is it really "fine "?
Recently I happened to listen to an online lunch webinar on "Explainability in Machine Learning", and Don talked about this classification result at the end of his talk:

The above figure is also presented in this research paper: “Why Should I Trust You?
(We are in contact with IS support for this problem but I would like to ask Community too, perhaps somebody experienced this problem in the past)
Hello Community,
we need your help with Cache 2017.2 freezing on Linux machine.
Since we moved our primary production Cache from Windows to Linux in the begging of this year, we have experienced system freezing twice. Yesterday without any good reason Cache stopped to respond with the log shown below.
Questions:
- Any idea what could cause WRTDMN freezing?
- What actions it makes sense to take in order to have enough info when the system freezes next time.
Hi -- at a customer site we have 8 Access Gateways, with a couple of different load balancers that decide which projects go to which subset of AGs.
We're about to go live with a project that uses a subscription, and we have that subscription pointing to one of the AGs. What if that AG goes down? The project is dead until the AG is back up. The subscription forces us to pick an AG that's registered in the Gateway Registry -- I don't see a way to get a cluster or load balancer address in there.
Has anyone found a way around this?
I'm wondering if anybody has done an implementation of the https://www.shibboleth.net/products/service-provider/ interface in Caché / IRIS to have a application running in Caché / IRIS be acception the shibboleth tokens and data as usage credentials.
Does anyone use EnsLib.ITK.DTS.Framework.Operation.DTSTransferFile ? and how id you manage the transition to MESH?
I just noticed this PR from 2011
which led me to this class EnsLib.ITK.DTS.Framework.Operation.DTSTransferFile
Given this was 2011, and DTS (now called MESH) is widely used by GP practices , I'm hoping someone in the community used this class?
If so - how did you manage the transition to MESH in Jan-2017?
Hi,
Working with Atelier a valid COS sentence like this:
if $e(chunk,1,1)="""{
}
Throws Missing closing quotation mark error. Any workaround?
Thanks
Hi Team,
We weren't able to start the InterSystems cache server. I attached error screenshot and console log details on below.
.png)
Console log error:
Retry CLNDMN job start after timeout with last job error = <UNKNOWN ERROR>.
JOBTRACE: Create job indirect, rtnref = START^CLNDMN.
JOBTRACE: Create job by control, rtnref = START^CLNDMN, pid = 6944.
JOBTRACE: Timed out waiting for child (6944) to appear in PIDTAB.
Error: ERROR #5001: Cannot start CLNDMN job - Shutting down the system
Please guide me, how we resolve this issue.
Thanks & Regards,
Ponnumani G.
Hi Community!
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in April 2020:
| New Videos | |||
| № | Video | Views | Watch Time (hours) |
| 1 | Creating CRUD REST API for InterSystems IRIS in 5 minutes | 658 | 10,3 |
| 2 | Online Meetup with IRIS Programming Contest Winners | 241 | 14,2 |
| 3 | Introduction to VSCode-ObjectScript Webinar | 233 | 28,0 |
| 4 | InterSystems API Management and FHIR | 138 | 6,1 |
| 5 | What is IntegratedML in InterSystems IRIS? | 114 | 2,8 |
| 6 | Managing the Transition from On-Premises to Cloud-Based SaaS | 72 | 9,0 |
| 7 | Best Practices of In-Platform AI/ML Webinar | 69 | 7,1 |
| 8 | A Skeptic's Guide to Containers | 62 | 10,8 |
| 9 | How to Build, Test and Publish ZPM Package with REST Application for InterSystems IRIS | 56 | 2,7 |
| 10 | Diving into InterSystems Cloud Technology | 53 | 6,3 |
| 11 | System Alerting and Monitoring Made Easy | 47 | 4,3 |
| 12 | Real World NLP Use Cases | 44 | 5,3 |
Hi Developers!
Here is the May 2020 review on the new features on Developers Community!
We introduced the following new features:
- improved events section;
- Other topics were removed from main;
- Search in the specific language only;
- subscription settings in all the supported languages;
- Discord Channel is introduced.
See the details below.
Hi Developers!
This is the digest of new solutions and applications submitted to InterSystems OpenExchange in April 2020!
19 New applications in April 2020
FHIR Server and API Manager for MIT COVID-19 Challenge by Steven LeBlanc
This demo shows how InterSystems API Manager (IAM) can be used to view and test FHIR resources with InterSystems IRIS for Health. It comes pre-configured with a FHIR server, pre-populated with synthetic patient data. The new InterSystems API Manager (IAM) includes OpenAPI Swagger specs to quickly generate REST client code to work with many common FHIR resources.
Production Manager by Nikolay Soloviev
REST API to manage IRIS Interoperability Productions.
rest-api-contest-template by Evgeny Shvarov
Template repository for InterSystems IIRS REST API Programming Contest
JSON-Filter by Lorenzo Scalese
ObjectScript server-side JSON filter.
objectscript-openapi-definition by Guillaume Rongier
The objectif of this library is to generate the ObjectScript Class from an OpenApi definition.
FHIR-HL7v2-SQL-Demo by Guillaume Rongier
Ready to use a demo of an FHIR Server and HL7v2 transformation to the FHIR Server on IRIS For Health Intersystems The FHIR repo can be a query in SQL.
CloudWatch-IRIS by Anton Umnikov
Configuring AWS CloudWatch with InterSystems IRIS


