Ensemble

Syndicate content 69 

I am looking for a solution with Ensemble to talk to a old NTLM based SOAP Service. Does anyone has done this before?

We have the webservice calls working via SOAPUI but we are looking how we can make it work with Ensemble.

Is there a ready to use Outbound Adapter for NTLM ?

Thx.

Last answer 14 March 2017 Last comment 19 March 2019
0   0 3
279

views

0

rating

Hoping someone can help.

I'm trying to request data from my local FHIR repository using a simple client ( using SMART ). I get the following CORS error in Firebug.

"NetworkError: 406 Not Acceptable - http://localhost:57775/csp/healthshare/fhirserver/fhir/Patient/1"
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:57775/csp/healthshare/fhirserver/fhir/Patient/1. (Reason: CORS header 'Access-Control-Allow-Origin' missing).

I can request data with no problems using the Chrome RESTClient. I can also request data from other public FHIR end points with no problems.

I've played around with adding additional Http headers to the request but haven't had any success.

Is there something I have to configure in Ensemble to enable CORS ? Perhaps it's another issue?

Please let me know if you've come across this issue.

Thanks,

Conor

Last answer 28 September 2016 Last comment 21 September 2017
0   0 1
243

views

0

rating

What are the pros and cons of developing a custom database driven routing engine vs. using the Ensemble standard routing engine. What I'm trying to accomplish with the custom routing engine is less manual intervention every time a new route is added. The con I can see with the custom engine is performance may lag behind the standard engine. My development vs. Intersystems essentially.

I appreciate feedback. Thanks!

Last answer 5 September 2017 Last comment 6 September 2017
0   0 2
236

views

0

rating

Hi,

 

In my routing rules I'd like to work with multiple rulesets. When running the proces, it only seems to execute the first ruleset.

Is it possible to have multiple rulesets active in the same business rule, or is there another way to not have to jam all rules in the same ruleset?

Thanks in advance,

Joost Houwen

Last answer 2 August 2017 Last comment 2 August 2017
+ 1   0 2
208

views

+ 1

rating

Ensemble 2015.  Working on an a way to send NACK'd HL7 messages to a flat file for external review/troubleshooting. (Similar to the way BadMessageHandler deals with validation errors.)

I think I have the Alert piece down, but need assistance with the exact syntax to do an SQL query in the DTL (or a custom function) to pull the HL7 message Raw Content into the Alert, based on the SessionID.

(Also, anything special to write alerts to the File Operation?)

 

Thanks,  Brian

 

Last answer 12 July 2017 Last comment 12 September 2016
0   0 1
385

views

0

rating

Usually I recommend to set the global buffer (GB) as large as possible in order to maintain in memory more globals as possible. I don't know if this is a standard recommendation, but I want to discuss what should be the best buffer size for a Ensemble instance that only process messages.

Last answer 3 April 2017 Last comment 5 April 2016
+ 1   0 4
1188

views

+ 1

rating

Is there a way to have a Data Lookup table be automatically updated via a script or cache code? We have a file that is being created by our EMR, and we need to import it into Ensemble to update it. Just trying to see if we can automate this process.

 

Thanks

Scott Roth

Ohio State University Wexner Medical Center

Last answer 11 January 2017 Last comment 11 January 2017
0   0 0
451

views

0

rating

Hi All,

I have below schema structure:

base:MSH~{~[~base:PID~[~{~base:NK1~}~]~[~base:PV1~[~base:PV2~]~]~]~{~[~base:ORC~]~base:OBR~[~{~base:NTE~}~]~base:TQS~[~{~[~{~OBX~}~]~[~{~base:NTE~}~]~}~]~}~}

Now there are few cases where source application is sending NTE segment after TQS segment

Is there any way of updating the schema to use the same NTE from OBXgrp, cause we dont want to update the code logic as its happening for few messages only.

Example:

ORC
OBR
NTE  ---Main NTE
TQS
OBX
NTE  ---OBXgrp NTE
ORC
OBR
NTE  ---Main NTE
SFT
NTE  ---want it to be OBXgrp NTE, however it is unrecognized as when we are entering OBXgrp we are expecting OBX segment before NTE.


Is there any way to update schema to consider that last NTE in above message is from OBXgrp or I need to add optional NTE outside OBXgrp and change DTL code as well?

Last answer 22 December 2016 Last comment 22 December 2016
0   0 2
180

views

0

rating

Hi all,

I'm trying to convert a HL7 section to a XML or JSON string.

We need to save the content of PID section into a SQL Column, therefore we need to convert it into a XML o JSON string

is there any easy way to convert it?

I've tried to convert it directly into a DTL, but all my attempts have been unsuccessful

Best regards,

