All time

Using Flask, REST API, and IAM with InterSystems IRIS

Part 2 – Flask App

Flask is a web development microframework written in Python. It is known for being simple, flexible, and enabling rapid application development.

Installing Flask is very simple. Once you have python installed correctly on your operating system, we need to install the flask library with the pip command. For REST API consumption, it is advisable to use the requests library. The following link provides a guide to installing flask: https://flask.palletsprojects.com/en/stable/installation/

2 0
0 53
InterSystems Developer Community is a community of 22,215 amazing developers
We're a place where InterSystems IRIS programmers learn and share, stay up-to-date, grow together and have fun!

Import from DC-PT, @Edilson Eberle Carvalho

We have some *.mac routines and we need to preserve their source,
as these routines have intellectual authorship and can only be used per session
with the right to use (they cannot be viewed or edited).
The question: how to keep only the routine object in the IRIS namespace,
without interfering with its execution?

1 2
0 51

Hello,

I'm trying to add another segment to an HL7 MDM message. More specifically OBXgrp(1).OBX. The addition itself works,. When I look at the message in the trace, the segment with the content can be seen. However, it is not displayed as an OBX segment.

Build Map Status = 'ERROR <EnsEDI>ErrMapRequired: Missing required OBXgrp(1) element at segment 6'
'ERROR <EnsEDI>ErrMapSegUnrecog: Unrecognized Segment 6:'' found after segment 5 (TXA)'

0 2
0 51

Hi, Community!

Want to improve accuracy and data integrity in your relational databases? Learn a key strategy in this video:

Setting Up SQL Foreign Key Constraints

https://www.youtube.com/embed/-kDpp6kq7Ns?utm_source=youtube&utm_medium=social&utm_campaign=-kDpp6kq7Ns
[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

3 0
0 53

Hi ,

I have a scheduler task and an associated class that works.

Class Sample.Util.CreateTask Extends (%SYS.Task.Definition, %Persistent)
{

Parameter PROPERTYVALIDATION = 1;

Parameter TaskName = "Sample.Util.CreateTask";

Method OnTask() As %Status
{
// Perform the logic
}

}

Is there a way to Enable or Disable the above task "CreateTask()" from an external function/Method/class ?

0 2
0 50

Hi Community,

Enjoy the new video on InterSystems Developers YouTube:

Case Studies in InterSystems Supply Chain Orchestrator @ Global Summit 2024

https://www.youtube.com/embed/z73G-wqWVV0
[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

0 0
0 52

Is it possible to get the length of queue for a production using Python code?

I'm using embedded Python at the moment.

I'd like to use the Python external language server later - the Python external server will not start in my environment.

If it is possible to query the production queue length programmically, please advise how?

It would also be nice to show the number of messages processed per second, if IRIS keeps track of this.

0 2
0 50
Hello and welcome to the November 2024 Developer Community YouTube Recap.
InterSystems Global Summit
Big Data, AI and ChatGPT in Healthcare
By CT Lin, MD, Professor of Medicine, University of Colorado
By Tobias Zwingmann, Author & Managing Partner, RAPYD.AI
By Medell Briggs-Malonson, Chief of Health Equity, Diversity and Inclusion, UCLA Health
Adapt AI to your Existing Architecture
By Merv Adrian, Founder and Principal, IT Market Strategy 
Succeeding with AI
By Paul Grabscheid, Vice President, InterSystems 
"Code to Care" videos
Prompt before the prompt - Third step of GenAI model training
By Don Woodlock, Head of Global Healthcare Solutions, InterSystems
Keeping your data private and protected with RAG
By Don Woodlock, Head of Global Healthcare Solutions, InterSystems
1 0
0 52

Hey Community,

Recently, @Dean Andrews, Head of Developer Relations, sat down with Instruqt to share how InterSystems is transforming developer engagement:

>> Unlocking Hands-On Learning with Instruqt <<

“Instruqt is useful for interactive tutorials where we are sharing specific use cases of our technology with our customers, partners and developers around the world... It's such a powerful way to show our customers and partners how easy InterSystems technology is to use. - Dean Andrews

https://www.youtube.com/embed/3w5psZdZYjA
[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

1 0
0 51

Hi Community,

Enjoy the new video on InterSystems Developers YouTube:

FHIR Repository and FHIR SQL Builder @ Global Summit 2024

https://www.youtube.com/embed/EEc5Zfo121c
[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

0 0
0 51

how to convert from json into sda container and then to fhir bundle resource. What are the out of the box DTL transformation class for this. Source would be my json that includes a few resources and targer should be a SDA container than will again be source to another transformation for which the target will be FHIR bundle. What I want to know is the target HS. 1for both SDA container and FHIR bundle. Thanks!

0 0
0 51

We have error - ERROR #5821: Cannot instantiate query: 'SQLCODE = -146, %msg = Error: '' is an invalid DISPLAY Date value' not able to see what is causing:

CASE When P.PatReltoGuar->Name = 'SELF' then P.Lnm Else Substring(P.GuarNmIfNotPat, 1,Charindex(',',P.GuarNmIfNotPat)-1) End as DemoGuarLastName,

CASE When P.PatReltoGuar->Name = 'SELF' then P.Fnm Else Substring(P.GuarNmIfNotPat,Charindex(',',P.GuarNmIfNotPat)+1,LEN(P.GuarNmIfNotPat)) End AS DemoGUARFIRSTNAME,

0 1
0 50

Hey Community,

Play the new video on InterSystems Developers YouTube:

Human Centered AI: Shaping a Just and Ethical Future in Health Technology @ Global Summit 2024

https://www.youtube.com/embed/pdHuGXn5iak
[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]

0 0
0 51

We've just started using Health Connect and I've found that a lot of the messages we get from our patient admin system (System C's CareFlow EPR) don't match the standard 2.3.1 schema (eg 2.3.1 ADT A02 message spec doesn't include NK1 segments, but the ones we receive do)

Does anyone have a custom schema they use for messages from CareFlow EPR that they'd be willing to share?

0 0
0 51

I just installed IRIS 2022.1 onto a new VM in the MAG (Azure Government) cloud. The install was successful. Everything looked fine.

When attempting to stop this instance of IRIS, the system hangs at "Withdrawing from License Domain". Eventually, my session is disconnected. The instance then has a status of "sign-on inhibited". To stop this instance, I need to force it.

Any ideas? Thanks in advance.

0 0
0 51

Hello,

When setting up a new web app in iris (iris is in a container) iris complains that a WSGI framework is not installed. I have installed python into the container as well as both flask and django via the python virtual environment (see second screenshot) and the python language server is running

Is this the wrong way to install flask? How do I get the container version to recoginize that flask is installed?

0 2
0 48