Pasi Leino · Oct 24, 2022 go to post

This is exactly my question too. I'm creating and sending milloins of xml files and they get stored into the stream -folder in the namespace. The filename is obviously contained in the StreamContainer object, but is there really no clean way to delete those files? In the case of retry within the BusinessOpeation, the file has to be there, but in the case of return message, I should be able to delete it using %File.Delete()? This will slow the process down and I would like that while performing the Management data purge (including the bodies), would also purge those files, yes?

Pasi Leino · Jun 29, 2022 go to post

The TLS capabilities are also platform dependent, so simple Ensemble upgrade will not suffice.

Pasi Leino · Jun 8, 2022 go to post

I think the standard interface is the OnProcessInput(). Forget the other methods.

The idea is when the wired ADAPTER is Ens.InboundAdapter, the OnProcessInput() gets fired upon each time set in the call interval. The adapter itself does nothing more.

Pasi Leino · Jun 8, 2022 go to post

I use simple classes which extend Ens.BusinessService all the time to run things.

All you need to do is to set the parameter

Parameter ADAPTER = "Ens.InboundAdapter";

Then perhaps add custom Properties and assign them to SETTINGS and then override

Method OnProcessInput(pInput As %RegisteredObject, Output pOutput As %RegisteredObject) As %Status
{

// do your stuff

quit $$$OK

}

Pasi Leino · Apr 1, 2022 go to post

Sorry, I’m not sure where to find a reliable download point for the fee version at this time. You might want to try a few found with google search, but I cannot vouch for any of them.

Pasi Leino · Feb 23, 2022 go to post

Since nobody seems to take this, I’ll say what I think. 
First, there is no ’standard’ sample for any ORM, or any other HL7 v2 message. Each application utilizing these messages pose their own interpretations, coding and other requirements on the applicable message exhange. IRIS for Health provides a nice virtual document (vDOC) to view and manipulate HL7 messages and exposes all valid fields according to selected HL7 version schema. 

If you are looking to provide a messaging service using HL7 v2 messages with a party, you can pick an choose pretty much how you use the message format. If the orher party already has that defined, you should ask them to provide the samples for you.

-Pasi-

Pasi Leino · Jun 2, 2021 go to post

You can create a REST based interface in IRIS for your application to talk to, but IRIS sounds like a huge overkill to become just a ”database” unless there are tons of requirements to integrate with other back end systems at the same time.

-Pasi-

Pasi Leino · May 31, 2021 go to post

I have been using %XML.Document methods to manipulate XML. As soon as you find the appropriate %XML.Node, you can use method ReplaceCharacter().

-Pasi-

Pasi Leino · Feb 25, 2021 go to post

Hi, are you able to describe the question with more detail and maybe with an example. Now it's difficult to understand exactly what the problem is.

thanks

Pasi Leino · Jan 4, 2021 go to post

With ftp errors I just usually google with the error code. This is Error: 426 Connection closed; transfer aborted. This could be related to active/passive mode setting. Have you considered this in your custom adapter?

Pasi Leino · Mar 11, 2020 go to post

I have implemented a dicom worklist service with integration to our RIS system.

I would advice you against a 1:1 messaging back to Epic though. Here is why:

- many Modalities request worklists very frequently, so the workload or latency to Epic side might become a limiting factor
- modalities share several study rooms/resources and that modality/resource mapping might not be available in Epic (I could be wrong here)
 

In stead, how I did it was to attach the dicom service to our RIS’s event handler mechanism which would send a Soap call upon any changes of a study status and describing details of the study to the dicom service. The dicom service would then store/update the relevant details of the study internally, so when the modality requests a worklist, the service already has all the data and does not have to request it from somewhere else. The dicom service also holds mapping between resources, modality AET’s and provides an UI to maintain that.

Pasi Leino · Feb 6, 2020 go to post

I have a related problem:

I can not see all the users through the Management Portal UI, but I can list all of them with SQL. Any ideas why?

Another question: What exactly is the "published API"? Where to find it?

Also, the warning in the docs only discourages the use through SQL. Object access and API  and Portal are fine, right.

Pasi Leino · Dec 1, 2019 go to post

So when is the next Malaga meetup? I would like to join if possible.

-Pasi

Pasi Leino · Jul 15, 2019 go to post

Thank you for another interesting video. However, if the sound quality was better, it would make the viewing much more enjoyable. Simply use lavalier microphone and adjust the compression for much better results.

Pasi Leino · Sep 28, 2018 go to post

I have Eclipse Photon, and I have these files in the .settings folder:

.settings|⇒ ls  com.inter*

com.intersystems.atelier.core.prefs   

com.intersystems.atelier.sync.prefs

com.intersystems.atelier.core.ui.prefs

None of them looked like the right file.

Pasi Leino · May 7, 2018 go to post

I'll answer myself.

A side note: The method InsertNamespace does not seem to do anything useful with either classes (Document or Node). If anyone knows what it is supposed to do, please let me know.

However upon creation of the document you usually do

Set node=document.GetDocumentNode()

Then you are pointing to the root element and can add attributes at your will.

-Pasi-

Pasi Leino · Apr 24, 2017 go to post

I think the problem is that the browser turns the GET request into OPTIONS request and the question is how do I deal with this in the service end. There seems to be a OnHandleOptionsRequest() method in %CSP.REST but I don't get how to use it?

Pasi Leino · Apr 12, 2017 go to post

Setting Authorization Basic header results  Access-Control-Allow-Origin error.

login:1 XMLHttpRequest cannot load http://<ens_host>:57773/csp/nnn/login. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access.

I have cors enabled in the service and the service works just fine with 

curl -H "Authorization: Basic <base64_coded_username_password>" ur

l

So it looks like Chrome wants to perform OPTIONS request in stead of plain GET and things go wrong there after and this might be a combination of many things. 

I anyone has any ideas, I would appreciate.

-Pasi-

Pasi Leino · Jun 5, 2016 go to post

Ah, sorry for not realizing this.

However the latest FT 2016.3.0.628.0 does not include cache421.node. Nor does 2016.2 FT?!

Pasi Leino · Jun 5, 2016 go to post

"Support for Node.js  4.2.x has been introduced with Caché 2016.2. If you grab a Windows field test kit you can find the binding file here: <install-dir>\bin\cache421.node."

I can only find cache0100.node and cache0120.node there. I tried both FT:s 2016.2 and 2016.3.

Pasi Leino · Jun 5, 2016 go to post

When will InterSystems update the cache.node module to support more current node 4 LTS?

I was somewhat disapointed to see only the old cache0100.node and cache0120.node modules with the new fieldtest.