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.
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.
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.
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.Hi, 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.
|
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. |
We have a custom FTP Service , and custom FTP adapter . Customization is just to find a duplicate file and for giving specific dynamic file spec pattern.
While running and polling for files, we are getting this error. Could you please help ? What's the issue and how to resolve it ?
ERROR <Ens>ErrFTPListFailed: FTP: Failed List for <FileName> (msg='Cache error in 'readResponse': <READ>zreadResponse+4^%Net.FtpSession.1',code=426)
I searched to see if there was a previous question on this, but I didn't quite find anything. Please link if you think this has been answered before (I have a feeling it has): what are the barriers to source control using Cache 2018 and Studio?
I'm trying to figure out how to create a local repository but I can't access the folder structure in the USER namespace for my local instance. If I could, it would be as simple as navigating there in Git Bash and doing a 'git init' and then I can push changes to a remote repo for control.
Hi Developers,
We want to sum up the results of 2020 and meet 2021 together with you!

This was a very unusual, strange, dangerous, online year. A year full of politics, courage, diseases and deaths, new life-changing technologies, and innovations.
This was a unique year for the Developer Community too – for the first time we had a 100% virtual global summit, we introduced series of online contests and we are doing regular online meetups – this is all new and all this is already a part of our life.
This year we introduced the Japanese and the Portuguese Communities in addition to the English and the Spanish ones, and we are waiting for the Chinese community to join!
We have a webserver which is using a port different to 443 for HTTPS communication. I can connect from the terminal session but not via the EnsLib.HTTP.OutboundAdapter.
the example used in Terminal:
set httprequest=##class(%Net.HttpRequest).%New()
set httprequest.Server="appserver"
set httprequest.Port="4999"
set httprequest.Https=1
set httprequest.SSLConfiguration="app server"
do httprequest.SetHeader("Custom","cust")
set httprequest.ContentType="application/json"
do httprequest.EntityBody.CopyFrom(jsonfile)
do httprequest.Post("/FHIR/Bundle")And this is my method using the EnsLib.
How to convert date and time into CCYYMMDDHHMMSS format??
For example the date and time format is 12/10/2019 21:41
Hi All,
In earlier cache version, I can see full data values in SQL management portal.
But IRIS restricted the view only to 100 chars.
"If the data in a field is longer than 100 characters, the first 100 characters of the data are displayed followed by an ellipsis (...) indicating additional data." - From Documentation.
Is there a way to change this behavior ? I would like to see all the values in the particular SQL field.
Thanks in advance,
Archunan K
Hi Community! Here is a digest of new solutions and applications submitted to the InterSystems Open Exchange in December 2020.
✓ 388 downloads in December
✓ 804 developers joined
Hi,
I'm moving my development to a new PC based on UBUNTU Linux now to be compatible with IRIS.
I found out, that the Atelier plugin for Eclipse is not available anymore on Eclipse Marketplace and https://atelier/jfrog.com/atelier/updates/stable/1.3.
And I was was wondering, that noone has commented this here until now and Intersystems is still mentioning the old sources in the document https://download.intersystems.com/download/atelier.csp
Fortunately I could copy my old Eclipse installation together with Atelier to the new machine.
I am currently evaluating Source Control systems that we can use for both MS SQL, MS Visual Studio, and InterSystems IRIS. For both MS SQL and MS Visual Studio we do have the option of either Azure or GitHub. I understand when we upgrade to IRIS 2019.1 we have options for Source Control, and in previous Global Summit's I have heard GitHub discussed. So why can't I user GitHub for both MS SQL/MS Visual Studio and IRIS?
Hi,
I am trying to delete a HL7 standard schema i created by mistake however when i select delete in Studio i get the following:
.png)
The xml is as below:
<?xml version="1.0"?> <Category name="WYT.2.4" std="1">...
i then remove the std so it becomes:
<?xml version="1.0"?> <Category name="WYT.2.4">...
Then i get the error:
.png)
I have also tried exporting and importing the schema with the std part removed but still get an error.
We have IRIS 2020.1.
Any ideas?
Thanks,
Graham
A simple question: View Global Data page shows globals always in ascending subscript order. Very often I need to see latest page, is there any trick for this?
Update: I mean to see last subscripts in Management Portal, not using the code
I have a transformation that the incoming schema is an XML file and I will need to write multiple HL7 transactions. Is there anyway to do this?
Hi
We receive an HL7 order message into our integration engine containing OBX segments. I would like to create a PDF file and take the values from all instances of OBX-5 in the message and write them to that PDF file, which I would then like to embed into an outgoing message to another system.
Any help appreciated.
Thanks
Frances
Hi Developers!
I'm pleased to announce that we made a New Year Eve release on Open Exchange!
What's inside?
- Expanded download stats;
- Enhanced landing page;
- Bug fix with downloads count.
See the details bellow.
.png)
.png)
.png)