Francisco Lopez

Last answer 22 December 2016 Last comment 20 December 2016
0   0 0
494

views

0

rating

I want to set the value in the second field of OBX-5, or OBX-5-2. My schema is not broken down to that granular level, so I can't just click OBX-5-2 to populate it. I tried a few variations without success.

target.{PIDgrpgrp().ORCgrp().OBXgrp(1).OBX:ObservationValue(1).2}

target.{PIDgrpgrp().ORCgrp().OBXgrp(1).OBX:ObservationValue(1)(2)}

target.{PIDgrpgrp().ORCgrp().OBXgrp(1).OBX:ObservationValue(1.2)}

 

Any ideas?

Last answer 15 December 2016 Last comment 15 December 2016
0   0 0
295

views

0

rating

Hi,

i have a csp application (namespace default) to which i like to login from remote. This is possible via

http://localhost:57772/csp/namespace/MyApp.MyPage.cls?CacheUserName=<user>&CachePassword=<password>

So the credentials need to be in cleartext which is in fact a problem. The invocation is made within a lan so we don´t need to transport the credentials over the web. Anyway, a remote application likes to use that page (display and work with it) and is able to pass in different parameters. These parameters are encoded in a way I couldn´t figure out yet.

I try to figrue out how such an remote login approach would work in the given scenario. Anyone who has accomplished this yet and what are the steps neccessary to solve this, since remote app and my app need to be use the same encoding mechanism for the credentials.

Any suggestions would be highly appreciated.

best regards,

sebastian

Last answer 14 December 2016 Last comment 14 December 2016
0   0 1
183

views

0

rating

One of my application needs to be able to receive and forward (almost) any kind of Email Message that will be thrown at it. I am able to do that using %Net.MailMessage and %Net.SMTP and %NET.POP3 classes from Caché code.  So far no problem.

The challenge: for a specific reason I want to be able to persist and track those message within ensemble. Now, If I simply use %Net.MailMessage and persist it as a serial object within an ensemble message body,  I get issues, most of them caused by maximum string length definitions of the %Net.MailMessage. So, unfortunately it is not that simple. The MailMessage coming from the POP3 inbound Adapter needs to be serialized, and this serialization needs to be generic enough to handly any kind of mail message and transform it back to a MailMessage to send it via the SMTP outbound Adapter.  I am for example thinking of a rfc822 file export that can be persisted as a stream and be imported back into a %Net.MailMessage

Last answer 2 December 2016 Last comment 16 November 2016
0   0 1
216

views

0

rating

I'm trying to debug a CSP page but I'm not able to set up a breakpoint into <script> tag.

Is it possible to setup on CSP files? Am I forgeting something?

 

PS:

this is the tag

<script language="Cache" method="OnPreHTTP" arguments="" returntype="%Boolean">

Last answer 1 December 2016
+ 1   0 1
0

comments

686

views

+ 1

rating

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

 

Last answer 1 December 2016 Last comment 30 November 2016
0   0 1
509

views

0

rating

I saw in: http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=... How to add a Setting to a Host, BO , BS or BP. But, how to set a beautiful name for a setting? Ex for properties: Property foo As %String; Property bar As %String; Parameter SETTINGS = "foo,bar"; I'd like something like: "A foo property" "A bar Property"
Last answer 21 November 2016
0   0 0
0

comments

163

views

0

rating

The select query here "select Settings from Ens_Config.Item" in the SQL Query of management portal returns this: 

ValidationHost 7ActOnTransformErrorHost1 ReplyCodeActionsHostE=D AlertOnErrorHost1 9 AlertGroupsHost$LabAlertGroup,1-CriticalAlertGroup BusinessPartnerHost

How do I isolate just one of the settings e.g. ReplyCodeActions or LocalInterface

For example, i want to search for all entries that have  a value for ReplyCodeActions

I realize i can open the production in studio and search for those setting values.

 

 

 

Last answer 12 November 2016 Last comment 13 November 2016
0   0 0
274

views

0

rating

Hi,

Currently i am building a CSP application using Intersystems cache to automate few tasks in Ensemble.
Basically, I have 2 .csp class files, file1.CSP and file2.CSP in namespaces namespace1 and namespace2 respectively. On satisfaction of a condition I forward the request from file1.csp to file2.csp. while forwarding it prompts me to enter the log-in credentials again as the second .csp file is in a different namespace. Is there any way i can bypass the login screen while forwarding the request from 1 csp to another (as i am using the same credentials for both the namespaces) ?

PS: While forwarding request from file1.csp to file2.csp i am also sending few values by using URL rewriting method.

Last answer 9 November 2016 Last comment 9 November 2016
0   0 1
153

views

0

rating