I receive dateTime in this format - yyyy-mm-ddThh:mm:ss+01:00
for ex : 2024-05-31T17:33:08+01:00
I wanted it to convert to yyyymmddhhmmss
desired output = 20240531173308
InterSystems Ensemble is a complete and easy-to-use integration platform that enables users to connect people, processes, and applications in record
time.
I receive dateTime in this format - yyyy-mm-ddThh:mm:ss+01:00
for ex : 2024-05-31T17:33:08+01:00
I wanted it to convert to yyyymmddhhmmss
desired output = 20240531173308
Beginning with the release of InterSystems IRIS® data platform 2022.3, InterSystems corrected the license enforcement mechanism to include REST and SOAP requests. Due to this change, environments with non-core-based licenses that use REST or SOAP may experience greater license utilization after upgrading. To determine if this advisory applies to your InterSystems license, follow the instructions in the FAQ linked below.
This table summarizes the enforcement:
|
Product |
REST & SOAP requests included in license enforcement? |
To disable the timeout, set the query timeout to disabled in the DSN settings:
Windows Control Panel > Administrative Tools > Data Sources (ODBC) > System DSN configuration
If you check Disable query timeout, the timeout will be disabled.
If you want to change it on the application side, you can set it at the ODBC API level.
Set the SQL_ATTR_QUERY_TIMEOUT attribute when calling the ODBC SQLSetStmtAttr function before connecting to the data source.
Hi everybody,
I created my own REST service class by extending EnsLib.REST.Service.
In some particular conditions of the parameters of the request, the REST service should respond to the client with an HTTP status response code 400 "Bad request".
I read the article "RESTful Exception Handling " and I try to use the suggested:
do ..ReportHttpStatusCode(400)
But the server seems ignore it and get back to client the 500 http response code.
Any suggestions?
I am sorry if the question is a too low knowledge level but I am pretty newbie to Intersystems world.
Alberto
I would like to send bundle object to a router and then
perform a DTL with in the routing rule ( this BundleObject as a source to my DTL).
during this process , I get below exception
reqStream = json content in a stream
Set BundleObject=##class(HS.FHIR.DTL.vR4.Model.Resource.Bundle).FromJSON(reqStream,"vR4")
Set tSC = BusinessService.SendRequestSync("SAMPLE_ROUTER", BundleObj)
expection :
ERROR <Ens>ErrException: <METHOD DOES NOT EXIST>zNewRequestMessage+4^Ens.MessageHeader.1 *%GetSwizzleObject,HS.FHIR.DTL.vR4.Model.Resource.Bundle -- logged as '-' number - @''
The TIMESTAMP type corresponds to the %Library.TimeStamp data type (=%TimeStamp) in InterSystems products, and the format is YYYY-MM-DD HH:MM:SS.nnnnnnnnn.
If you want to change the precision after the decimal point, set it using the following method.
1) Set system-wide
Management Portal: [System Administration] > [Configuration] > [SQL and Object Settings] > [General SQL Settings]
Default time precision for GETDATE(), CURRENT_TIME, CURRENT_TIMESTAMP. You can specify the number of digits in the range 0 to 9.
Hi guys,
Does anyone know what this error message mean, we are trying to save records to My.Package.List
class and sometimes we get this error message at first but when I try to save the same record again from the Terminal it does save fine?
"Error:0 4"_$c(1,4,4)_"«"_$c(22,30,1)_"My.Package.List"_$c(2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1)_"
Thanks
Hi,
I'm trying to get an Ensemble 2017.1 environment to make a https connection to a webservice, but currently seeing SSL handshake errors. A fare bit of troubleshooting later, this looks to be related to SNI support, as the webservice I'm trying to hit will only take connections from clients that have SNI support, and has had TLS.v1 enabled for the troubleshooting. Testing this on 2017.2 versions and above the connection works fine, but on 2017.1 and below am seeing handshake errors.
Hello Community,
I have below issue -
I have an ID with 123456.(ID as a dynamic value coming from request message)
I wanted it to be displayed as "123456" in Json Stream.
Code Example:
set object = ##class(%ZEN.proxyObject).%New()
set object.ID = ID
set x = ##class(%ZEN.Auxiliary.jsonArrayProvider).%WriteJSONStreamFromObject(.json,object)
Case:1
ID : 123456
Will output:
{
"ID": 123456
}
but I need :
{
"ID": "123456"
}
Case:2
ID : "123456" (adding double quotes)
Will output:
{
"ID": "\"123456\""
}
but I need :
{
"ID": "123456"
}
Thanks in advance.
Hi Guys
I'm using the below to populate a tree to just show the root with a folder icon but whenever I click on a folder it loops back to the original folder, how can I disable the root folder from expanding to the next, I only want to show the main opened root folder and not to go any further?
Method GetTreeInfo(pRoot As %String, Output pTree, ByRef pParms) As %Status
{
Set MyId=..GetId,pos=1
&Sql(Select Name,ID into :name,:id from MSDS_COM
We have a custom business service that is triggered by a scheduled task. The service queries a table, iterates over the result set and sends a message on to a business process for each result. Happy path functionality is all fine.
However, when there is an error detected in the business service code, neither throwing an exception nor returning an error %Status behaves as we'd expect.
Our error handling scheme, which is working for the other business processes and operations, is to throw an exception on error.
Good Afternoon,
I'm working on a API documentation that wil be interactive, it's based on a BS class on Ensemble.
The objective on making the documentation is simplify the undestanding of the operation for those who are not acquainted with the Ensemble environment.
Hi Community,
We're pleased to invite you to the upcoming webinar in Hebrew:
📅 Date & time: May 21st, 3:30 PM IDT
I am attempting to configure an inbound service that utilizes the EnsLib.SOAP.GenericService class. This service receives HL7-v3 content wrapped in SOAP requests. Despite reading the documentation on configuring SOAP services, I am still confused.
In my current configuration item "Fr_Centrak_RTLS", I have ‘Enable Standard Requests’ checked, ‘Pool Size’ set to 0, and the port is unspecified.
.png)
I have also configured a web application with the following details:
My challenge is determining the correct URL address for sending SOAP traffic to this service.
example
Input = 25/03/1988
expected Output = 19880325
Question for folks who have connected to an External FHIR repository outside of IRIS. Within the HS.FHIRServer.Interop.HTTPOperation there is not an option to include TLS or an OAuth authentication when connecting to an external Repository. So then how is that piece done if you need to Authenticate against an OAuth Server before you are able to access the data or call the Web Services/REST calls?
After upgrading your system, you may receive the error below when you try to open the Management Portal:
ERROR #5001%ZEN.Component.vgroupThis error is caused by outdated information remaining in your browser's cache.
You can resolve the error by clearing your browser's cache.
Hi Guys,
I never ran a Compact & truncate process before and we do have a 4.6TB database with 1.9TB free space available that I would like to recover
.png)
but when trying to compact first it did ask me to target in MBs and not sure what this is, does it mean that I need enough space to move all my 4.6TB database to ? and given that system is running live does the Compact or Truncate process stop or affect our system from been used from our clients and any idea how long such process would take to finish (minutes or hours) ?
Thanks
Hi Guys,
My Cache.dat has a expanded a lot and some globals occupy a lot of disc space with just junk data so I would like to kill some globals and shrink the cache.dat file because I'm running out of disk space?
So is there a way to do that without having to do it through the Truncate & Compact databases?
Thanks
#Mapping
@Jenna Makin
@Ashok Kumar Thangavel
@AndreClaude Gendron
@Saul Bloom
@Anthony Filaski
Folks,
I need help mapping following JSON elements with HS.SDA3 Container. Could you please share if you have any mapping details.
Source ------->Target (SDA3)
Medication (Custom Persistent class with HS.SDA3.Medication)
Procedure(Custom Persistent class with HS.SDA3.Procedure)
Referral (Custom Persistent class with HS.SDA3.Referral)
Appointment (Custom Persistent class with HS.SDA3.Appointment)
Immunization (Custom Persistent class with HS.SDA3.Vaccination)
Diagnosis (Custom Persistent class with HS.SDA3.
Hi Guy,
Made a fresh new Install of our currently working application from our current server to a new one but when trying to run the application in the new server it raises a page not found error:
.png)
this is the web application setup
Not sure what I'm missing?
Hi
I've installed Ensemble 2018 then enabled IIS from Win features, then realized that CSPGateway doesn't exit so I downloaded and installed CSPGateway-2018 from WRC.
so now I'm trying to set up a Website application and facing some issues, and I think IIS and CSPGateway in inetpub are not connecting or synchronising properly but mostly is accessing Web gateway via IIS my understanding is that I can access using the following url http://machinename/csp/bin/Systems/Module.cxw using my machinename or IP but it's not happening.
Is there a way to exclude specific members from a class when exporting to an XML or UDL file? Bonus question: is there a way to import from that file without overwriting those members that were excluded?
The use case is to export an interoperability production class without the ProductionDefinition XDATA. We plan to source control the production items through the Ensemble Deployment Manager, but we still need to export any custom code in the class definition itself.
I am receiving an XML input to my router and in the routing rule I need to traverse through the xml data , apply a for loop and fetch data.
How can I do that ?
Input :
<?xml version="1.0" encoding="UTF-8"?>
<Input>
<data>
<Ids>
<Id>
<Type>A</Type>
<Value>123</Value>
</Id>
<Id>
<Type>B</Type>
<Value>456</Value>
</Id>
</Ids>
</data>
</Input>
I would like to read 123 from above xml in a rule ..
Hi,
In Ensemble we have a http service that need to handle various ISO200022 xml structures .
We would want to use the Virtual Document message structures to pass this xml document on to the reset of the Production for processing.
Hi,
Is there anyway available to get the current status of Write Daemon through code?
Generally, this information is present in Management Portal->System Operation->System Dashboard->System Usage->Write Daemon.
Thanks & Regards,
Syed
got below error
15:58:02.702:Ens.Director: ERROR <Ens>ErrProductionNotShutdownCleanly: Production
For naming conventions, please check the respective document pages below.
About table name (class name): Identifier rules and guidelines - classes
About column names (property names): Identifier rules and guidelines - class members
As stated here, only alphanumeric characters and characters with Unicode code points larger than ASCII 128 can be used in column names (property names).
We are upgrading to Iris for Healthshare 2024.1. When resending HL7 (resend and edit), the new message displays with a blank line in between each line of text. In order to resend the message successfully, these blank lines need to be deleted. Is this a setting, a bug or new functionality? Is there a way to remove this functionality?
.png)
How can I extract the sub-string before the last occurance of a delimeter in a string.
string = "aaDtext1Dtext2"
Delimeter = D
answer I need = aaDtext1