Question Rick Prichett · Apr 11, 2021

In this case I am trying to just send a simple error to the log in the event the try is not successful.  Have tried a few ideas I have found on the forum but none have worked as of yet.  

 

   try {
          // Write facility Details to cloned message
      set newPV139 = (FacilityNPI1 _"^" _FacilityName _"^" _ServFacility _"^" _FacilityTIN _"^" _FacilityAddressLine1 _"^" _FacilityCity _"^" _FacilityState _"^" _FacilityZip _"^" _CountyName _"^" _FacilityPhone)
      set newPV139insert = newrequest.SetValueAt(newPV139, "PV1:39(1)")
            } 
                 catch exception {

            }

1
0 211
Announcement Evgenia Kurbanova · Apr 8, 2021

Hi Developers, 

It's time to announce the Winners for March 2021! Please welcome our awesome Global Masters Heroes!

The storm of applause goes to these developers and their great contribution to DC in March 2021:

🥇 @Robert Cemperex Senior Sales Engineer from InterSystems, Austria

🥈@Dmitriy MaslennikovCo-founder, CTO and Developer Advocate, CaretDev Corp, Russia

🥉@Henrique Dias Dias, System Management Specialist / Database Administrator, Sao Paulo Federal Court, Brazil

 

   

Learn more about the competition and our awesome winners below.

4
0 266
Question MARK PONGONIS · Apr 7, 2021

anyone know of a simple way to search a blob of text from a list of keywords in one fell swoop, without having to iterate through each keyword and perform an individual search? Ex. 

s keywords="This,blob,text"

s text = "This is a sample blob of text"

