Has anyone used the ##class(HS.JSON.Path).%Evaluate() classmethod interrogate JSON and return a specific object value? I need to extract the MessageHeader.destination.endpoint value from a FHIR bundle and can't seem to get that XPath-like method to work.
Hey Developers,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in December 2020:
Hey Developers,
This post is a compilation of Top Authors, Top Experts and Top Opinion Makers of the InterSystems Developer Community in 2020. And it is a good guide "Who to Follow" in 2021.
We're glad to present these people who have contributed a lot to our community in 2020.
Let's take a closer look at the DC Wall of Fame 2020 and greet everyone with big applause! 👏🏼
the report generates statics for each ward and i want to divide specific ward 5c into two wards, the first 12 beds are for 5c - pediatric and the last 12 beds are for 5c-adults.
the report takes input from the user by selecting the wards so if the user chooses 5c, the report should show 2 wards.
the report declare cursor at the begining so how can i divide the ward.
SQL(DECLARE WARDL CURSOR FOR
SELECT distinct
%EXACT(Hospital_DR ),
HOSPDesc,
WARDRowID,
WARDCode,
case
WHEN WARDDesc='Ward 2D - Surgery' THEN '2D'
Executive Overview
In most organizations, events drive action. In financial services, for example, a stock dipping below a threshold price may trigger a sell order. In manufacturing, production may start when an order is received. In healthcare, an unusual increase in the number of patients registering in an emergency room could signal the start of a disease outbreak, calling for action on the part of medical staff and public health officials.
In all of these cases, a business process is started, stopped, or modified based on an event or series of events.
In 2020 we implemented HealthConnect as our HL7 interface engine. Having completed this, we are currently evaluating whether it would be beneficial to migrate our managed file transfers from our current MFT software, MOVEit to HealthConnect. I am interested in hearing from any InterSystems customers who have previously used MOVEit and currently using HealthConnect for file transfer managment. Any feedback would be appreciated.
Hi, I am creating a zen page which has a table pane, and loads data, using the onCreateResultSet. I have two controls which allows the user to add a date and type.
I want to add them as parameters into my sql query and update the tablepane. Can you advice on how I can do that?
<button id="fetchapt" label=" " caption="Fetch" onclick="zenPage.Fetch();" hidden="false"/>
ClientMethod Fetch() [ Language = javascript ]
{
// i can get the values from my controls here
var par1 = zenPage..getComponentById('dtfrom').value;
// how can I insert this value par1 and write a new sql query using the value
Hi,
The question is about queries on the System->SQL page. I have a class with a few columns on a global and the test output looks as expected, below. This works as expected as well returning a single row: select * from Utils.RoutineAuditReport where counter=4. However, other columns give an odd error like " Field 'AG' not found in the applicable tables^ SELECT * FROM Utils . RoutineAuditReport WHERE UserR = "AG". As you can see below, both the UserR column and the AG entry in it do exist. What could be the problem?
Thanks in advance,
Anna
.png)
Hi Community,
We're pleased to invite you to the online meetup with the winners of the InterSystems Analytics Contest!
Date & Time: Monday, January 4, 2021 – 10:00 EDT
What awaits you at this virtual Meetup?
- Our winners' bios.
- Short demos on their applications.
- An open discussion about technologies being used, bonuses, questions. Plans for the next contests.
Greetings fellow Developers.
Has anyone used Mini Spine Services + PDS to verify NHS Numbers..?
Thank you.
I have a text control : <text id="clinic" label="Type Clinic Code ">. I want to retrieve the value of this control in my zen method. But I keep getting errors.
ClassMethod readValues(bData As %ZEN.proxyObject, act As %String) As %Boolean [ ZenMethod ]
{
zenPage.getComponentbyId('clinic').getValue() // this doesnt work
%clinic.%GetValue(); // Tried this as well but getting errors
}
Can I get some advice on this? Apologies if this is a simple question. Just learning and developing using zen pages
I am hoping I explain this correctly.
We are using a query expire edge, to pass an API request to one of our vendor systems.
There is no feed into the gateway from an external system, and it is only used to query the external system with member data.
However, it is our understanding that the member needs to be registered on the edge.
Wondering if there is a way to export from the registry the bare demographic info in SDA to import to the new edge?
If anyone has done this and can point me to the right direction (documentation ect...) it would be greatly appreciated.
Thanks,
Ed
I have a operations that is writing 6 values to a table
Class BHS.Custom.MosaiqCloudPatientsTable Extends (%Persistent, Ens.Request) [ Inheritance = right ]
I need to create a routing rule to evaluate a field in an hl7 ORU message , see if it exists in the account column of the table. If it does then allow the message to pass.
This table is not a lookup table. How can I get a function to evaluate a field to this table?
I am new to zen pages, and trying to see how to get the value of a control.
Below is what I have
<combobox id="comboboxEdit" label="Select">
<option value="1" text="1" />
<option value="2" text="2" />
</combobox>
<button id="appointments" label=" " caption="Fetch" onclick="zenPage.Fetch();" hidden="false"/>
ClientMethod Fetch() [ Language = javascript ]
{
// how can I get the value of the controls here? can I do something like document.getElementById()?
}
Hi, I'm new in this place.
I would like to know how can I use Intersystems Caché in Linux Mint with the best performance?
My computer is not so good and I need a light version from this.
Hi all! 2nd time poster and still kind of a newbie. I Googled and searched the posts but did not find anything quite like my question. I have an XML to HL7 2.6 MFN_M16 translation. I created an XML schema and I am using it inside a DTL to translate data to HL7. The XML is rather simple EXCEPT one element as data separated by pipes. This only happens when one item has multiple PAR Locations. To make a valid HL7 message these multiple PAR Locations each need their own IVT segment.
XML Par Location is equal to HL7 IVT:InventoryLocationIdentifier OR (IVT-2)
The Business process is of class:
The documentation says that the MDX extended function %TIMERANGE returns a member.
.png)
However it seems like it produces a set of time members from the description ("a range of members"). Perhaps behind the scenes it is making a calculated member? I am able to plug the return "value" from %TIMERANGE into the SUM function, which takes a set as an argument, and I get a correct answer. So SUM((%TIMERANGE(...)) works, however COUNT(%TIMERANGE(...)) does not work and returns a cryptic error:
.png)
Should we be able to use %TIMERANGE as a set argument to any mdx function that takes a set argument?
In the MDX Query Tool I can't seem to get the NOW relative syntax to work correctly. If I just use ".&[NOW]" it works, but something like ".&[NOW-1]" or ".&[NOW-1d]" (for dates extracted using DayMonthYear) it throws an error.
So this works:
.png)
But if I change .&[NOW] to .&[NOW-1] I get this cryptic error message.
.png)
Also, can you use member functions off of NOW? For example can you do something like: [TransactionDateFilter].[H1].[Date].&[NOW].PREVMEMBER ???
Please check out the 2020 annual Developer Community Posts digest. Don't miss the most popular and commented posts!
by Jose Tomas Salvador
5,289by Evgeny Shvarov
674by Vinicius Maranhao Ribeiro de Castro
412by Sergey Kamenev
404Hello,
I am trying to find out if it is possible to invoke a Business Operation from a class method without using a Business Service.
I have the following code but was wondering if it can be done without using a Service.
s tService = ##class(Ens.Director).CreateBusinessService("Business Service Name",.service)
d service.SendRequestSync("targetBusinessOperation",request,.response)
I tried creating an instance of Ens.BusinessOperation and then call SendRequestSync but that didn't seem to work.
Any better ideas anyone?
Thanks in advance.
Utsavi
We are looking to hire a DevOps engineer with expertise in Intersystems Technologies like Ensemble and/or IRIS as essential.
Main responsibility of the Role will be to implement Version Control and automated CI/CD pipeline for code build and deployment via tools and automation scripts for the current Intersystems platforms within the organisation.
If interested please email your resume to utsavi.gajjar@mater.org.au
I have an SQL text index defined like this
Index TextIndex On (Text) As %iFind.Index.Basic(IGNOREPUNCTUATION = 1, INDEXOPTION = 0, LANGUAGE = "en", LOWER = 1);If I run a query like this:
SELECT
Text
FROM Post
WHERE %ID %FIND search_index("TextIndex",'ABC')I get 20 results with posts containing the term ABC.
But each post can contain the term ABC several times.
Is there a way to get a total count of ABC term?
Is there a way to get a count of ABC term in each Post?
Hi Community,
The Mockable.io (https://www.mockable.io/) is an online service to deploy REST API or SOAP services in seconds. This is useful to test the consumption of an API or SOAP service in your production or objectscript class without having to implement a real service, including https option.
It's very simple procedure, see:
- Access to https://www.mockable.io/;
- Click Try Now button;
- Can you import a swagger file or create an new service;
- Will be created a domain to you group your mock APIs;
- Click +REST MOCK;
- Many options will be available to you, see the sample to return a "Hello
Under the previous python binding method (Cache) it was possible to pass in parameters, execute a class query, and fetch the result sets. I have been unable to find a way to do this via PYODBC or the Native API (perhaps I am just missing something).
My work around is to create a SQLquery string and execute it through a cursor. I would much prefer to simply execute the debugged and more secure class queries that already exist and and have been precompiled.
Any pointers would be greatly appreciated
Thanks,
Sinon
You're very welcome to check the 2020 annual Developer Community Questions digest. Here're the most popular questions:
by sjbttt sjbttt
2,658by Jenna Poindexter
899by Eduard Lebedyuk
826Hello,
We would like some advice
We have developed a REST Operation
The code is:
Class Operaciones.REST.miSCS.miSCS Extends EnsLib.REST.Operation
{
Parameter INVOCATION = "Queue";
/// 📤 Subir la imagen del usuario
Method SubirImagen(pRequest As Mensajes.Request.miSCS.SubirImagen, pResponse As Mensajes.Response.miSCS.SubirImagen) As %Library.Status
{
set httpRequest = ##class(%Net.HttpRequest).%New()
set tResponse = ##class(%Net.HttpResponse).%New()
//set httpRequest.ContentType = "application/json"
set httpRequest.ContentType = "multipart/form-data"
setHi, I would like to use another framework in Studio, like React or Angular.
Is it possible?
Hello to all,
I'm trying to post some form data from a form I made in React to the backend of cache fetching a REST-service.
Receiving and processing a JSON-object is no problem but how can I handle Form Data?
The frontend is sending the form as form data and also includes one or more files.
What is the easiest way to process this data in my REST.Broker- class?
Best regards,
Simon
We are using Native .NET API from IRISProviderCore21 package, inside .NET Core app, and having issue when trying to call function that takes instance of the class as parameter. The server is IRIS 2020.1.0.217.1
In a nutshell, the code looks like this:
// Create instance of the parameter class, proxy object
var paramObject = iris.ClassMethodObject("MyParameterClass", "%New") as IRISObject;
paramObject.Set("property", "value");
var irisResult = iris.FunctionObject("MyFunction", "MyRoutine", paramObject);
at last line, we are getting exception
'Unsupp
|
Big Data 5V with InterSystems IRIS
See the table below: |
|
![]() |
Velocity: Elastic velocity delivered with horizontal and vertical node scaling Enablers: Distributed memory cache, Distributed processing, Sharding and Multimodel Architecture https://www.intersystems.com/isc-resources/wp-content/uploads/sites/24/… and https://learning.intersystems.com/course/view.php?id=1254&ssoPass=1 |
![]() |
Value: exponential data value produced by Analytics and IA Enablers: BI, NLP, ML, AutoML and Multimodel Architecture https://docs.intersystems.com/irislatest/csp |

.png)
.png)
.png)

