Question Dominic Chui · Jan 3, 2023

I have a registered object class that extends %XML.Adaptor and I want to convert an object of it into canonical XML. 

From reading the documentation and some trial and error, it seems like I would need to use %XML.Writer to write the object to XML first using the RootObject() method, then read it with %XML.Reader, and then use the Canonicalize() method of %XML.Writer to write it out again.

Is there a better approach?

2
1 619
Announcement Cristiano Silva · Jan 3, 2023

Hey guys!!!

I finally got some time to organize a set of classes that I've been using for a few years to make it easier and kill the repetitive work of developing intragrations using XDBC.

Access the project repository at https://github.com/cristianojs/interopway

I've already registered on the Open Exchange. I'm wait for approval.

The idea is to increase the project with more components, I already have one that the "dough is rising and is already going to the oven".

Any questions post here.

Big hug.

0
0 209
Article Iryna Mykhailova · Jan 3, 2023 8m read

Because I had no idea how to build an integration solution for HL7 and didn't know where to start, I decided to follow the course Building Basic HL7 Integrations with InterSystems on Learning portal to get at least the idea of where to begin. After I studied all of it, I decided it might be a good idea to share my thoughts and reflections about it with everyone.

1
4 1084
Question Rosti Zacharias · Dec 30, 2022

Hi
Just looking to tighten up a new application

As an example, the application may have a path such as;

     Omniata.au/csp/SomeApp/ListIndex.csp

on a Windows server in the path of ;

     C:\InterSystems\IRIS\CSP\SomeApp

and display images from a path such as;

     C:\InterSystems\IRIS\CSP\SomeApp\images\Pic1.jpg

If a user wishes to browse through the website, they could point their browser at the path ;

     Omniata.au/csp/SomeApp/images

and guesses some file names, they could view the images

If I do something similar on commercial web sites, I get an error that I'm not authorised to view, I get ...

F

3
0 437
Announcement Anastasia Dyubaylo · Dec 29, 2022

Hey Community,

Our huge thanks to everyone for participating in the Advent of Code 2022! We're pleased to present the winners and distribute all the prizes. 

Big applause goes to these developers: 

🥇 @Kevin An (w/ repo)

🥈 @Robert Barbiaux (w/ repo)

🥉 @Yuval Golan (w/ repo)

🏅  @Maksym Shcherban (w/ repo)

Here's the final InterSystems leaderboard:

1
1 543
Question Anderson Negreli · Jan 2, 2023

 Hello, good afternoon! (or good morning or good evening)
 

I was doing some very basic tests, based on the documentation, using Python in Studio.
I decided to call a python method through the Studio's own terminal as a demonstration, but the result was different from the terminal result:
Code:

