Hey Developers,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in May 2021:
Hey Developers,
Here is a digest of the Developer Community videos on InterSystems Developers YouTube Channel in May 2021:
Hi guys,
How can we remove a business host from a running production?
I've read and tested how to add it to a production, while when I try to remove it from the production with the following codes:
Set tSC = $$$OK
Set prodName = "CDRDemo.DemoProduction"
Set confName = "TEST1"
Set className = "Demo.LISClient.Operation.PatientOperation"
#Dim prodConf As Ens.Config.Production = ##class(Ens.Config.Production).%OpenId(prodName)
Set itemId = ""
&SQL(Select ID into :itemId from Ens_Config.Item
where Production=:prodName
and ClassName=:classNameI've poked through the class documentation and globals and I can't seem to find what I'm looking for, namely a mechanism that will give me the PropName key and value for each of the Items in an EnsLib.HL7.SearchTable definition. Is there some sort of query that will turn the list of Items in the XData SearchSpec section into a key/value pair of some sort?
For example:
<Items>
<Item DocType="" PropName="MSHTypeName" Unselective="true">{1:9.1}_"_"_{1:9.2}</Item>
<Item DocType="" PropName="MSHControlID" PropType='String:CaseSensitive' >{1:10}</Item>
<Item DocType="" PropName="PatientID"I've been tasked with an interface that needs to supply some additional metadata for the indexing of HL7v2 messages. After toying with a couple of ideas, I thought that it would be useful to subclass EnsLib.HL7.Message, add a %DynamicObject property, and store the metadata in it (it ends up getting sent to the target in JSON form anyway).
And, well, it seems to work just fine ... so far.
I seem to remember that %DynamicObjects are not persistent, and for that reason not something you would normally stuff into a database.I was a little surprised when things worked as I had hoped.
When using Studio, ODBC or a terminal connection to Caché or Ensemble, you may have wondered how to secure the connection. One option is to add TLS (aka SSL) to your connection. The Caché client applications - TELNET, ODBC and Studio - all understand how to add TLS to the connection. They just need to be configured to do it.
Configuring these clients is easier in 2015.1 and later. I'm going to be discussing this new method. If you're already using the old, legacy method, it will continue to work, but I would recommend you consider switching to the new one.
These client
I need assistance to delete an instance of HealthShare that I am sure it way out of date. From the VM Server Control Panel when I try to Uninstall, I get the error Message: "Error: Could not detect INSTANCE name!"
Are there commands in SQL that may help uninstall the instance of the application? Other Suggestions?
Hello,
We have a need to track Database changes over time - down to the SQL level of granularity if possible. Such as: User xyz runs routine ^abc and we get something similar to a changelog that tells us: table A had this value updated, insert, update etc....
Is that possible using IRIS level tools (Audit Log, Journal File, etc...) , is there a way to convert the global sets and kills from the journals into SQL level changes?
I also found a third-party java-based tool named Liquibase , but it seems more oriented to tracking schema and table based changes or pre-defined definitions.
Thanks,
James
Hi Community,
Please welcome the new video on InterSystems Developers YouTube:
Hey Community,
Please join the next InterSystems online programming competition:
🏆 InterSystems FHIR Accelerator Programming Contest 🏆
Submit an application that uses InterSystems FHIR-as-a-service on AWS or helps to develop solutions using InterSystems IRIS FHIR Accelerator.
Duration: May 10 - June 06, 2021
Total prize: $8,750
👉 Landing page 👈
Is there an option to change the favicon, once user logs into Clinical Viewer.
Its available by default under this path.
"/csp/healthshare/hssys/hsnavigation/ui/favicon.ico"
Hi,i have created a simple production with:
Business Service-EnsLib.HL7.Adapter.TCPInboundAdapter
Business Process - EnsLib.HL7.MsgRouter.RoutingEngine
Business Operation - EnsLib.SQL.OutboundAdapter
the sending application requires a ACK wich is different than the ACK i choose from in the AckMode settings of the Business Service.
How do i create a custom ACK?
Thanks
Hi community,
I am in the process of building a React Native Application for a restaurant.
I am not quite sure if we can use IRIS as the main database for this and if there is a possibility I am not quite sure how to do it.
If there is a possibility could some one help me out with it please?
Or do you think using AWS is a better choice?
Please let me know your ideas and guidelines in the comments or please feel free to reach out to me directly.
Hoping to hear soon.
Regards.
What is the syntax in Zen PDF Reports to form feed between tables?
HA backup strategy
we use Rose to do HA with cache2016.2, the database is placed on the hard disk array, which is essentially an instance, and the same array disk is mounted by rose switch, another mirror machine is made.
Is there any problem with this structure for disaster recovery and backup, I hope to give some advice. Thanks!
All source code to the article is available at: https://github.com/antonum/ha-iris-k8s

In the previous article, we discussed how to set up IRIS on k8s cluster with high availability, based on the distributed storage, instead of traditional mirroring. As an example, that article used the Azure AKS cluster. In this one, we'll continue to explore highly available configurations on k8s. This time, based on Amazon EKS (AWS managed Kubernetes service) and would include an option for doing database backup and restore, based on Kubernetes Snapshot.
Let's get right to business.
Hello,
First of all thank you for reading this question
Also thank you for giving an answer
We would need some help
Our objective is to spot all REST Services in a namespace
➡️ How could we detect all services with AdapterClassname = EnsLib.HTTP.InboundAdapter , in an automatic way, in a namespace?
Does InterSystems IRIS will support Visual Studio 6.0 Enterprise Edition (Visual Basic)?
We are in the process of transitioning Intersystems Cache 2017 to Intersystems IRIS 2020 version.
For terminal based applications we can able to use the same DAT file used for Cache with minor changes.
For Web based we are using Visual studio 6.0(Visual Basic). Will IRIS supports Visual Studio 6?
While I am configuring from that GUI application, I am getting the error like, Access Denied or No connection could be established. Same configuration followed in Cache that works.
Hi,
I have created a method than evaluates an XML expression using the EvaluateExpression method. I need to replace an element value by other string but I couldn't find the way of doing it.
To get that, first I have created the "%XML.XPATH.Document" object using an stream and then I have evaluated the XML expression with the "EvaluateExpression" method.Once I found the element I would like to replace, I got the value of the element using "do element.Read()" and "set cadena = element.Value" and then I realized some transformations like $ZCVT.
when i connect to DB via DBeaver , it always report Connection refused, i tried both Cache and IRIS but same error, I have already download intersystems-jdbc-3.2.0.jar as IRIS Driver.
And meanwhile SqlDBx tool is able to connect via internal Intersystems Cache Driver.
.png)
Hi Guys,
I'm new in HL7 and have seen the basic learning material in "HL7 Business Services and Business Operations" but I'm wondering if there are learning materials and samples that I can boost my HL7 knowledge pls?
Thanks
Hi Developers,
Watch the execution of a speed test for a heavy-ingestion use case on InterSystems IRIS:
Hi all,
I'm looking for a user-friendly way to make a method library available in DTL, and by user-friendly I mean via '..MyMethod()' or '$$$MyMacro()' rather than '##class(MyPackage.MyClassName).MyMethod()'.
Does anybody know of a way to add a second superclass or a set of macros to a DTL ... or some other trick?
Cheers,
Otto
Hi colleagues!
Often when we collaborate to someone's repo in GitHub we do the following cycle:
Fork-Clone-Change-Commit-Push-Pull-Request-Merge to the original repo.
This is all great and works fine!
And if we want to make a second collaboration right after the merge you need to perform "Fetch upstream" to your forked repo first to "ingest" your own Pull-request in the original repo.
Geeky git-professionals do it with ease but this was always a headache for me so I usually simply deleted the fork and created a new one.
And today I figured that Github added a new UI feature that I can easily fetch-upstream for my fork with the original one and make it up to date and capable for pull-requests.
Here is where the button is:

