I have a query would run very long time and I get always timeout error from SMP.
Thank for your help.
I have a query would run very long time and I get always timeout error from SMP.
Thank for your help.
Hello to all my fellow Cache Developers/Experts:
My question has to do with how I would go about changing the image file size when loading (saving) an image file (i.e. JPG, BMP, GIF, PNG, etc...) to a Cache Database Table.
Here is my business scenario:
Is it possible to have a, b, c, d, e, and f as a counter instead of the counter being numeric? See below...Epic would like us to set OBX.4 using a alpha numeric combination.
OBX|4|ST|69548-6^Genetic Variant Assessment|1.a|Mutation IDH1:Not Detected||||||F OBX|5|ST|69548-6^Genetic Variant Assessment|1.b|Mutation IDH2:Not Detected||||||F OBX|6|ST|69548-6^Genetic Variant Assessment|1.c|Mutation NPM1:Not Detected||||||F OBX|7|ST|69548-6^Genetic Variant Assessment|1.d|Mutation RUNX1:Detected||||||F OBX|8|ST|69548-6^Genetic Variant Assessment|1.e|Mutation TET2:Detected||||||F
I am trying to come up with a way to decode the Base64 we receive in an HL7 message into a PDF file and save it in a directory on our AIX machine. I thought I had the following working at one time but I am having issues. Has anyone done this before?
ClassMethod DecodeBase64HL7ToFile(base64 As %Stream, Ancillary As %String) As %Boolean
{
set Oref = ##class(%FileBinaryStream).%New()
set Oref.Filename = Ancillary
Do base64.Rewind()
While 'base64.AtEnd {
set ln=base64.ReadLine()
set lnDecoded=$system.Encryption.Base64Decode(ln)
do Oref.Write(lnDecoded)
}
Do Oref.%Save()
quit 1
}
Thanks
Scott
Hi,
My doubt is about the SQL Query in Caché:
I don't want to take all results from the table and orgainze them manually, for example: I have a table with 50 records, but I only want to select 10 records, being from tenth until the twentieth and this without knowing their IDs.
So, how can I do this, without losing performance, there is any way?
NOTE: In other SQL languages I can do, for example, SELECT * FROM extbl Limit 10 OFFSET 10
Thanks,
Andrei L. Nenevê
Hi guys,
I have a technical question. I have a Ens.BusinessOperation which contains a main method with parameters "In" As Ens.StreamContainer and Output "Out" As Ens.StringContainer. Return type is %Status.
Can this method just do "Quit $$$OK"?.
Currently this BO is used for see messages in Full Trace View.
It is a correct way to proceed?
Thank you
I'm looking at an issue where I need to grab an ID number from an external SQL table when it doesn't exist in a HL7 message, and then add it to the HL7 message.
I have built the logic within a BPL which checks for the lack of ID, and then pulls the ID from the SQL table (and storing its value using the context functionality within the BPL) however I am at a loss as to how I then take the ID and add it to the HL7 message before passing it to a router.
I'm not aware of how I would call the context value from within a DTL (or if that is even the correct way of proceeding) so I'm hoping someone
I am currently trying to add a condition to a routing rule that uses the %Source property of a routing rule. Unfortunately I am getting compile errors when I use the "%", and if I get PROPERTY DOES NOT EXIST if I try and use any of field. I have tried referencing the messages as "Message." , "Record.", "FullRecordMapClassName." , "Document." . Does anyone know how to reference the properties of a record map in a routing rule, or if it is even possible? Thanks!
Hi
Is it possible to include the ≥ or ≤ in a ZEN select component? i.e.
<select id="condition" label="Condition" valueList="<,>,=,≤,≥" displayList="<,>,=,≤,≥"/>
I have tried ≥ and ≤ but these also do not work. If I inspect the options in the browser and edit with these characters they display correctly but just not when loaded in the zen page.
Cheers
Iain
Just wondering which table holds detail for SQL Gateway Connections.
Hello all, I created a web service and I am trying to access it using SoapUI but I get this error:
<text>ERROR #5002: Cache error: <PROTECT>zGetMsgClass+3^%SOAP.WebService.1 ^oddCOM("TestWeb.Service.TestWebSoap",85,"P",0,"soapAction","http://127.0.0.1/csp/dev5/Utils.TestWebService.testNow"),h:\dev5\</text>
It appears to be trying to make an entry in the ^oddCOM global, but is getting a PROTECT error.
I also tried a .NET app where I added the service using the WSDL. In .NET I get "Internal Server Error" so I'm assuming it's the same error.
Any ideas welcome.
Thanks, Malcolm.
I have a class to track data changes.
As it becomes slower and slower to find last changes I think I need an index.
The 2 classes are just simplified reality.
HowTo ?
and