i text[keywords w "hit"

2
0 323
Question Utsavi Gajjar · Apr 9, 2021

Hello,

I am trying to figure out if we can extend a business process in IRIS. My Use Case is that I am developing RESTful Interfaces and my each REST Interface needs to go through certain processes before getting to the actual action.  

e.g. I have 2 REST Interfaces, GetPatient and GetEncounter. Both of these need to invoke "GetToken" Business Operation to go to the Authentication server to get an authentication token before they go ahead and hit the Business Operation to Get the data i.e. Patient or Encounter.

1
1 313
Article Robert Cemper · Apr 9, 2021 1m read

I'm looking for a way to have an IRIS db distributed over several (hw) drives.  
Without touching the internal data structures (e.g. mapping) !  
Are there any options in file systems to achieve this "splitting" or "appending" ? 

Historic background:

  • Once upon a time CPUs worked on 32 bit
  • Files could mostly not be larger than 2 GB
  • And Caché had a (forgotten) option to EXTEND a db to a next file of another 2 GB max. and a next ...

This EXTENT was excellently suited to move fresh and active data
to a faster spindle for more performance.

 

[ oh

1
0 250
Question Michoel Reach · Apr 8, 2021

We have a Unicode installation of Cache'. A client wants to send us documents that will be machine-read and loaded, automatically. They want to create the documents in ISO-8859-1 ("Latin-1"). We'd need to convert the text to UTF8 for our system. I saw the documentation on the $ZCONVERT function, but I didn't see this option. How should it be done?

Thanks!

10
0 1469
Question Yone Moreno · Mar 5, 2021

FIrst of all thank you for your time in reading this question and writing a response,

We would need some help,

-> Our objective is to control which method is being used in the service: GET POST PUT

We have tried to understand the example REST Service: Demo.REST.DirectoryService

 

After that we have tried to create our own custom rest service,

please take a few minutes to examine the following code:

 


Code

12
0 486
Article Yuri Marx · Nov 25, 2020 1m read

Hi Community,

I use an excellent service to collect time programming. Is the WakaTime: https://wakatime.com/.

This service integrate with main IDE tools, including VSCode and collect time spent by project, language, IDE and code stats at general. See my last 7 days:

These information help me to organize and balance my targets by project.

To use Waka signup the service: https://wakatime.com/signup and into your VSCode, into extensions search waka, see:

Restart your VSCode and now input your api key, you can get your api key into https://wakatime.com/settings/account.

3
2 481
Question Andy Coutinho · Apr 1, 2021

Hello, in a zen page sometimes I find document.getElementbyId("ID") to set a propertybut also zen("ID").setPr.... So what is the real difference and limitations of each?

4
0 431
Announcement Jamie Kantor · Apr 7, 2021

Hello, Community!

Did you know that InterSystems Learning Services has a comprehensive exam for Technical Specialists on HealthShare Unified Care Record? It really is the gold standard to show that you have the skills and abilities required of competent technical specialists in Unified Care Record. Depending where you are in your career, it can be a valuable door opener or escalator to new opportunities. 

Interested? 

1. Here's what's on the exam

2. Here's the publishable credential, valid for 5 years, that you get when you pass the exam.

3.

0
0 177
Article Sergey Lukyanchikov · Apr 7, 2021 9m read

What is Distributed Artificial Intelligence (DAI)?

Attempts to find a “bullet-proof” definition have not produced result: it seems like the term is slightly “ahead of time”. Still, we can analyze semantically the term itself – deriving that distributed artificial intelligence is the same AI (see our effort to suggest an “applied” definition) though partitioned across several computers that are not clustered together (neither data-wise, nor via applications, not by providing access to particular computers in principle). I.e., ideally, distributed artificial intelligence should be arranged in such a way that none of the computers participating in that “distribution” have direct access to data nor applications of another computer: the only alternative becomes transmission of data samples and executable scripts via “transparent” messaging. Any deviations from that ideal should lead to an advent of “partially distributed artificial intelligence” – an example being distributed data with a central application server. Or its inverse. One way or the other, we obtain as a result a set of “federated” models (i.e., either models trained each on their own data sources, or each trained by their own algorithms, or “both at once”).

0
1 743
Article Yuri Marx · Nov 14, 2020 8m read

The InterSystems IRIS can be extended using Java or .NET components and its frameworks inside Object Script source code.

I created an application called OCR Service It built with Docker and installs Google Tesseract inside docker instance configured with english and portuguese dialects, but is possible install more than other 100 dialects. Google Tesseract can receive images and return text extracted from it, using OCR. The results are very good with the trained dialects. But you can train Tesseract to read car plates and any other textual patterns and load it to extract text.

8
2 1532
Question Maik Gode · Apr 7, 2021

Hey community,

I want to create my own table resizer. I know that there are some plugins that are doing exactly this but I would like to create my own one. :)

 

I have created a function, which is called in the onloadHandler and which append a div to each th-element of a given table. The method looks like this:

function initializeTableFeatures(){

    jQuery.each($("#table > table > thead > tr > th"), function() {
         if(this.id !== ""){
              var div createDiv($(this).outerHeight());
              $(this).append($(div));
              $(this).

1
0 282
Article Tani Frankel · Apr 7, 2021 1m read

In Studio you could open a class directly via it's name, without having to traverse the package tree with multiple clicks until arriving at the desired class.

You would Ctrl + O or (File -> Open) and be able to simply type in the class name, for example:

You press Enter, and viola - the class is opened.

How do you achieve this in VSCode?

1
0 831
Question Mary George · Apr 1, 2021

Does anyone know how to disable the auto-refresh in Healthshare, especially for Message viewer , Business process designer, DTL editor pages?  

These pages in management portal refresh every 15min( i.e. as per the session time out setting) . I tried to  set the following two configs to disable the auto refresh but both had no impact. 

set ^EnsPortal("DisableInactivityTimeout","Portal") = 1
set ^%SYS("Portal","EnableAutoRefresh") = 1

 

Thank you for your help. 

Mary

8
0 954
Question Carl Emberger · Apr 5, 2021

My dilemma is that I'm working with a file that has three different data records plus the header and trailer.  The record type is in positions 21-23.  The header and trailer have spaces in positions 1-20.  The data records have a variable data in positions 1-20.

I tried to use pattern matching in the leading data field however that field is treated as a literal string for matching.

2
0 321
Announcement Anastasia Dyubaylo · Mar 19, 2021

Hi Community,

We're pleased to invite you to join the upcoming webinar "Connect Data and Application Silos to Accelerate Business Insights At Scale" on April 8 at 10:00 AM EDT!

The explosion of business systems and processes and their resulting data silos has made an overarching view of enterprise information more challenging than ever. Join two data management industry veterans as they discuss the latest progress in data management technology, working with transactional AND analytic data, and how the financial services industry is addressing challenges to speed insight and innovation.

1
0 243
Announcement Tracey Horton · Apr 6, 2021

Dear All CCR Users

Please note that All Perforce Systems will be unavailable from 6:00 p.m. EST on Friday, April 9th, 2021 to 3:00 p.m. EST on Sunday, April 11th, 2021.
During this time users will be impacted when trying to perform Perforce Activities when using the CCR Application.

CCR actions you can do while the InterSystems Perforce Server is unavailable:

  • Create a new CCR and markPrepComplete
  • Open the BASE Environment and Checkout changes
  • Bundle and Upload (You will receive a message similar to the following: Attempting to upload ItemSet to CCR Server for ISCX17999.
1
0 233
Article Yuri Marx · Jul 18, 2020 1m read

Now Sapphire enable you load CSV to IRIS. See the steps:

1) Create a sample CSV file using Excel (save file as CSV):

2) Follow these instructions to install Sapphire into your enviroment: https://openexchange.intersystems.com/package/SAPPHIRE

3) Access Sapphire web page. Go to top menu Import > Load CSV

4) Configure access to your IRIS target instance, select new table, set your new table name, click Choose button and load your csv file and click upload. Click Get Definitions.

1
2 625
Article Zhong Li · Jul 18, 2020 7m read

Keyword: Pandas DataFrame, IRIS, Python, JDBC

Purpose

Pandas DataFrame is popular tool for EDA (Exploratory Data Analysis). In ML tasks, the first thing we usually perform is to understand the data a bit more. Last week I was trying this Covid19 dataset in Kaggle Basically the data is a spreadsheet of 1925 encounter rows with 231 columns, and the task is simply to predict whether a patient (linked to  1 or more encounter records) would be admitted to ICU. So it's a normal classification task, and we would as usual use padas.DataFrame to take a quick look first.

3
1 1141