How to get the license usage through SQL or global?
InterSystems Ensemble is a complete and easy-to-use integration platform that enables users to connect people, processes, and applications in record
time.
InterSystems Ensemble is a complete and easy-to-use integration platform that enables users to connect people, processes, and applications in record
time.
How to get the license usage through SQL or global?
Hi,
We are having an issue with the class %Net.SSH.Session - it accepts a username, publicKeyFile, privateKeyFile and passPhrase.
This is our example code:
set ssh = ##class(%Net.SSH.Session).%New()
set tSC = ssh.Connect("172.10.10.1", 22)
$$$ThrowOnError(tSC)
set Username = "a"
set passphrase = "123"
set pub = "C:\FTPServer\pubkey\publicKey.pub"
set priv = "C:\FTPServer\private.key"
set tSC = ssh.AuthenticateWithKeyPair(Username,pub,priv,passphrase)
$$$ThrowOnErr
When the started service component cannot be shut down correctly in the foreground, can you terminate the service by ending the task manager process? Will it affect the correct operation of the system
Hello,
We would need some help, please;
We would like to handle when we have a date with hours:
20201204090000
And when we have it without the hours part, as follows:
20201204
For the first case we used:
##class(Ens.Util.Time).ConvertDateTime(source.{ORCgrp(1).RXA:DateTimeStartofAdministratio},"%Y%m%d%H%M%S","%d/%m/%Y",,.tSC)For the second one we wrote:
##class(Ens.Util.Time).ConvertDateTime(source.{ORCgrp(1).RXA:DateTimeStartofAdministratio},"%Y%m%d","%d/%m/%Y",,.tSC)
However each way only works for one case
How could we handle both cases with just a line of code?
We have read:
The server activity and duration can query the message volume of a certain day or period according to the specified time. At the same time, it can query and count the message volume of BS service, BP service and Bo service by modules
编码中,zn “命名空间”这样跨命名空间使用操作会导致队列中具有很多 _sync:进程号,不知道这种情况是切换命名空间操作的问题还是使用的问题?对于这种跨命名空间有没有更好的应用方式?
In coding, the operation of Zn "namespace" across the namespace will lead to a lot of errors in the queue_ Sync: process number. I don't know if this is a problem of switching the namespace operation or using it? Is there a better way to apply this kind of cross namespace?
Hi,
I need to create a Business Service that connects too and processes emails via IMAP.
Has anyone done a similar task and if so, can they provide advice?
There is inbuilt support for POP3 (POP3 adapter) but not for IMAP.
Thanks.
Anthony Breen
I've been trying to figure out how to use an ObjectScript class to search other classes for specific strings. To be very specific, I want to be able to search business rules to see if a particular DTL is in the rule. We have some orphaned DTL's in our Ensemble productions and I want to make sure that they're not being used.
Thanks.
<?xml version="1.0" encoding="UTF-8"?> <ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:mif="urn:hl7-org:v3/mif" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 ../sdschemas/SDA.xsd" classCode="DOCCLIN" moodCode="EVN"> <observation> <value xsi:type="ST">xxxx</value> </observation> </ClinicalDocument>
this is a example XML, i don`t know how to parse it, keypoints are xmlns ,schemaLocation,xsi:type.is there a way,i could parse the xml into a object,and i can get all the data and ,i can convert the obj to a xml which is as same as the example.
I am able to display my query result in the table pane, but I want to update it based on user click but it doesnt work. Can this be done? Below is what I am doing but it doesnt change my value on clicking. Would appreciate some guidance on this
I have ondblclick = zenPage.SelectItem
ClientMethod selectItem(id, time) [ Language = javascript ]
{
table = this.getComponentById('tablename');
var data = table.selectedIndex;
var rowval = table.getRowData(data);
var valuep = new zenProxy();
valuep.TXTFLAG = rowval["TEXT"];
zenPage.ToggleTextFlag(pP);
var table = this.getCompo
I have a BPL that calls a business service (actually does lots of other things unrelated to my question). We receive an acknowledgement back containing data that is processed in the BPL and sent to the source system. The process of sending to our downstream system "A" and receiving the response takes about 20 seconds per transaction (very slow on system A's side). Due to this slowness, we end up with a backlog close to 1000 messages by the end of the workday.
Is there a way to make this multi-threaded so we can send many messages to system A?
We have msgs coming like below where line ending with \n then it throw error in router production but if msgs come with \r\n then router dont throw error.
any help?
EMR sending following msg.
MSH|^~&|APP|EMR|HIE|HIE|201301011226||ADT^A01|MSG00001|P|2.5|\n
EVN|A01|201301011223||\ne
Business Service read it like this as on line, and error msg shows in trace.
MSH|^~&|APP|EMR|HIE|HIE|201301011226||ADT^A01|MSG00001|P|2.5|\nEVN|A01|201301011223||\n
Build Map Status = 'ERROR <EnsEDI>ErrMapRequired: Missing required EVN element at segment 2'
'ERROR <EnsEDI>ErrMapRequired: Missing required PID element at
In the Inbound SQL Adapter settings, is it possible to specify more than 1 field as the Key Field Name?
Because of the way the Query is being index in Ensemble by the Key Field Name, sometimes transactions get missed and I would like to see if we can add an additional key to the mix to ensure all the transactions are picked up. In this case the InterfaceTrigger is an ID that is auto generated by the table, and I would like to use that as well to ensure we don't miss transactions, and it does not throw any warning messages when it executes the Delete Query.
.png)
Thanks
Scott
I have a case where our EMR is sending data, but not all the values needed for the Ancillary are valued properly and causes that message to error/halt processing on the Ancillary system, not ideal but its what they do. I would expect them to still process the message except that 1 field, but they don't.
I want to add validation to make sure certain fields are valued correctly for the Vendor.
So I add some statements to take those items that don't pass this validation out to a batch file with headers.
But I want to email out that batch file.
Hello!
I have created a record map that I am going to use to parse a flat file coming into Ensemble. From there I am trying to send the parsed out data as emails to patients. I am getting this error when the Service tries to locate the file and send it through...it finds the file (as it states in the error message). So why does it say it does not exist?
|
Thanks for your insight!
I would like to examine the contents of my OBX-5 field and not route the message if it contains alphabetic characters. I've tried various combinations of the Match and Contains functions, with no luck. Should I be using the COS ? operator or plaini regular expressions?
e.g.
OBX-5 Contains "\D"
OBX-5 Contains "?.A"
OBX-5 Contains "[A-Z]"
What would be the best way to do a HL7 - Business Service to FRL(Flat Record Layout)- Business Operation?
Do I need to use the record mapper to define the file output? Does anyone have an example?
Hi,
I am investigating creating builds from TravisCI, which will pull the source from github.
This will also involve a code review process, pull request, etc.
It will be done in Multiple phases. The first one will not involve automated testing using TravisCI yet. It will only involve travisCI pulling the latest code from github and creating a release for testing(A deployment file in a format that can be loaded by Ensemble0)
What I want to know is: Is there a way or tool available to take the source files and create an XML file which can be used for deployment to Ensemble?
Kind regards,
Stefan
Hey Folks,
I am creating my first record map to import a .txt file and eventually create a message outbound. When I try to pull in the sample file I get:
ERROR #5005:
|
|
Any ideas as to why? I have the sample .txt file saved as shown in the available directory. From what I have seen the #5005 error means the file is not available?
Hello,
First of all thanks for your help,
We would need to get the list of all names, ports and types from the services listed in a namespace
We have read the following documentation:
https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls…
https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls…
In addition, we have read the following topics:
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
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.
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
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 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()?
}
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
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)
How to convert date and time into CCYYMMDDHHMMSS format??
For example the date and time format is 12/10/2019 21:41
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?