Come to Barcelona and join us !!
How suitable is Docker for standalone deployment of an Ensemble version and Ensemble application together?
The context is deployment by an application partner of an integration application and the supporting Ensemble version as a single package (single file ideally), to multiple environments and to multiple customer sites.
I don't have experience with Ensemble on Docker so I'm wondering what gaps and pitfalls may exist.
The focus of the question is deploying the Ensemble product and application code - I do understand that consideration is needed on management of the application data, including
I'm having trouble with a vb6 application attempting to connect to a Cache 2017 release. It uses the older Cacheobject.dll instead of ActiveX. The application currently works with a 2010 release of Cache. Is Cacheobject.dll supported in later releases?
I looked through documentation and posts and did not find an answer.
Thanks in advance for any response.
I reached out to Gary Monger yesterday and asked him how he configured Apache for his SMART on FHIR demo?
See https://learning.intersystems.com/mod/page/view.php?id=2948.
Gary's response was for me to post my question on the Developer Community forum - so that other people can benefit from the answer.
This is what I asked Gary:
I'm after turning a local Health Share instance on my laptop into a SMART on FHIR server.
The *recording about doing all of this is excellent, however, I could do with some instructions on how you configured the Apache web server before running the Cache scripts.
*https://lea
Hello,
Is there a way for Class Methods to be called from a CSP page before a user is authenticated, and without any session information?
Thanks!
I've been trying to interoperate with careevoltion using their backend-services.
Spec: http://docs.smarthealthit.org/authorization/backend-services/
This involves creating a JWT (JSON Web Token) that I have been unable to do using %OAuth2.JWT:ObjectToJWT.
I downloaded jwt.pfx and then ran the following openssl commands to create some pem files.
openssl pkcs12 -in jwt.pfx -out file.nokey.pem -nokeys openssl pkcs12 -in jwt.pfx -out file.withkey.pem openssl rsa -in file.withkey.pem -out file.key cat file.nokey.pem file.key > file.combo.pem3
I then ran some node code to create the private
Recently DigitalOcean introduced new plans for droplets, but as existing droplets stayed on the old plans I decided to use API to resize them automatically. After reading tutorial, I wrote partial client for DigitalOcean API, which I would like to share today.
I have an interface that does not send me specific ID's, so I am scanning the AIL3.2 (Text) field for certain characters. The Routing rule is getting pretty big with all the OR statements. Is there a way that I can define what I am searching for in the data lookup table, and not have to scan the whole field that it does by default? Is there a way that I can simplify this?
<rule name="Provation" disabled="false"><constraint name="source" value="CaseSched949502Normalization"></constraint><constraint name="docCategory" value="SIUOSU"></constraint><constraint name="docName" value="SIU_S12,SI
InterSystems has performed various system and application benchmarks to determine the potential performance impact after the corrections for Meltdown have been applied.
Overall our tests have shown at worst a performance degradation of less than 2% and in some cases slightly better performance, but within the margin of error of testing. All tests confirm that the specific performance impact to a deployed application is directly related to how this application is using system resources. Specifically, this means that in certain cases (e.g. a query) a larger performance impact is possible.
While
Hi, Community!
Check a new session recording from Global Summit 2017:
iKnow What You'll Do Next Summer
After creating a ClassMethod for a routing rule is it possible to test an HL7 message within Studio rather than using Management portal? It would make it easier to debug the custom function to see where the rule is failing.
Is it possible to reference a property on a schema in the routing rule for instance Document.SomeSchema.Property
New to Cache and CSP,
Hacking up Sample upload.csp and was wondering if you can get the drive letter and director (on a Windows system) on the file that is picked?
I cannot find anything on MIMEDATA, such as FileName, Size, MemSection, etc that can do this.
Another meothod that can accomplish this?
Hello, I am trying to get the Zen Print Server to work so that i can use the pdfprint mode in Zen Reports. Zen Reports will create pdfs just fine, so that part is working. And the printer works fine from other applications on this computer and I have verified the printer name a bunch of times.
This is Caché 2016.2 on Windows 10. I have tried this using Adobe 11.0 and Adobe DC. I have made and started a Zen Report Print Server with
Name = "ZenPrint"
Port = "4321"
and Ping Port = "4320"
which says it is running. When I run the report with a query string of
"?$MODE=pdfprint&$PRINTSERVER=4321&$PRINTTIME
how do you substring only the year or month from current date
(I am new to this language) I have got a JSON request to handle in a web application which is in %CSP.Request object. But the request which I am going to handle is of type array of objects.
like,
[
{
"Name": "bat"
},
{
"Name": "Cat"
},
{
"Name": "rat"
},
{
"Name": "mat"
},
{
"Name": "hat"
},
{
"Name": "chat"
},
{
"Name": "please"
},
{
"Name": "help"
},
{
"Name": "me"
},
{
"Name": "in"
},
{
"Name": "getting"
},
{
"Name": "the"
},
{
"Name": "value"
},
{