検索

質問
· 2025年3月4日

Debugging embedded python library

I have an Embedded Python method, which is essentially a call to one third-party module.

Most of the time, the method takes <0.1 seconds to execute, but sometimes it takes 30 or 60 seconds.

The server is relatively idle (20-30% CPU load).

How can I debug this issue further? Ideally, I want to know where this library spends the time. The library is mainly Python code (it's boto3, so it's not a Python C API proxy library).

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

Using Lists and ListFind within BPL

I already mentioned in a Previous post I am trying to build a list from a repeatable field within a HL7 message. I figured out how to build the list by using a context list string variable within the Business Process (BPL) and doing a

do context.<variable>.Insert = <value>

 when I am looping through the field. I want to do it one step farther though... I want to search the list to see if the value exists before I do the insert. I only want to insert if the value is different than what is in the list already.

IF $LF(context.Facilities,##class(Ens.Rule.FunctionSet).SubString(context.EpicDepartmentID,1,4)) = 0
{
do context.Facilities.Insert = ##class(Ens.Rule.FunctionSet).SubString(context.EpicDepartmentID,1,4)
}

I tried using $LF or $LISTFIND, but I keep getting the same error...

ERROR <Ens>ErrBPTerminated: Terminating BP EpicMFNToCPD # due to error: ERROR <Ens>ErrException: <LIST>S36+3 ^osuwmc.Epic.MFN.EpicMFNToCPD.Thread1.1 -- logged as '-'
number - @'
IF $LF(context.Facilities,##class(Ens.Rule.FunctionSet).SubString(context.EpicDepartmentID,1,4)) = 0'
> ERROR <Ens>ErrException: <LIST>S36+3 ^osuwmc.Epic.MFN.EpicMFNToCPD.Thread1.1 -- logged as '-'
number - @'
IF $LF(context.Facilities,##class(Ens.Rule.FunctionSet).SubString(context.EpicDepartmentID,1,4)) = 0'

Any guidance would be appreciated.

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

Using Lists - LB and LI

I have a repeatable field within HL7 that I want to create a List from. Do I have to initialize the List by using $LB, or can I just use $LI to keep adding on to the end of the list as it is looping through the field?

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

NodeJS Iris Package - Work on node Windows?

Hello, Does the NodeJs package work when running a node js file on windows (nodejs for windows)? I've added the package by running npm install <package location folder>

 

I have the following index.js file, but when running from node (windows) I get the following error. Does the NodeJs package build the output files when the package is added or does it just assume linux as the underlying os?

Error: Cannot find module './bin/winx64/irisnative.node'

 const IRISNative = require('intersystems-iris-native')

  let connectionInfo = {
    host: 'myserver',
    port: 1972,
    ns: 'USER',
    user: 'user',
    pwd: 'password',
    sharedmemory: true,
    timeout: 5,
    logfile: '.\\mylogfile.log'
  };

  const conn = IRISNative.createConnection(connectionInfo);
5 Comments
ディスカッション (5)4
続けるにはログインするか新規登録を行ってください
InterSystems公式
· 2025年3月4日

Deprecation of MultiValue in InterSystems IRIS 2025.1

As of InterSystems IRIS® data platform version 2025.1, InterSystems is officially deprecating MultiValue and including it in the Deprecated and Discontinued Features list. While InterSystems will continue to support existing customers using MultiValue, it is not recommended for new applications.

What This Means for You:

  • Continued Support: Support for MultiValue will still be available through the Worldwide Response Center (WRC) on a "best effort" basis, as is provided for releases older than our Minimum Supported Versions.
  • Future Removal Possibility: While there are no immediate plans to remove MultiValue from our products, InterSystems reserves the right to do so in a future release.
  • Customer Guidance: If you have questions about your current or planned use of MultiValue, we encourage you to reach out to your InterSystems account team for guidance.

The deprecated designation signals that customers should plan to eliminate their use of MultiValue. We recognize that this may impact ongoing projects, and we appreciate your cooperation as we continue evolving our platform.

For further information or concerns, please feel free to comment below or contact your InterSystems representative.

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