Question Yunus Mayat · Aug 19, 2021

Hi - Looking at encoding a .rtf file to Base64 - I've seen the Base64Encode Method and I can pass text but how would you pass a file?  Or is there another method that can do this?

The end goal is to place the encoded output in a MDM^T02 (in OBX Segment) HL7 Message.

Appreciate any pointers - Thank You

2
0 554
Discussion Sean Connelly · Aug 17, 2021

Open up a random ObjectScript project (I think you need to be logged in first for this to work).

For example, the ZPM project

Then press "." (press full stop).

This will open the git repo inside an online instance of VS code.

Perhaps not that exciting for some, but I was impressed. Mainly because it's a good demo of editing ObjectScript in the cloud. As much as I like VS code locally, I still can't use it on many sites, and maybe not popular, but I still think IRIS + its own web IDE would be a killer combination. 

Looks like extensions in the marketplace are limited to core / common extensions at

16
0 414
Article Eduard Lebedyuk · Apr 21, 2021 1m read

It's possible to enable Ctrl+C / Ctrl+V in IRIS Terminal for Windows.

To do that, open Terminal and select Edit > User Settings and enable Windows edit accelerators. This settingspecifies whether the Terminal enables the common Windows edit shortcuts (Ctrl+C, Ctrl+V, Ctrl+Shift+V), in addition to the basic Terminal edit shortcuts (Ctrl+Insert and Shift+Insert).

After that Ctrl+C / Ctrl+V would work.

Also <SYNTAX> errors after incorrect copy/paste go away.

Docs.

7
1 513
Question david clifte · Nov 9, 2016

I'm trying to debug a CSP page but I'm not able to set up a breakpoint into <script> tag.

Is it possible to setup on CSP files? Am I forgeting something?

PS:

this is the tag

<script language="Cache" method="OnPreHTTP" arguments="" returntype="%Boolean">

5
1 2130
Question Flávio Lúcio Naves Júnior · Aug 18, 2021

Good morning everybody,

In Html sometimes we need to use entities code for don't have problems with browsers all over the world. Ex. 'á' is converted to code: '&aacute;' / 'é'  is converted to '&eacute;'

I have a question, how can i convert a string like my name to this type of code? Ex. "Flávio" will be "Fl&aacute;vio". I tried this way:

USER>write $zconvert("Flávio","I","HTML")
Flávio

but don't worked :(
 

Best Regards.

10
0 1185
Question Aaron Vail · Aug 19, 2021

I'm wanting to write a query in SQL that will return a row with a count for each day for a given month or year for a specific operation or configname.  The following is a start but I'm not finding what I want in the documentation to parse out the TimeLogged field of the table.  Nay help is appreciated.

SELECT count(TimeLogged), ConfigName
FROM Ens_Util.Log
where TimeLogged like '2021-07%'
and ConfigName = 'operation_Name'
group by TimeLogged

2
0 257
Question Augusto Estefan · Aug 18, 2021

Hello,

We need to upgrade our cache instance from 2016.2 to the latest version.

I find the documentation about the "Upgrade Path" but I cant  find where I can get the files to upgrade in the documentation.

Also I cant find how to make this upgrade, they talk about strategies but dont talk how to perform the task to upgrade.

Is there any documentation of how to make and upgrade and where I can get the files?

We have the instance installed on RedHat unix. 

Thanks!! 

4
0 294
Announcement Laurel James (GJS) · Aug 19, 2021

Hi developers, 

We have just published an update to the Deltanji version control extension for Visual Studio Code.

When used in certain Deltanji workflows, triggering an automatic checkout on first keystroke could result in the developer working on an outdated copy of the code and only being notified of this later when saving their changes. In order to prevent this from happening checkout now reloads the document immediately. 

Error messaging has been improved in two areas - when attempting to cancel code that is not checked out, and when trying to register new code onto a withdraw system. 

We have also improved interoperability between the Deltanji extension and the InterSystems ObjectScript one, as well as its handling of multi-component objects.

If you're already a user of Deltanji then your extension with automatically update. You can find out more information on Deltanji and the latest release here

0
0 211
Question ED Coder · Aug 15, 2019

Hi, Is there a way to connect to a MYSQL ODBC? I tried using the SQL Connect class but getting an error.

Set conn=##class(%SQLGatewayConnection).%New()
Set sc=conn.Connect("databasename","username","password")

&sql(insert into ORDERS (column1, column2, column3, column4, column5) values(:value1,:value2,:value3,:value4,:value5))
sc=res.Close()
Set sc=conn.Disconnect()

But I am getting an error :

Please can you advice how I can do this?

6
0 1527
Question Eduard Lebedyuk · Aug 17, 2021

Alerts are automatic notifications triggered by specified events or thresholds being exceeded.

InterSystems Documentation

I have a Business Service connected to a machine with ~100 sensors. BS receives sensor values once a second.

