Our previous code golf ended with an overwhelming win, so now it's time for another one.
Parenthesis Hell is a Lisp-like esoteric programming language(esolang).
As a Lisp-like language, the code consists only of nested matched pairs of opened and closed parenthesis.
Your task is to write a method that receives a string of parenthesis and returns 1 if the order of the parenthesis is valid. For example, the string of parenthesis (())() is valid because it contains a matched pair of opened and closed parenthesis at each position. The string ()((()))) is not valid because it contains one unmatched parenthesis.
Hi,
Any recommendations on how i can add a logic if an incoming record that is already existing in the table but different total amount value. I need to subtract the totalamt value on the input file vs the totalamt value on the table and update the table with the difference of totalamt. Any help is much appreciated. Thanks!
s tEntEpicMoopRecord = ##class(MC.Data.EntEpicMoopFile).MemberIDIndexOpen(pRequest.MemberID)
if $ISOBJECT(tEntEpicMoopRecord) {
s tEntEpicMoopRecord.DateUpdated = +$h
s tSC = tEntEpicMoopRecord.%Save()
}
else {
s tEntEpicMoopRecord = ##class(MC.Data.
First time setting up a SSL/TLS connection, and I am running into issues when I call it from within a Business Operation. I used openssl to generate a RSA 4096 SHA512 key/csr request for our Active Directory Certificate Service to generate a Certificate Chain for me to use within RedHat. I was able to connect to our Web Service server using a generic request from terminal, however when I try it from our Business Operation I am running into issues. I tested the SSL/TLS connection using the following commands from the terminal. DEVCLIN>set request=##class(%Net.
Recently I started moving some of our JDBC Gateway configurations over to using the Microsoft JDBC Gateway driver instead of using the jTDS open source driver. I have noticed since then that those Objects that are using Microsoft JDBC Driver are throwing a lot more errors than the jTDS driver ever did, which I can understand however I am puzzled that I keep running into an issue with the Java Gateway Service within the Interoperability engine.
Every so often I will start seeing "Gateway Server failure timeout on 127.0.0.1:55550" followed by "Gateway Server did not respond to PING request.
InterSystems FAQ rubric
You can set individual error pages for the following Web Gateway error messages/system responses:
- server error
- server busy
- server unavailable
- server timeout
- connection closed
Settings are made on the Web Gateway Management screen ([Management Portal] > [System Administration] > [Configuration] > [Web Gateway Management] > [Configuration] > [Default Parameters]).
In the Error Page section of the Default Parameters menu, set the filename of the html page to display or the URL to redirect to when an error occurs.
Hi community,
I have an incorrect InterSystems Server Credentials password stored by the Workstation Keychain in VS Code. VS Code is trying to use this incorrect stored credential to access the server and does not prompt or allow me to input a different password. I do not see any settings associated with the Keychain or resetting those credentials. Does anyone know of the process to delete or replace a stored password here?
Thanks!
Hannah
I noticed that the XCPD processor has a setting for PDQ minimum threshold and maximum record count returned, but PDQ does not have these settings. Can anyone explain why? They are essentially the same service.
I'm trying to track down documentation on how HealthShare + HSPI prioritizes patient demographics that are returned in various scenarios. I've done some experimenting but was looking for some confirmation.
1. HSPI - It's my understanding that trusted tiers and aging factors only impact the HSPI management UI experience. That they are not incorporated into patient search response. Can someone confirm this?
2. Patient Search Response (Clinical Viewer, PDQ, XCPD, FHIR) - Only Registry demographics are used. Nothing from HSPI or Patient SDA.
3.
Good morning,
first of all thank you for taking the time to read and answer this question.
Recently, since we have upgraded to HealtShare 2020, we experienced the fact that when opening in the Studio the Process (.bpl) and Transformation (.dtl) classes, it asks us to log in, i.e. username and password, almost every time we open a new Process or Transformation.
However, in previous versions, I think we had HealthShare 2016 or 2017 or 2018, and in it, you could log in from the Studio in Processes and Transformations, logging in 1 time only.
Have Docker running in Ubuntu and successfully downloaded IRIS Healthcare ML Community to local machine.
Cannot figure out how to launch IRIS...help!
Thanks, all...
Martin Arnold
Hi Developers, I'm currently doing a demo about building a front end UI doing data analytics and setup a performance test with large data objects, therefore using "Populate Utility" could help me auto generate some sample data that I can play with.
Within this post I would like to share my experience of using Populate Utility, including using POPSPEC Parameter.
1.
I would like to search for all messages where their body size is greater than 3MB.
I have searched through the common Header and body properties and I have not found a size property. I have looked at the extended properties but I am unsure if any of the extended classes allows me to find the Doc size.
I have stepped through most of the body property classes related to messages or documents that have an exposed property that filters by document or message size.
Is there a way to do this within the Message Viewer or Terminal?
Thank you in advance.
Dan
Hi Everyone,
Join the next online Developer Roundtable on July 27 to discuss how to optimize your dev practices. We'll have 2 short demos from our experts, time for Q&A and open discussion.
Invited experts:
@Timothy Leavitt, Development Manager, InterSystems
@Alex Woodhead, Senior Systems Developer, InterSystems
@Evgeny Shvarov, Senior Manager of Developer and Startup Programs, InterSystems
UPDATE: see the recording below or watch on YouTube
Hello,
I need AES ECB with PKSC7 padding for an interface.
Unfortunately, the %SYSTEM.Encryption.AESEncode cannot do this.
Therefore I wanted to include the following python lib.
PyCrptydome -> https://pycryptodome.readthedocs.io/en/latest/index.html
We need to install the package offline on the system. So I downloaded it and put it in the MGR/Python/ directory.
However, when I try to install it, I get the following error message:
E:\HealthConnect\20201\bin>irispip install E:\HealthConnect\20201\Mgr\python\pycryptodome-3.18.0.tar.
Hi Community,
Enjoy watching the new video on InterSystems Developers YouTube:
InterSystems has corrected two defects.
The first defect can cause an ECP application server to hang. This defect is only relevant to ARM and IBM Power processors; it is present in version 2022.1.2 and 2022.1.3 of InterSystems IRIS®, InterSystems IRIS for Health™, and HealthShare® Health Connect. The correction is identified as DP-423661. The defect is addressed in all future versions.
The second defect can, in rare circumstances, cause dejournaling to hang. This defect is present in versions 2020.4, 2021.x, 2022.x, and 2023.
Did you know that with InterSystems IRIS for Health™, you can create a FHIR Facade that enables healthcare apps to send and receive HL7® FHIR® data?
Find out how in this learning path (3h 30m), which includes a hands-on exercise (20m).
– 43 new announcements
– 83 new questions
– 4 new discussions
281 new members joined in July
11,751 posts published all time
10,025 members joined all time

This is a sample application that demonstrates how to use the InterSystems IRIS for Health FHIR Repository to build a FHIR Repository with OAuth2 authorization, the FHIR endpoint will be the resource server and Google OpenId will be the authorization server.
InterSystems FAQ rubric
You can search for a specific global variable in the journal file using the ByTimeReverseOrder query of the %SYS.Journal.File class and the List query of the %SYS.Journal.Record class.
The role of each query is as follows.
A) %SYS.Journal.File query of the ByTimeReverseOrder class
You can get the journal file name. Results are returned in descending order of journal file name.
USER>set stmt=##class(%SQL.Statement).%New()
USER>set status=stmt.%PrepareClassQuery("%SYS.Journal.File","ByTimeReverseOrder")
USER>set rs=stmt.%Execute()
USER>while rs.%Next() { write rs.InterSystems IRIS currently limits classes to 999 properties.
But what to do if you need to store more data per object?
This article would answer this question (with the additional cameo of Community Python Gateway and how you can transfer wide datasets into Python).
The answer is very simple actually - InterSystems IRIS currently limits classes to 999 properties, but not to 999 primitives. The property in InterSystems IRIS can be an object with 999 properties and so on - the limit can be easily disregarded.
These two articles describe how to extend business components with additional properties:
1. https://community.intersystems.com/post/how-customize-ensemble-settings
2. https://community.intersystems.com/post/creating-custom-captions-intero…
I have one more question about drop-down editor. Is it possible to pass to its URL the value of another business component property, not just @productionId? Something like:
class MyOperation extends (EnsLib.REST.Operation, Ens.
Hello,
I want to add a couple of properties to a custom Transform class to give the user the ability to edit its properties directly in the Business Process visual editor. It can be easily done with other Production components, but I can't find in the documentation how to do the same with my Transform. Is it possible?
And another question is about how to use the 'aux' parameter of the DataTransform.Transform method if my component is non-visual?
Hi all,
I am using %Library.ResultSet to execute my query which I have something like this.
Query GetABC() As %SqlQuery [SqlProc]{
}
After I execute this query and a resultset it returns from this. Now What I want to know is the SQL statement which will have the values dynamically added into while execution.
I like to add documentation to the top of every class I write. Is there a way to modify or create a template that would automatically add the lines below to the top of the class? I primarily use Studio IDE but would like to be able to do this using VS Code as well.
/// Version 1.0
/// Author/Co-author:
/// Project:
/// Date:
/// Description:
/// Change Log:
/// Notes:
Thanks.
Hi Community
I am using a standard DTL for Allergy Intolerance but it shows codes for Category and Severity Columns on cliinical viewer.
I have copied the standard DTL to my custom folder and I want to modify it to show descriptions for these two columns but I don't know how to do it.
Please see the below DTLs for Category and severity and advise how I can change them to get descriptions.
.png)
Category DTL section
<true>
<if condition='source.category.Count()>0'>
<true>
<assign value='##class(HS.FHIR.DTL.Util.Lookup).
Hi Community
I want a FHIR resource example that will populate allergies as displayed below, I am currently focussing on only allergies and not alerts.

I have been successfully able to transform hand-written medical test results documents to HL7 ORU_R01 v2.x, then to SDA, which will be trasformed to FHIR or C-CDA.
However, I have a category of documents which contains reference range in multiple date formats, which are measured for each gestation period.
For example, below is one of the documents.
Analyte: HCG, Value: 1968, Unit: mlU/mL
Reference Range:
Week of gestation: 3, Range: 5.8-71.2
Week of gestation: 4, Range: 9.
.png)
FHIR has revolutionized the healthcare industry by providing a standardized data model for building healthcare applications and promoting data exchange between different healthcare systems. As the FHIR standard is based on modern API-driven approaches, making it more accessible to mobile and web developers. However, interacting with FHIR APIs can still be challenging especially when it comes to querying data using natural language.
Introducing the FHIR - AI and OpenAPI Chain application, a solution that allows users to interact with FHIR APIs using natural language queries.