This is a relief! )
Wanted to share this relief and productivity tip with you!
Bring more collaborations to Github repos!
And speaking of PR - I just made a PR with docker to Google Cloud Run deployment for the FHIRaaS demo made by @Anton Umnikov for the current FHIR Contest! Looking for more of your contributions!
We need to know how to pass a certain value, which in the .NET world is described as a byte array (i.e. byte[])
Background:
We have various libraries that were created in .NET 4.5 that are registered for COM interom, an example that we have is as follows:
.NET Signature:
public static byte[] CreateQrCode(string content, int width, int height, string imageFormat)
.NET utilisation:
byte[] image = Writer.CreateQrCode("http://redacted/", 100, 100, "png");
Intersystems utilisation:
do streamQrCode.CopyFrom(objGenerator.CreateQrCode("http://redacted/",100,100,"png"))
PROBLEM: We need to know what object to
I am trying to populate a table using the sql Data Import Wizard. The input file is a tab delimited text file. But the import keeps failing with a 104 error showing validation for the columns which use %Library.TimeStamp and %Boolean datatypes is failing. Yet when I insert values into the table through a SQL insert command, the values get saved correctly in the table.
For the TimeStamp format in the wizard form, I am choosing YYYY-MM-DD-HH:MI:SS because there was no option for this format: YYYY-MM-DD HH:MM:SS.
But even after I edited the time stamp column to use a dash between the DD and HH
Hello,
I'm quite new at InterSystems. I have a business process that's pointing two different business operations, but one of them I don't want it to point to.
I went through the FileSystem settings, data transformations, classes, and code to see what it could be, but I don't see why its connecting to this second operation.
What other inner-system mechanics would I need to consider? What have might I have missed?
I'm using a JDBC driver to connect PGSQL -> Cache. I'm noticing when I run SELECT queries and COUNT(*) command against the same table, I get different result sets. I'm pretty new to Cache in general - so I'm trying to understand why these would be different.
Examples (TransID and InvNum should occur in every "row"):
SELECT COUNT(*) FROM ACCT.Services = 1,090,324 WHERE ACCT.Dept = 483
SELECT TransID FROM ACCT.Services = 1,085,776 WHERE ACCT.Dept = 483
SELECT InvNum FROM ACCT.Services = 586,023 WHERE ACCT.Dept = 483
(I tried the same thing in MSSQL via LinkedServer and it unsurprisingly yielded
Hello community,
I am in the process of building a Health Care Application named MediCloud and I was so excited to see that IRIS is one of a great choice that I can make for a database system.
But, I am developing my system with ASP.NET Core Version 2.1. I did see that there is a way we could use .NET with IRIS using PEX (such a useful tip), is there a possibility I could do it ASP.NET Core as well.
Or is it just limited to .Net for the time being?
Cheers.