Several conditions determine if a Business Service should raise an alert (it's a list of: sensor id > threshold).

I have three questions:

  1.  Should I write these conditions as a business rule and call this rule from the Business Service, and if the rule returns 1 call SendAlert? Or is there some other way to do that?
  2. Business Rule returns a reason for the rule
2
0 310
Announcement Guillaume Rongier · Oct 2, 2020

Introduction

This is a csvgen UI frontend in Angular 8. The aim of this project is to easily import csv file to Iris from a web ui.

Demo

Demo

Install with ZPM

It will automatically install the dependency of csvgen and sslclient

zpm "install csvgen-ui"

This will create two new endpoints :

  • One for the Rest API for uploading files

  • /api/{namespace}/csvgen/

  • One for the UI

  • /csp/{namespace}/csvgen/index.html

Stand alone demo on docker

Run the server

docker-compose up -d

UI

The UI is per-namespcae, this mean it will be available only for the namespace where csvgen-ui is install. For example :

http://localho
2
0 475
Question William Casey · Aug 16, 2021

I have a handful of EnsLib.HL7.MessageRouter sending an HL7 message to a single Business Process (Ens.BusinessProcess).

In the OnRequest method, I am declaring pRequest as EnsLib.HL7.Message

What I need to do is determine which HL7 Router sent any given request to my BusinessProcess. 

To do this, I know that I need to fetch the SourceConfigName property from the Ens.MessageHeader of the Request, but I am not sure how (or if) I can fetch this data from within the OnRequest Method.

Does anyone have any pointers?

Bill Casey

2
0 501
Question Arnold Cota · Aug 9, 2021

Hi!

I am looking for examples of implementations of a more robust forgot username and forgot password implementation.  Does anyone have one to share, even just a link to the page so I can see how it works, or screenshots?  We would like to implement a secure system for requesting username and resetting password.

2
0 478
Question Mark O'Reilly · Aug 4, 2021

I'm following the video https://www.youtube.com/watch?v=kwWioDry9YQ

When i try an match a simple message with custom segments using HL7 analyser i get 

No idea what I'm doing wrong 

All info below, just a standard ADT^A17 produced

Message as below 

MSH|^~\@|ADM+|GC||EPI|201508131424|CHPFSWAP|ADT^A17|201508131424440062|T|2.2||||||||
ZSH|ADT
EVN|A17|201508131424|||NREALM|
PID|1|5080261|70034375|124000959^5^M10^VXJ^PN~70034375^^^VXJ^MR|TESTERSIX^MARINDA^^^^^L^||19871217|F||B|^^^NY^11590|||||||01240009500||||||||||||
NK1|0001|TESTER^BILL^^^^^L||^^^NY^11590|||EMCON
PV1|1|O|||||^POTTERS

2
0 308
Question Dustin Knudsen · Aug 5, 2021

In the Data Transformation Builder, I have a source record with several values that is connected to a target record with several properties. In the Tools tab, clicking on Test, I have an xml format set up to test the data transformation but I'm getting this error:

ERROR <Ens>ErrNoObjFromString: Failed to find element Record / class BI.process.prodTest.Record in String

Do you know what might be causing this error to happen?

1
0 156
Announcement Evgeny Shvarov · Aug 15, 2021

Hi Community and InterSystems Partners!

We are glad to share great news for Intersystems Partner Directory Members:
here is a list of services you can use to become more visible within our InterSystems Community.

As a partner, you may order one of the services every six months free of charge:

$1,000 Google AdWords Campaign Voucher
We will set up and launch the campaign for you

Promotion within the Developer Ecosystem
We put a banner on the website with 50K+ monthly InterSystems related audience

Webinar supported by InterSystems
We will take care of all the organizational efforts.

0
0 275
Question Muhammad Waseem · Aug 7, 2021

Hi,

While starting newly created production I am getting below error:

17:14:05.498:Ens.Director: ERROR <Ens>ErrProductionSuspendedMismatch: Production 'Training.NewProduction' was suspended, a new production of a different name can not be started.

Please note that I  can start and stop 'Training.NewProduction'  successfully but still the status of the Training.NewProduction'  is suspended.

Thanks

4
0 481
Article Sergey Mikhailenko · Aug 14, 2021 2m read

Continuing the description of work on the use of the openhl python module in productive mode.

Since the version of iris with Embedded Python, does not yet have a final release, it is already necessary to use it in production now. We decided to back up the service for exporting requests to a xlsx file on a separate server, and save the query result in a global in a separate database.

This database was made networked, local for the service server and remote for the product server. The communication between the prod server and the service was implemented using a rest service.

So: on the server in

0
1 398
Question Sehinde Raji · Aug 13, 2021

Hi All I am a beginner and I am learning Objectscript and I would appreciate a steer regarding a problem I am solving.

The issue I have spent some time on resolving without success is that I have the stream listed below and as you can see it has some gaps in it.

Stream



das
is
wp

dsa
nmk

Here is the import method

IF ##class(%File).Exists(dir) '=1 {
    write !, "Unable to Open: "_dir
    QUIT
} ELSE {
    write "File: "_dir_" is open"
}
// instantiate a new class called file
set file = ##class(%Stream.FileCharacter).%New()
// create a new variable called sc
set sc =
6
0 630
Article Sebastian Musielak · Nov 7, 2016 6m read

How To Display Custom SDA Extensions in the Clinical Viewer

____________________________________________________________________________

Written by Sebastian Musielak, InterSystems Support, November, 2016

           

     A new feature introduced in HealthShare Version 15 is the ability to create custom SDA extensions to store custom data in SDA.  In some cases, it might be nice to display that new data in the Clinical Viewer.  This is a step-by-step guide for how to do that. 

To begin, we will make a few assumptions:

     A – This guide was created running HealthShare version:

Cache for

11
3 2574