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?
See Part 1 here.
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?
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.
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!
An implementation of JSON-Patch in ObjectScript.
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.
With zpm :
USER>zpm
zpm:USER>install objectscript-json-patch
Use it with this call :
Do ##class(Grongier.JSON.Utils).Patch(tDoc,tPatch)
Where :
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:
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]
<assign value='##class(ClassName.FunctionSet).illnessConv(source.{OBX():ObservationValue})' property='target.{OBX():ObservationValue}' action='set' />
My function set class is as below:
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
Hello.
I want to know how can I convert XML String intro a %SerialObject.
This is an example:
And this are the %SerialObject classes I have created:
Hi Developers,
Enjoy watching the new video on InterSystems Developers YouTube:
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
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:
(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:
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.
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?
Notes:
Hi Team,
We weren't able to start the InterSystems cache server. I attached error screenshot and console log details on below.
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:
See the details below.
Hi Developers!
This is the digest of new solutions and applications submitted to InterSystems OpenExchange 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
Hi Community!
The registration phase for the second InterSystems Online Programming Contest has already ended, and now the voting week begins!
We have 7 applications - so you have a set of applications to choose from!
How to vote?
This is easy: you will have one vote, and your vote goes either in Experts Nomination or in Community Nomination.
Hi community,
This article to give a description of my small library JSON Filter.
Why JSON Filter?
Search, sort data are common operations.
But … How to do this with JSON data?
You can use a %DocDB, It’s a good way for storing JSON and index the main properties.
However, JSON document is very flexible. It isn’t always possible (and not recommended) to index each properties to process the wished queries. A manual processing on a data subset is may be required.
In my opinion, this is not a funny part of the job. It’s a repetitive code with many loops etc...
Hi Developers!
Excited to share with you that this week we reached 250 applications published on Open Exchange!
Thank you for sharing your open-source and commercial solutions running on InterSystems IRIS with InterSystems Developers Community and make your coding life more effective and happier!
Hi,
I am looking foi an API to retrieve one namespace´s default web application name. We have use some code to setup links to event log/mesage trace for monitoring emails. In perticular we did this with ensemble where the default csp webapplication name always is something like csp/<namespace/. Anyway when it comes to a healthshare installation the default path seems to be csp/healthshare/<namespace>.