When using INSERT OR UPDATE command,
How does the command know if the row exists?
When using INSERT OR UPDATE command,
How does the command know if the row exists?
Can someone share some details for creating a pipeline for converting CCDA (XML) document into Flatfile or CSV File using IRIS.
@Marc Mundt
@David.M
@Paul Lomayesva
Could you please help me out identifying the inbound and outbound adapters along with the DTL process for converting CCDA into CSV Files.
Thanks in advance!!
Isabella
A tool (^GLOBUFF utility) is available to check the database cache usage for each global variable.
You can run the utility directly or programmatically in the %SYS namespace.
Here's how to run the utility directly:
You can set the maximum size of the IRISTemp database at IRIS startup by setting a configuration parameter called MaxIRISTempSizeAtStart.
After setting, the system will truncate IRISTemp to the set value (MB) at the next IRIS startup. If the current size is less than the specified MaxIRISTempSizeAtStart, no truncation will occur. Also, if 0 is specified, truncation will not be performed, so the size will start without changing. (Default) Settings are made from the menu below.
Is it possible to generate a random string in cache please advice thank you in advance
I am trying to execute a program from within cache using a $zf call
S X=$ZF(-1,"C:\""Program Files (x86)""\Car-Part\Messaging\iCPM.exe")
For the sake of this post I changed it to open notepad
S X=$ZF(-1,"C:\Windows\notepad.exe")
If I call it directly from terminal notepad opens and all is happy.
If I add it to a program we use to run certain tasks once an hour or even every 10 minutes it will fire off notepad but it will be in the background.
The messaging application we use will not work at all in the background and needs to be in the foreground.
1. For this tutorial we will use the iris-rest-api-template (https://openexchange.intersystems.com/package/iris-rest-api-template), adding some code to install JIRISReport support. Do these steps:
2. Clone the project on a local folder:
$ git clone https://github.com/intersystems-community/iris-rest-api-template.git3. Edit the file Dockerfile with this content:
ARG IMAGE=intersystemsdc/iris-community:2020.3.0.221.To run an online backup from a command you can use the API BACKUP^DBACK routine.
An example of performing a full backup is as follows.
set status = $$ BACKUP ^DBACK( "" , "F" , "full backup" , "c:\backup\full.cbk" , "Y" , "c:\backup\full-log.log" , " NOINPUT" , "Y" , "Y" , "" , "" )The return value is 1 if the backup is successful, and 0 if the backup is unsuccessful. Please refer to the log file for details on failure.
Additionally, you can specify C for the second argument TYPE to specify a cumulative backup, and specify I to specify a differential backup.
For anyone planning their 2024 calendars, I happened to see this on Facebook the other day.
In my previous articles, I described my Command Line Extension to NativeAPI.
Of course, this is also available for any other NativeAPI package.
So I created this example as a demo for the actual Java Contest.
The package contains also an IRIS server in Docker for the demo
It is evident that it also works with any remote IRIS server.
You just have to provide it with my NativeAPI CommandLine Extension.
I think this demo is easy to follow and shows the essential features.
This is the related article to the package in Java Contest.
I decided to present a CRUD++ Global Editor based on IRIS Native API for Java.
++ because it’s a little bit more than just Create, Read, Update, Delete
Visualization of a global is always important to review results immediately.
To create a user-defined error you need to prepare the XML that describes the error code and corresponding message that you want to use as a user-defined error.
Please set the error code as a negative integer.
<?xml version="1.0" encoding="UTF-8" ?>
<MsgFile Language="en">
<MsgDomain Domain="UserErrors">
<Message Id="-111" Name="MyError">An error has occured</Message>
<Message Id="-222" Name="MyError2">An error has occured 2</Message>
</MsgDomain>
</MsgFile>
Once the XML file is created, load it into the namespace you want to use.
Does anyone happen to know what could be causing this error?
ERREUR #5002:Erreur Caché : <LIST>%SerializeObject+5
^AHP.WebSrvExchange.Response.FicheRetourResponse.1
.png)
The 2023.3 releases of InterSystems IRIS Data Platform, InterSystems IRIS for Health, and InterSystems IRIS Studio are now Generally Available (GA).
2023.3 is a Continuous Delivery (CD) release. Many updates and enhancements have been added in this release:
Journal Archiving: Starting with this release, system administrators can now configure an archive location for completed journal files.
I'm looking for an SMS Texting solution that will implement easily with IRIS. Our company uses Twilio for our .Net applications but I'm hoping there might be something else available. If anyone has experience with this please let me know!
Best,
Jerry
I need to download InterSystems Caché ODBC Data Source 2018 and I can't.
I want to know where I can download it.
I want to convert a string to uppercase that may or may not be a $LIST so that I can do a case insensitve search. However, when looking at what constitutes a $LIST I can see something that looks like it follows these rules:
Example: S X=$LISTBUILD("hello","world!") gives X=$C(7,1)_"hello"_$C(8,1)_"world!
Hi,
In my local IRIS, I am learning FHIR for the first time. Can anyone help me set up FHIR SQL Builder.
After following the e-learning video, I tried to set up FHIR SQL Builder on my localhost. However, when I applied data for Transformation Specification details the "Analysis has no records" error appears.
Thanks,
Hi All
I'm having a problem with cleaning user inputted text from a HealthCare system my HealthConnect system interfaces with.
The input can be anything posted into an RTF box on an app which stored in oracle, and extracted by HealthConnect from oracle via an XML based API.
When the XML is returned, various values are read out of it using %XML.XPATH.Document and it is the presence certain characters entered into the RTF fields cause XPATH to throw an error.
InterSystems has decided to stop further development of SAM (System Alerting & Monitoring) and label it as deprecated as of today. InterSystems will continue to support existing customers using the technology, but it is no longer recommended for new deployments.
We’ve found that most customers who are interested in the type of observability provided by SAM have chosen to connect IRIS’s metrics API & structured logs to their organization’s existing observability platform in order to have a more complete view of their operational platform.
Which process notify Web Gateway when to switch to secondary/mirror IRIS? I'm trying to debug a case when the web gateway doesn't know about primary IRIS failure and is trying to send request to that instance which is causing 500 error. Also, no clue why at the same time I see that GET request to /csp/bin/mirror_status.cxw will return 200 OK.
Our setup is 2 web gateways, primary IRIS, secondary/mirror IRIS and an arbiter.
Hello all,
Currently I am trying to create a pivot table based on a cube with several calculated measures that perform a distinct member count, as in https://docs.intersystems.com/iris20231/csp/docbook/DocBook.UI.Page.cls… . However, when I add these measures as the columns of the pivot table, the resulting row generation step can take a long time (at least five minutes). This includes row generation when performing drill-downs.
Hey Community,
Click play and immerse yourself in our fresh video on InterSystems Developers YouTube:
⏯ Adaptive Analytics in Action - Two Customer Use Cases @ Global Summit 2023
Hi community members!
Recently a customer ask me about a problem that detected when they were trying to send a post call to an external HTTP service, this service has changed and now it redirects to another URL, so they have setted to true the FollowRedirect parameter (setted to false for POST calls by default), what is the problem? They are sending a custom header in the post call and after the redirection this value is deleted.
I've reviewed the code of %Net.
After some trials, I am comfortably on my way developing spec first REST APIs using /api/mgmt/, OpenAPI 2.0, testing with Postman.
My question is related to scaling up.
Assume these things:
- Our software is CSP web app and it's web application is '/csp/application'
- I created a new REST enabled web app called '/csp/application/v1' and for my first API I created a spec that defines an endpoint /getTeapots so the endpoint is localhost/csp/application/v1/getTeapots
- Using the /api/mgmt/ endpoint, I loaded the spec into API.TeapotLibrary
- The dispatch class in '/csp/application/v1' thus is 'API.
New to coding in InterSystems IRIS® data platform? Try this brand-new learning program to get the basics, and see how to develop an application with InterSystems ObjectScript alongside your language of choice: Java, .NET, Python, or Node.js.
The first thing that comes to mind when we think about combining Flask with IRIS is a portal to interact with your clients and partners. A good example would be a website for patients to access their clinical exams. Of course, this case would require a whole new layer of security, which we did not cover in our last article. However, we can effortlessly add it with Werkzeug, for instance.