Article Neerav Verma · Sep 27, 2019 2m read

At least three different ways to process errors (status codes, exceptions, SQLCODE etc is given in ObjectScript. Most systems have status, but for a range of reasons exceptions are more convenient to manage. You spend some time translating between the various techniques dealing with legacy code. For reference, I use several of these excerpts. It is hoped that they will also support others.

///Status from SQLCODE:set st = $$$ERROR($$$SQLError, SQLCODE, $g(%msg))  //embedded SQLset st = $$$ERROR($$$SQLError, rs.%SQLCODE, $g(rs.%Message)) //dynamic SQL///Exception from SQLCODE:throw ##clas
2
5 2631
Question Scott Roth · Nov 13, 2018

We are trying to script a High Availability Shutdown/Start script in case we need to fail over to one of our other servers we can be back up within mins. Is there a way to configure the startup procedure to Automatically Stop/Start the JDBC server when shutting down or starting up cache? is there an auto setting we can change?

Thanks

Scott Roth

The Ohio State University Wexner Medical Center

10
0 855
Question Abhishek Raj · Feb 24, 2023
22:07:52.821:Ens.Director: ERROR <Ens>ErrException: <CLASS DOES NOT EXIST>zgetProductionItems+45^Ens.Director.1 *EnsLib.HL7.Adapter.TCPOutboundAdapter -- logged as '-' number - @' Set tRunAsJob=pDefinition(tConfigName,"RunAsJob"), pDefinition(tConfigName,"RunAsJob")=$S('
22:07:52.823:Ens.Director: ERROR <Ens>ErrException: <CLASS DOES NOT EXIST>zgetProductionItems+45^Ens.Director.1 *EnsLib.HL7.Adapter.TCPOutboundAdapter -- logged as '-' number - @' Set tRunAsJob=pDefinition(tConfigName,"RunAsJob"), pDefinition(tConfigName,"RunAsJob")=$S('
22:07:52.824:Ens.Director: ERROR <Ens>ErrException:
3
0 254
Article Julian Matthews · Jul 21, 2021 4m read

Over the years, I have found myself needing to create multiple HL7 messages based on a single inbound message. Usually these take the form of an order or result from a lab. Each time I have approached it, I have tried to start from scratch under the belief that the previous attempt could have been done better.

Recently, the need arose again and I was able to create a solution that I wasn't ashamed of. My main concern was that I would always either find myself getting buried in a BPL, or use ObjectScript and attempt to edit messages using the SetValueAt Method for the HL7 Message Class.

Problem

Wh

1
2 1466
Question Stefan Cronje · Feb 23, 2023

Hi all,

I might be losing my mind or do not understand how ObjectScript does string comparisons, but the following does not look right to me.

Is it really possible that you can't compare non-numerical strings other than with an equals or not equals?

USER>w ("45" < "46")
1
USER>w ("45" > "46")
0
USER>w ("V45" < "V46")
0
USER>w ("V45" > "V46")
0
USER>w ("V45" <= "V46")
1
USER>w ("V45" >= "V46")
1

In Python:

>>> print("45" < "46")
True
>>> print("45" > "46")
False
>>> print("V45" < "V46")
True
>>> print("V45" > "V46")
False
>>> print("V45" <= "V46")
True
>>> print("V45" >= "V46")
4
0 376
Question Michael Lundberg · Feb 24, 2023

Hello!

We have an integration that reads a file from labresults and needs to be transformed into another file format.

The transformation and incoming file correlate against a schema. In that schema there is a type declared as %xsd.double.
As these values ​​are labresults, we are not allowed to change the expression of the value in any way. For example, 1.0 must not become 1. And 2 must not be written as 2.0. As well as 0.3 must not be written as .3 and so on.
I am not allowed to change the type in the schema to %String. I am not allowed to change anything in the schema at all.

I've tried and

0
0 205
Question Dean Rochester · Feb 23, 2023

Newbie here...

I am looking to use fhir to gather patients in our end point that have a certain diagnosis and or certain insurance.

Is this what fhir can be used for?

In the past I have done the normal SQL query/extract to CSV file.  Looking to use fhir for this for future.

Thanks in advance for your time

Dean-O

1
1 519
Question Ponnumani Gurusamy · Feb 2, 2019

Hi Team,

               Our community is most useful for my learning. I have one concern.We need to add a chat box for discuss and interact with other developer in our community . It is most useful for maintaining the team relationship and sometime we get guidance from anyone on directly. I known already we have the chat box in global master(that chatbox just we send greetingsrelated messages only). This same one is need for our community also(All are reading articals and question on our community page).So I am asking chat box on our community page also.

Thanks & Regards,

Ponnumani Gurusamy. 

2
0 426
Job Stefan Cronje · Feb 23, 2023

Job description

We are looking for a software development intern. We are a small company, and this creates the opportunity for you to help grow the business, and your career with it.

Responsibilities

Learn new things.
Try new things.
Do coursework.
Resolve defects and assist in adding new features.
Contribute towards our open-source repositories and start new ones.
Create and enhance Visual Studio Code extensions.
Be actively involved on developer communities to learn and contribute.
Challenge the status quo.

What we are looking for in you as a Person

Problem solver.
Perseverance.
Willingness to

0
0 343
Job Mike Yackanich · Feb 22, 2023

The eHealth Exchange is seeking candidates for a Senior Interoperability Engineer position.

As a senior interoperability Subject Matter Expert (SME), the role involves translating and explaining complex technical information for prominent organizations across the healthcare spectrum including providers, payers, Health IT vendors and service providers, health information exchange organizations (HIEs), and federal agencies, focusing on how eHealth Exchange solutions solve specific challenges.

0
0 317
Article Heloisa Paiva · Feb 22, 2023 4m read

Why I've decided to write this

Once again I had a challenge that costed me some time and a lot of testing to reach the best solution. And now that I've managed to solve it, I'd like to share a little bit of my knowledge.
 

What happened?

In a namespace there were a lot of similar classes, so to make them simpler there were a superclass with comon properties. Also, there are relationships between them. I had to export one of them to JSON, but I couldn't change the superclasses, or I would break down the flow of many other integrations.

What made it all difficult was the problem that my JSON

0
2 486
InterSystems Official Fabiano Sanches · Feb 22, 2023

 InterSystems announces its second developer preview, as part of the developer preview program for the 2023.1 release. Many updates and enhancements have been added in 2023.1 and there are also brand-new capabilities, such as production-ready support for Columnar Storage, ability to use Bulk FHIR, and support to MacOS 13 Ventura. Some of these features or improvements may not be available in this current developer preview.

Future preview releases are expected to be updated biweekly and we will add features as they are ready. Please share your feedback through the Developer Community so we can

0
0 223
Discussion Dmitry Maslennikov · Feb 20, 2023

Such most popular nowadays CI platforms as GitHub and Gitlab, offers the ability to run any docker image as a service, mostly useful for integration tests.

And I could define a GitHub workflow like this for instance, for some of my Python project which, requires the connection to IRIS

name:IRIScontainerexampleon:pushjobs:# Label of the container job  container-job:# Containers must run in Linux based operating systems    runs-on:ubuntu-latest# Docker Hub image that `container-job` executes in    container:python:310# Service containers to run with
1
0 340
Question Nezla · Feb 21, 2023

Hi Guys,

How to create a user that can have access to only one specific Zen page of an application?

Thanks

3
0 232
Question Dmitry Maslennikov · Feb 22, 2023

Any ideas on how this can be solved?

I need to use it with some Unicode text, in Docker image. And get this error. And documentation says nothing about it.

USER>do$zf(-100, "/SHELL", "echo", "test")
test

USER>do$zf(-100, "/SHELL", "echo", "test тест")

DO$ZF(-100, "/SHELL", "echo", "test тест")
^
<TRANSLATE>

I know that it works in some Linux environments without Docker, but no idea where is the difference. 

2
0 233
Job Gary Brown · Feb 21, 2023

We have a remote opportunity for a Interface Engineer. 

If you have a strong background working with InterSystems 2021.2 Let's connect.

Netsmart is one of the nation's leading EMR developers for the Post-Acute / Human Services / Senior Living Care Market.

If you would have an interest in learning more then please reach out to Gary Brown at gbrown@ntst.com 

0
0 296
Question Touggourt · Feb 20, 2023

Hi Guys,

I'm looking for an easy to allow certain user to only have access to one CSP or Zen page from my application, my thoughts is to create a role to only access that specific page then allocate that role to my user, but can find the Zen page so I can allocate it to a role? 

Thanks

1
0 295
Question Madhumohan PEDDANNAGARI · Feb 20, 2023

Hi, I am facing below error while sending the data from one namespace to another namespace.

ERROR <Ens>ErrFailureTimeout: FailureTimeout of 15 seconds exceeded in EnsLib.TCP.PassthroughOperation; status from last attempt was ERROR <Ens>ErrOutConnectionLost: Lost TCP Counted Read connection to xx.xxxx.xxs- detected via ERROR <Ens>ErrException: <READ>zReadCountedStream+10 ^EnsLib.TCP.CountedCommon.1|Block Count -- logged as '-'
number - @'
Else { Read tLenStr#4:pStartTimeout Set tTimedOut = '$Test }'

Sender  Version is Ensemble 2017.1

Receiver version: HealthConnect:3.5.0

Can some one please help me

3
0 468
Article Luis Angel Pérez Ramos · Feb 20, 2023 4m read

Dear community members!

A very common problem of our users is to use an external database as data source in an IRIS production. As many of you already know, we have two ways to connect directly to an external database, the first one is using an ODBC connection, the second is using JDBC.

In our example we are going to create a connection using JDBC, and we are going to build a simple Docker's project, in this way you will be able to modify the example as you wish.

The code is available from this URL: https://github.com/intersystems-ib/workshop-sql-jgw

In our docker-compose.yml file we are going to

0
0 553