Class User.EmbeddedPython
{

// Write ##class(User.EmbeddedPython).Test()/// DescriptionClassMethod Test() As%Status [ Language = python ]
{
    # print the members of the Fibonacci series that are less than 10print("Fibonacci series")
    a, b = 0, 1while a < 10:
        print(a,
3
0 342
Question JOEL IVEY · Dec 6, 2022

Yesterday I downloaded and attempted to install the newest version of the Community Edition of IRIS but not the preview, and attempted to update an older version, but each time I tried to install it, I would get an error, and then an antivirus program would indicate that it had identified and blocked a threat (McAfee identified it as GenericRXAA-FA!EAEEF9B8457F with a location of C:\Users\jivey\AppData\Local\Temp\pbt3FDD840C\IRIS_x64.msi).

5
1 798
Announcement Udo Leimberger · Dec 30, 2022

Dear community!

It was an amazing 2022 with all of you. Great questions and articles around the whole year and this brings us the most valuable gifts -- wisdom and knowledge.
I want to thank you all for a great year full of fun and pleasure.

This community rocks.

Thank you Intersystems for being a strong partner to all of us.
I know some of my friends are now retired ( Gerd Nachtsheim *wave*) but I want to thank the whole team of Intersystems to make this year again a successful part of my life. Your products rock and I know I am a part of it next year.
God bless you all.
Happy New Year 

6
0 279
Question Roger Andre · May 24, 2022

Hello, my name is Roger, I work in a big hospital in Brazil, I'm new to the MUMPS area, I was given an assignment to try to stabilize our MSM/MUMPS system, we have licenses for 1200 connections, however, the MSM starts having problems when we reach about 990 connections, the terminal has a timeout, it gets stuck. Looking at the MSM settings parameters I noticed the following default settings, could this be related?

6
0 667
Announcement Adam Coppola · Dec 30, 2022

The InterSystems learning site now has updated offerings for HealthShare customers.

We recently updated courses about Health Insight Data Flow and Dynamic Cohorts. The dynamic cohorts course provides you with a virtual machine with Health Insight installed, which you can use as a learning sandbox.

For the full set of Health Insight offerings, visit the Health Insight Learning Path.

0
0 250
Question Norman W. Freeman · Aug 19, 2021

I have a CSP page that throw a "414 error - Request-URI Too Long" when I put lot of text (eg : 10000 characters) into a field of a submitted form. The form is submitted using POST method.

Based on some experiments I made, it seems the max size of a URL is around 8200 characters.

What is the official limit, and is there a way to increase it ? I searched in the documentation but couldn't find anything.

5
0 4411
Announcement Emily Geary · Dec 27, 2022

While you don't need to take your exam before the end of 2022, the vouchers provided to the UK&I Summit 2022 must be redeemed before January 1, 2023. Please register for an exam before time runs out. 

You can find additional information about the InterSystems Certification Program here.

0
0 241
Question Anderson Negreli · Dec 26, 2022

Hello,
I tested the query on the Config.ConfigFile table of the Namespace %SYS, it returned 3 lines and a fatal error:

SELECT
*
FROM Config.ConfigFile



I tested the same query on other IRIS instances (including a 2021.1 instance) and got the same error.
Is it a bug in IRIS or is there something wrong with the installations?
Anyone who can test and leave in the answers if they got the same result, I would be grateful.
Thank you for your attention.

6
0 341
Article Evgeny Shvarov · Dec 24, 2022 3m read

Hi InterSystems Developers!

Recently I've updated the FHIR dev template so that it now publishes an IPM package fhir-server that makes the setup of InterSystems FHIR server a trivial manual or automatic or programmatic procedure one command long.

Please see below how you can benefit from it.

TLDR

USER>zpm "install fhir-server"

All the details below.

1
1 896
Question Andreas Schneider · Dec 25, 2022

Hi! 've installed a fresh IRIS on Windows 10: "InterSystems IRIS Version 2022.2.0.368 xDBC Protocol Version 65"

I've tried to create an older demo database that I've build some days ago... it didn't work anymore :-(

If I execute this SQL:

LOADDATAFROMFILE'D:\dev\openflights_dataset\data\countries.csv'INTOdc_data_flights.countries(id,code,name,continent,wikipedia_link,keywords)VALUES(id,code,name,continent,wikipedia_link,keywords)USING{"from":{"file":{"header":true,"columnseparator":","}}}

It is

1
1 538
Article Rizmaan Marikar · Jul 27, 2022 6m read

What is Web Scraping:

In simple terms, Web scrapingweb harvesting, or web data extraction is an automated process of collecting large data(unstructured) from websites. The user can extract all the data on particular sites or the specific data as per the requirement. The data collected can be stored in a structured format for further analysis.

What is Web Scraping? — James Le
Steps involved in web scraping:

  1. Find the URL of the webpage that you want to scrape
  2. Select the particular elements by inspecting
  3. Write the code to get the content of the selected elements
  4. Store the data in the required format

It’s that simple !!

The

12
9 1874
Question Scott Roth · Dec 16, 2022

Was wondering if anyone had a simple way of calling  ##class(Ens.Director).EnableConfigItem() within a Business Process or adding code to a Custom Service to start or stop the object?

The use case is that I have a Process that uploads a file into a external SQL table. When it is finished I want it to kick off another Service that does the processing of the data that it just uploaded. Once it is finished the response is sent back to the service and when the service receives the response from the process, I want to stop that service from running.

so...

  1. Service  A sends file to Process A to
8
0 441
Question Eduard Lebedyuk · Nov 30, 2022

I initialize a HS.SDA3.Container from a XML stream and I need to iterate over it twice. What is a correct way of doing it? Is it enough to adjust StreamPos/StreamOref?

The optimal solution would be to use one loop, but it's not possible to combine the processing logic.

set oSDA = ##class(HS.SDA3.Container).%New()
do oSDA.InitializeXMLParse(.tQuickStream)

while oSDA.GetNextSDA(.tType, .tPatient) {
        // processing logic A
}

set oSDA.StreamPos = 1do oSDA.StreamOref.Rewind()

while oSDA.GetNextSDA(.tType, .tPatient) {
        // processing logic B
}
4
1 553
Question prashanth ponugoti · Dec 22, 2022

Hi Friends ,

I have created inbound DB adapter business service. Now my requirement to trigger this service at 10am daily.

I used scheduler , but I don't know when should i configure for stop. this not suits for my requirement.

Is there any other way , where I need to trigger service only once , in configured times.

Thanks,

Prashanth

3
0 374