Pesquisar

Pergunta
· Ago. 6

Trying to extract the narrative text from large CCDA files using EnsLib.EDI.XML.Document:GetValueAt method

Trying to extract the narrative text from large CCDA files using EnsLib.EDI.XML.Document:GetValueAt method

Getting a MAXSTRING error from the GetValueAt method.. Tried alternate by using GetSubDocumentAt and put it to string. Still it is giving a Invalid OREF method. Is there any limitation on these OOB methods. Also looking for ideas to extract it

1 Comment
Discussão (1)2
Entre ou crie uma conta para continuar
Anúncio
· Ago. 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

Discussão (0)1
Entre ou crie uma conta para continuar
Anúncio
· Ago. 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!

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Ago. 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
Discussão (4)3
Entre ou crie uma conta para continuar
Discussão (15)1
Entre ou crie uma conta para continuar