查找

お知らせ
· 2025年8月6日

InterSystems at MIT Hacking Medicine 2025, Brazil

The InterSystems team is heading to MIT Hacking Medicine in Brazil for the first time, taking place September 5–7, 2025!

Hosted by Einstein Hospital’s innovation hub Eretz.bio, this marks the first-ever edition of the world-renowned MIT healthcare hackathon in Brazil — bringing together experts and students from health, tech, business, and design to develop real-world solutions with lasting impact.

Register to participate here: 🔗 www.eretz.bio/mit-einstei

   

📍 Location: Albert Einstein Teaching and Research Center – Morumbi, São Paulo, Brazil
📅 Dates: September 5, 6, and 7, 2025
🎯 Free participation – applications open until August 17

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年8月6日

[Video] Healthcare in Living Color

Hi Community,

Enjoy the new video on InterSystems Developers YouTube:

⏯ Healthcare in Living Color @ Global Summit 2024

In this video, we explore how healthcare is transforming from a basic "black and white" system into a dynamic "Living Color" experience. We delve into the most significant challenges facing the industry, including clinician burnout and workforce shortages, while also highlighting the exciting opportunities ahead. Discover why enhancing digital patient experiences, developing user-friendly healthcare software, leveraging data insights, promoting collaboration across the ecosystem, and accelerating innovation are crucial to the future of healthcare.

🗣 Presenter: @Don Woodlock, Vice President, Healthcare Solutions, InterSystems  

Subscribe to our YouTube channel InterSystems Developers to stay up to date!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2025年8月6日

Redirecting Python output to the device ObjectScript method is called from for output capture?

I have a custom Buffer class which is designed to capture written/printed statements to the device, to be able to transform the captured text to string or stream type. I have used this in ObjectScript to capture ObjectScript write statements and return a string. I would like to try to use this with a [ Language = python ] method as follows. This class will be called by a scheduled task.

/// ObjectScript code which initializes buffer to capture statements written in nested method call
ClassMethod CollectStringFromBuffer() 
{
    set buffer = ##class(CustomClass.Buffer).%New()
    do buffer.BeginCaptureOutput()
    do ..PythonMethodWithPrintStatments() // Capture all statements written by this call
    do buffer.EndCaptureOutput()
    do buffer.ReadToString(.errorOutput)
}

/// Python code which executes Python print and IRIS write statement
ClassMethod PythonMethodWithPrintStatments() [ Language = python, Private ]
{
    import iris 
    print("Python print this line to the buffer")
    iris.execute('write "IRIS write this line to the buffer"')
}

The Python method is not printing to the same device as the ObjectScript method is called from, so the buffer is not actually capturing these statements.

I am thinking through some alternative solutions, but I am curious first if anyone has advice on ways to redirect Python output that would be usable with the current solution? Thanks!

4 Comments
ディスカッション (4)3
続けるにはログインするか新規登録を行ってください
ディスカッション (15)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年8月6日

Communauté francophone représentée au concours d'outils de développement InterSystems

Bonjour à tous,

Nous avons le plaisir d’annoncer qu’un membre apprécié de notre communauté, @Antoine.Dh, a participé au concours d'outils de développement InterSystems avec son application PyObjectscript Gen !

À propos de PyObjectscript Gen

  • Qu’est-ce que c’est ?

Il s’agit d’une bibliothèque Python permettant la génération de classes ObjectScript de manière simple et extensible.

  • Points forts :
  • Génération de classes ObjectScript à partir de Python
  • Interface claire et épurée pour les développeurs Python
  • Architecture extensible, pour adapter ou enrichir le comportement selon vos besoins
  • Installation :
pip install pyobjectscript_gen

Ou depuis le dépôt GitHub d’Antoine.


Un grand bravo à Antoine ! 👏 Son outil allie simplicité et puissance, et offre une vraie valeur pour les développeurs IRIS qui veulent générer du code ObjectScript en utilisant Python.

Ce serait fantastique que davantage de membres de notre communauté participent à ce type de concours à l’avenir. En attendant, ne manquez pas le concours de rédaction d'articles techniques qui se tiendra en septembre — une excellente opportunité pour partager votre expertise et vos projets !

Je vous souhaite à tous un excellent été et… bonne chance !

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください