Deploying InterSystems HealthShare code, supporting lookups and artifacts like ssl certs, keys etc is relatively straight forward using Gitlab Runners. Not only does this approach enable managing the code base and deploying with git type workflows, but it also lends to a speedy recovery and repeatable environments for some implementations.
Hey Developers,
Please welcome the new video by @sween on InterSystems Developers YouTube:
⏯ Hands Off HealthShare Deployment Workflow with GitLab Runners
Gitlab Runners and InterSystems Healthshare Code Deployment and VSCode oh my. More details in this post.
I have extended my operation class from Ens.BusinessOperation class . I want to execute below sql on cache.
&sql(Select demoVersion into :DemoVersion from demointerface.DemoInstances where ID=:demoID)
this line not even giving error.
Please suggest me how to make sure my sql query should work everytime , when i call the class method
Same code is working fine in production but not working in local:(
Thanks a lot
Prashanth Ponugoti
Hi All,
I would like to merge json files. From a BPL we're running an operation to get data from a REST service cursors. We would like to run the REST calls until no cursor is present in the response of the rest call.
This works fine, but I would like to combine/merge the json outcome and write it to the disk.
See my attempt below for merging 2 json files.
Class Test.TestClass
{
ClassMethod xxx() As %Status
{
Set tSc = $$$OK
set jsonObj1 = {}.%FromJSON("C:\temp\1.json")
set jsonObj2 = {}.%FromJSON("C:\temp\2.json")
Do jsonObj1.%Remove("NextCursor")
Do jsonObj2.
Since I saw many posts on Developer Community related to Python, and the very good articles and application written by @Eduard Lebedyuk I was wondering: "As a Object Script developer, why would I want to use an other language in Object Script? If I ever need to execute something in Object Script, I would do it in Object Script!".
I thought those functionalities to use other languages in Object Script were made only for other languages developers who have to write Object Script code.
Recently I had to parse a huge CSV file : 1.7Gb and more than 5 millions lines.
Hi Community!
You've possibly noticed ES switcher in articles.
If not - we recently introduced the option to switch to the Spanish version of the article.

I run most of my reviews using Docker Desktop on Windows 10.
According to the recommendations, I clean up docker and downloaded repositories after tests:
Repos are simple but Docker is somewhat resistant to release the consumed disk space.
Hey Community,
New video for an easy start on InterSystems Partner Directory:
InterSystems is pleased to announce a new Developer Download site providing full kit versions of InterSystems IRIS Community Edition and InterSystems IRIS for Health Community Edition. These are available free of charge for application development use.
You can download directly from the InterSystems Developer Community by selecting Download InterSystems IRIS.
Over the past year or so, my team (Application Services at InterSystems - tasked with building and maintaining many of our internal applications, and providing tools and best practices for other departmental applications) has embarked on a journey toward building Angular/REST-based user interfaces to existing applications originally built using CSP and/or Zen. This has presented an interesting challenge that may be familiar to many of you - building out new REST APIs to existing data models and business logic.
I want to start this project and wants to know the best practices, you guys using to arrange the project. I have done lot of mvc projects and API's in c#. But Intersystems is new to me. Please give me some suggestions like how can I Arrange the objects. Like for eg. Where can I store the productions objects like services,process and operations. will that be like under each resouces folder name? and what are the base classes, and how can I store them? basically please give me some idea about how Can I arrange them .
Thank you
Sai
I want to install a new FHIR server from the Management Portal using the below steps, but not able to find FHIR Configuration setting under my newly created foundation namespace.
- Open the Management Portal and switch to the Foundation namespace where you want the FHIR server installed. If you do not have a Foundation namespace, go to Health, and select Installer Wizard from the top menu bar. The Configure Foundation button allows you to create a new Foundation namespace. Be sure to activate the namespace after creating it. Done
- Navigate to Health > MyNamespace > FHIR Configuration.
Hi Everyone!
During the HackMIT 2021, we have been running an online game for undergraduate students called "Treasure Hunt". Thanks to all who took part in the game!
The Treasure Hunt prizes were raffled today at 10 am ETS on Zoom (see the recording here). Please meet the Raffle Winners!
🎁 JBL Quantum 300 Gaming Headset goes to A. Kuro Andengattil 🎉
🎁 Apple AirPods Pro goes to Pulkit Girdhar 🎉
🎁 Amazon Echo Dot goes to Joshua Qin 🎉
🎁 Nike Utility Speed Backpack goes to Chua Hua Lun 🎉
🎁 Amazon Kindle 8G Paperwhite goes Samrat Mukherjee 🎉
Hello everyone
I am new to cache. I want to know how we can perform database tuning.
Thanks in advance!!
Hello everyone. I am hoping someone here can help me get my local instance running. I have set up these local instances in the past (pre IRIS) and never had much trouble, but I have spent so much time the last couple days trying to work through this problem and am out of ideas. It has been years since I have set up a local instance so this could be something I am doing wrong, but I am open to any suggestions. I am trying to setup a Vista database like I have in the past by creating a new database and namespace named VISTA, have created a folder with the FOIA .
The challenges are gone :(
Just wanted to thank InterSystems for sponsoring this year's HACKMIT!
Hi,
Business service is not moving .csv to Archive file. is there any setting to missing?
Thanks
Hi,
What is the difference between $Increment and $Sequence functions ?
Thanks
Hi Community,
Enjoy watching the new video on InterSystems Developers YouTube:
Hi There,
We are upgrading from Cache to IRIS this weekend and I was curious what version of IRIS I need to download. Once our system is live on IRIS, I will no longer be able to use Ensemble. If anyone knows the version of IRIS and could pass that along to me, it would be much appreciated.
Thanks
I have an ObjectScript class with a Log property of type %Stream.GlobalCharacter. I need to search the end of each of the logs - is there a way to extract the last 10 lines of the Log stream for each object via SQL? Or is my only option to write an ObjectScript routine to walk the table and inspect each Log property one by one?
Thanks!
Hello gentlemen,
I hope you can help me because this is a very serious that I can't wait to resolve... Our back-up is currently taking 3 up to 4 Gb per day and we don't know why. We had 270 Gb yesterday and we are today at 274.3 Gb. We keep a computer history of the messages for only 50 days. Here is a picture of what's currently taking the most data place in our healtshare system:
(don't forget that our DB is also connected to the back-up, maybe it is related, I don't know)
.png)
Thanks you in advance,
Thomas
The goal is to construct a comma separated string, using a loop but the same way $listtostring(var,",") would do (i.e. "a,b,c,d,e,f,g,h" without starting or ending comma).
What is the best way to do it, concerning the readability of the code and its performances?
To do so, there are more than 5 methods, but in this example we will test 4 :
1) using a "if" in the loop
set str="" for ... { if str'="" { set str = str_"," } set str=str_myval }
2) using a set
set (str,sep)="" for
Hey everyone.
I was curious if anyone had any success/tips with regards to using a global or a system parameter/property to control the behavior of a transform or process/operation.
Is there a parameter I can currently reference from the system that can be used for an if/else, or am I best off creating a simple Global and setting it according to the environment I am in?
Hello everyone
I use cache script, I would like to know from you if there is any function or class in the cache where I can get the start and end date of a given month:
Example: What is the first and last day of the month of February 2015.
Grateful.
Davidson
Hi
I have created %ALL namespace to map with two existing namespaces to use class globally but I am not able to select %ALL namespace as it is not appearing in the available namespace list. How to create objects in %ALL namespace?
Thanks
Hello everyone,
I think I put everything in the title. It's a simple question : how to restart a connector or a list connector without double-clicking?
Is there a way using another connector to do so (using code)?
Is there a way using a command line in the terminator/ds command (in the purpose to use a batch)?
Faithfully,
Thomas
Hi community,
Do you have docker automl docker image with zpm?
In the first part we got a quick introduction on the IMAP protocol commands, now it's time to use IRIS and implement them and create our own IMAP client!
IRIS Email Framework
The IRIS platform has default interfaces and classes for working with email. Developers originally designed those artifacts for POP3 implementation. However, this doesn’t mean that we can’t use and extend these interfaces and classes to implement an IMAP client. So let’s talk about them:
- %Net.FetchMailProtocol: This is the base class for email retrieval. The IMAP client extends it.
- %Net.

