I know that collection is instance of %AbstractList.
But what about $listbuild? Does it possible to detect that given variable is instance of $lb?
I know that collection is instance of %AbstractList.
But what about $listbuild? Does it possible to detect that given variable is instance of $lb?
I am glad to say that VSCode-ObjectScript reached 4000 installs. Thanks to all of you who use it in their work.
VSCode-ObjectScript is an extension for VSCode which allows you to develop InterSystems based applications on ObjectScript using the modern code editor developed by Microsoft. Choice #1 editor amongst all developers worldwide by Stackoverflow survey 2019.
Some short notes about how to install and configure it you can find here.
If you need any help with a migration process of your development team to VSCode, please contact us by info@caretdev.com.
Hi developers!
When @Evgeny Shvarov announced the first InterSystems IRIS Programming Contest, I started looking for new ideas.
I put together a few ideas, and that's what isc-utils is about.
Temperature Scale Conversion
IRISAPP>write ##class(diashenrique.Utils.Temperature).CelsiusToFahrenheit(28)
82.4
IRISAPP>write ##class(diashenrique.Utils.Temperature).CelsiusToKelvin(28)
301.15
IRISAPP>write ##class(diashenrique.Utils.Temperature).FahrenheitToCelsius(82.4)
28
IRISAPP>write ##class(diashenrique.Utils.Temperature).Hi Developers!
Create Database, Namespace, REST Applications using Portal Management is an easy task. You just need a few clicks or maybe more clicks than you expect.
But, what if you traded all those clicks for a simple command-line ?!
IRISAPP>do ##class(diashenrique.Utils.GenerateDB).CreateNewYou just need to answer a few questions:
Do you want to create a new Database/Namespace? (Y/N) :
Choose your Namespace name :
Choose the Dataset location <Path Default is mgr directory> :
Make this an Interoperability namespace?Hi Community!
The registration phase for InterSystems Online Programming Contest ends today and we will start the voting week!
Now we have 20 applications - so you have a set of applications to choose from!
How to vote?
This is easy: you will have one vote, and your vote goes either in Experts nomination or in Community nomination.
Hello,
We are developing a BP where we would need to call at the same time to get appointments in two external systems. So then, we would need two threads, one for primary care appointments, and other for specialist appointments . We need to paralelize both calls because of both of them require some time and we would need to shorten it as much as possible.
Hello,
I got the idea for this application, because for my work we have a process that currently uses legacy Vista code called MailMan to transfer files using email. I thought I could create a process in HealthConnect (IRIS Interoperability) to replace the need for having the legacy code. I have seen File Passthrough and TCP Passthrough Operations that can transfer a stream (file content) into a file or through TCP connection. I did not find Email Passthrough Operation, so I decided to create it. It receives request with a stream that has the content of the file.
This code snippet changes all passwords in a system to a specified string. The two literal strings at the beginning of the snippet can be adjusted to edit the system or password string. The class method "test" runs the code:
Class eduardlebedyuk.changePasswords Extends %RegisteredObject
{
ClassMethod test()
{
set ns = $namespace
zn "%SYS"
set NewPass = "NewPassString"
set rs=##Class(%ResultSet).%New("Security.Users:List")
set st = rs.Execute()
while rs.Next() { set st=$SYSTEM.Security.ChangePassword(rs.
DISCLAIMER: I am not an InterSystems engineer or a professional ObjectScript developer.
I just want to share my opinion about some things I am really miss in ObjectScript.
I really appreciate everyone who support my project (Declarative ObjectScript) in contest
but the post is not about "why you should support me" on contest.
I faced with ObjectScript in the university while was working on my diploma (in 2013).
Very good mentor @Evgeny Shvarov helped me to get started with ObjectScript development.
Hey Developers,
New "Coding Talk" video was specially recorded by @Maks Atygaev for the IRIS Programming Contest:
Here's what I'm trying to accomplish
I have a directory of CCDAs and files with basic demographic info.
I'd like to generate an outbound Provide and Register request by building the SOAP envelope (using the demographics data) and adding the CCDA as the document.
Which Operations / Components can I utilize for this?
Is there is a good starting point in the documentation I can use?
If anyone knows which specific Operations/Components I should use please let me know.
Thanks
Just released from Learning Services: March news! Find out about the latest content we've created, including:
... and more! Check out March's newsletter, and subscribe to receive future newsletters straight to your inbox!
Hello,
We're considering adopting the ZPM solution as a way to manage many of our customer updates. However in order to do so we need to know a few things.
Hello,
We have been reasearching how could we parse a string with a JSON structure like the following:
{"code":200,"type":"Consulta","message":"Operacion correcta","result":[{"id":38802130,"paciente":null,"prestacion":{"codigo":"1.
Hello,
While working on my Iris contest application FileMailer, I got an error today trying to send email with code that used to work. I added debugging entries and I can see it happens in %Net.SMTP class "Send" method. I am not using any credentials or SSL. I see it opens |TCP|25 device. It issues a series of commands to SMTP server (I was testing with smtp.va.gov and port 25). "init" command gets 220 response. It runs "Login" method. Response is 250. The next command is "MAIL FROM" and I see 250 in the response with sender ok. The next command is "RCPT TO".
Hi Community,
The new video from Global Summit 2019 is already on InterSystems Developers YouTube:
⏯ Understanding System Performance Metrics
The common requirement in many applications is logging of data changes in a database - which data has changed, who changed them and when (audit logging). There are many articles about this question and there are different approaches on how to do that in Caché.
I'm sharing a mechanism that can help you implement your framework to track and record data changes. This mechanism creates a trigger through an "objectgenarator" method once your persistent class inherits from the "Audit Abstract Class" (Sample.AuditBase). Since your persistent class inherits Sample.
Hi-
I am trying to create a simple example of allowing binary (tiff) files to be selected and uploaded asynchronously to an IRIS for Health back-end. I have managed to write the HTML and Javascript which works great with regular text / ascii files, but fails with binary files.
Hi, participants of the InterSystems IRIS Online Programming Contest!
This is an announcement for the current and all the future participants of online contests.
To win the contest you need to gather the maximum votes of InterSystems Developer Community members.
Below are the few ideas of how to achieve that.
These Competition Terms (the "Terms") apply to competitions and contests sponsored by InterSystems and its affiliates including coding contests relating to InterSystems products and technologies (each a "Contest").
I hope you already know one of my projects Cache Blocks Explorer. I've recently renamed it to Blocks Explorer.
For the recent contest, I've added a new feature, the ability to generate a static picture of any Cache or IRIS database. Like below. Where unique globals have a unique color. This is how looks like inside 9.5GB database. Where 1 pixel represents one block. By link on image you will get even bigger image, with more detalization.
In Episode 6 of Data Points, certification manager Jamie Kantor joins the podcast to tell us all about the InterSystems Certification program, what exams are currently being offered (and what ones are in development), and why it matters for developers and enterprises. Check it out!
Hello,
We are developing a method to take two messages which have a list of data types. It is being defined as:
{
Property informacion As EsquemasDatos.HistoriaClinica.Informacion;
Property datos As list Of EsquemasDatos.HistoriaClinica.ConsultaCitas;
Property error As EsquemasDatos.HistoriaClinica.Error;
}
Inside datos we have:
Hello,
We are developing a Transformation and we are wondering: how could we debug and show a XML message which is being an output from a transformation, without storing it into request/response/callrequest/callresponse? We mean, how could we show a context variable in the production?
For example, let's have a transformation which stores an appointment in a variable called: context.especializadasConFormatoPrimarias
How could we show in the Production?
I just tried to log into our QA server and connect to Terminal (v 2013.1).
I can type in my username but when I attempt to type my password, no characters are typed. When I press ENTER the password is invalid.
I can connect to the management portal and the studio development environment without any problems. Also, I do not have this problem when connecting to the terminal in our production environment (2010).
Does anyone know what can cause this type of problem?
Thanks.
Hello,
We have a tranformation where we would like to convert a date from the following format:
"'dd/mm/yyyy' 'hh:mm'" (double quotes are just visual to indicate this is a string)
to date and time separated:
date: dd/mm/yyyy
time: hh:mm
We have already splitted the datetime into date and hour as follows:
set fechaHora = source.result.GetAt(indice).Sorry about my newbie question.
How do you decide the size to give to journal1 and journal2?
PS: I am still in version 2016
Thank you
InterSystems IRIS 2020.1 brings a broad set of improved and new capabilities to help build important applications. In addition to the many significant performance improvements accrued through 2019.1 and 2020.1, we are introducing one of our biggest changes in recent SQL history: the Universal Query Cache. This article provides more context on its impact to SQL-based applications at a technical level.
Dear HealthShare Customer:
This post is part of the HealthShare HS2020-03 Alert communications process. The same information is also distributed:
There are 7 alerts in the HealthShare HS2020-03 Alert communication, including the previously posted "March 25, 2020 Alert: Possible Data Integrity Issues after Compaction or Defragmentation." The summary is in the table below, and the detail is contained in the attached document: HealthShare HS2020-03.
HI,
I want to validate my XML file with a DTD file.
I found this https://community.intersystems.com/post/validating-xml but it's with the SAX parser...
Is there an easier solution?
Intersytems Ensemble version 2017.2
Regards,
Guillaume LEPRETRE