Nova postagem

查找

Anúncio
· Mar. 10

Winners of the InterSystems Technical Article Contest 2025

Hi Community!

It's time to celebrate our 25 fellow members who took part in the latest InterSystems Technical Article Contest and wrote

🌟 38 AMAZING ARTICLES 🌟

The competition was filled with outstanding articles, each showcasing innovation and expertise. With so many high-quality submissions, selecting the best was no easy task for the judges.

Let's meet the winners and look at their articles:

⭐️ Expert Awards – winners selected by InterSystems experts:

🥇 1st place: Creating FHIR responses with IRIS Interoperability production by @Laura Blázquez García

🥈 2nd place: Monitoring InterSystems IRIS with Prometheus and Grafana by @Stav Bendarsky 

🥉 3rd place: SQLAchemy-iris with the latest version Python driver by @Dmitry Maslennikov

⭐️ Community Award – winner selected by Community members:

🏆 Generation of OpenAPI Specifications by @Alessandra Carena

And...

⭐️ We'd like to highlight the author who submitted 8 articles for the contest@Julio Esquerdo

Let's congratulate all our heroes who took part in the Tech Article contest #6:

THANK YOU ALL! You have made an incredible contribution to our Dev Community! 


The prizes are in production now. We will contact all the participants when they are ready to ship.

21 Comments
Discussão (21)13
Entre ou crie uma conta para continuar
Pergunta
· Mar. 10

Can %Net.HttpRequest objects get reused (behind our back)?

We are calling a REST web-service from Ensemble using EnsLib.HTTP.OutboundAdapter and redefining the adapter class to set custom headers as described by @Eduard Lebedyuk here: How to set Content-Type

During development we accidentally stumbled across puzzling behaviour - we now suspect that the %Net.HttpRequest object created in the linked example is being reused in the following scenario:

  1. request is created as described and sent to web-service, so an instance of a %Net.HttpRequest object exists and is known to the EnsLib.HTTP.OutboundAdapter
  2. we modify our code to test what happens if headers are not set - eg changing the "GetRequest()" method in the above example to return "" rather than a new %Net.HttpRequest object
  3. but in a subsequent call the headers set in step 1 above arrive in the web-service, even though they were not set (unset?) at step 2...

After really scratching our heads our suspicion is that the %Net.HttpRequest object created in step 1 is not thrown away after use, but "remembered"/re-used by the OutboundAdapter. Are we correct?

Is this what stands behind the "In normal use you create a single %Net.HttpRequest object and use it to issue as many requests as you need to the web server, each %Net.HttpRequest object can be thought of as a single instance of an internet browser" and "Reset the %Net.HttpRequest class so that it can issue another request. This is much faster than closing this object and creating a new %Net.HttpRequest object" in the class documentation? And if we are correct, is there documentation or good practice guidelines on how long it is wise to keep reusing such a request object? Or is it so situation dependent its impossible to say?

(Our situation is a passing a feed of healthcare data to a downstream system within our internal network; headers to contain content type and Basic Authentication headers - will only change a couple of times a year if the password is changed - and sent over the wire using SSL. We'll process several hundred, perhaps a few thousand, messages per day, mostly during working hours, with significant spikes of activity at certain points in the day.)

2 Comments
Discussão (2)1
Entre ou crie uma conta para continuar
Pergunta
· Mar. 10

Creating indexes on a SDA field

Hi all,

I'm working on a requirement to loop through all encounter streamlets(SDA) to identify specific encounters based on an encounter extension property for a patient fetch request. However, this current process is time-consuming, and we need to create indexes for that property to quickly retrieve the expected results without going through all the encounter streamlets of a patient.

I would appreciate help on how to achieve this, as I couldn't find any documentation explaining how to create indexes on a SDA element.

Thanks in advance.

1 Comment
Discussão (1)2
Entre ou crie uma conta para continuar
Resumo
· Mar. 10

Publicações Desenvolvedores InterSystems, Março 03 - 09, 2025, Resumo

Março 03 - 09, 2025Week at a GlanceInterSystems Developer Community
Resumo
· Mar. 10

InterSystems Developers Publications, Week March 03 - 09, 2025, Digest

Articles
Announcements
#InterSystems IRIS
#IRIS contest
#Other
#Learning Portal
#Developer Community Official
Questions
#InterSystems IRIS
#Caché
#InterSystems IRIS for Health
#Ensemble
March 03 - 09, 2025Week at a GlanceInterSystems Developer Community