Ensemble

Syndicate content 70 

I was hoping someone might be able to help me. 

I am after some code i can run (preferably in terminal) to return details of an SQL Gateway Connection (ODBC).

Scenario is a forgotten password for a server that needs its connection details replicating on another production.

I know this can be done with Credentials by simply querying the 'Ens.Config.Credentials' class however i cannot seem to find the equivalent.

Last answer 26 September 2017 Last comment 26 September 2017
0   0 1
209

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
249

views

0

rating

The Ensemble Scheduler is used for automatically turning on and off business hosts at certain dates and times.   You could use it if, for example, you wanted to only run a business host from 9am to 5pm every day.    Conversely, if you want do to trigger an event to occurr at a specific time, for example, a job running at 1am to batch up and send off all the previous day's transactions in one file, we recommend other methods such as the Task Manager.

This article explains how the Ensemble Scheduler works.   The screenshots below are from a test production with 2 scheduled components created to demonstrate how the Ensemble Scheduler can be used to manage the production’s processes over time.   Here’s the Production Configuration showing two items: HL7 TCP Service and FTP Passthrough Operation.   

Last comment 21 September 2017
+ 4   1 2
879

views

+ 4

rating

Looking for some suggestion on what the community has been setting Confirm Complete to? The testing I did when this was set to size is way too slow at around 1 message for 2 seconds. Is it safe to set this value to None? Would I get half messages if the sending system didn't compete writing the message.

Last answer 21 September 2017
0   0 1
0

comments

204

views

0

rating

Hi, I was hoping that someone could point me to the error in my ways.  I am trying to follow the examples to setup Ensemble 2017.1 in a docker container on an Ubuntu 16.04 virtual machine.

I have a directory that contains

Dockerfile
cache.key
ensemble-lnxubuntux64.tar.gz

When I execute:

docker build -t ensemble-simple .

I am getting the following error

Last answer 21 September 2017 Last comment 21 September 2017
0   0 3
1649

views

0

rating

We have a large number of processes and operations being applied to outbound HL7 messages from our PAS.

If I select a message, and open its visual trace, I see the service, as well as all processes, and operations. 

My debugging is often about a new operation, and I don't need to see all the other operations that are in functioning as desired.

Is is possible to configure Visual Trace to only show specific services,processes and operation?  Or is is possible to see a trace from the perspective of a particular operation, showing only (service,process&Operation) columns in the trace that pertain to that operation, or the resulting message?

 

Kind Regards,

Stephen

 

Last answer 20 September 2017 Last comment 20 September 2017
0   0 1
175

views

0

rating

Hi world

in my program , i  need to implement this kind of trigger on my business service ,

please how can i introduce it in my business service's classe.

thank's.

 

Start the business host every day at 8 a.m. and stop it every day at 5 p.m.

START:*-*-*T08:00:00,STOP:*-*-*T17:00:00

Stop  the business host every year on January 2 at 7 a.m. and start again on January 3 at 7 a.m.

STOP:*-01–02T07:00:00,START:*-01-03T07:00:00

Last answer 20 September 2017
0   0 1
0

comments

135

views

0

rating

Hi world,

i want to program a schedule for my adapterless business service , i found a method "test" in "Ens.ScheduleHandler" but i don't know how i program it for my service can be invoked each one houre by day .

i'm waiting for your help because it's the key for my application .

i don't like to use ensemble portal.

Thank's.

Last answer 20 September 2017 Last comment 20 September 2017
0   0 1
305

views

0

rating

Hello,

 

I am working in a csp application where the user can configure a TCPS Service in a guide like manor.

So I want to be able to present a html <select> element, the values / text I want to present in this control should be the ID field from Security.SSLConfigs in the %SYS namespace.

How would I go about doing this? Can this be done?

 

Best regards,

Magnus

 

Last answer 18 September 2017 Last comment 19 September 2017
+ 1   0 1
191

views

+ 1

rating

Hello guys,

I was wondering whether there is another alternative to extracting a certain string out from a bigger one, rather than using the function $piece.

Maybe regular expressions? Another specific function?

Example:

Big string:

NAD+SLA+++TextIsHereNAD+SLA+++TextIsHere

String I want to extract:

TextIsHere

Function I'm already using:

w $piece("NAD+SLA+++TextIsHereNAD+SLA+++TextIsHere","NAD+SLA+++",2) > Will ouput TextIsHere
w $piece("NAD+SLA+++TextIsHereNAD+SLA+++TextIsHere","NAD+SLA+++",3) > Will ouput TextIsHere

Thanks!

Last answer 15 September 2017
0   0 1
0

comments

323

views

0

rating

Should be easy, right?  My DEV environment is working just find and sending out alerts via email, however my TST and PRD environments are showing "ERROR #6070: SMTP Send failed" on the Ens.Alert email operation.  Same configuration settings on the operation, same SMTP server being addressed (I confirmed that I can ping the mail server from DEV, TST, and PRD boxes) and same port#.  I turned on "Log Trace Events" but don't see anything additional in the logs. Am I missing something?     

Let me know if you have any thoughts.

Thanks,

Hunter

 

Last answer 14 September 2017
0   0 1
0

comments

197

views

0

rating

While creating namespaces, there is a provision for keeping the data, and code separately in database.

What I am looking for,

What are the benefit we can achieve by doing this?

Is there any documentation of article which might help understanding?


Thanks You!

Last answer 14 September 2017 Last comment 14 September 2017
0   0 4
470

views

0

rating

Hi world, i work actually on a medical care project , i'm blocked since this monday , i read a lot off topic for ensemble production but i think that the solution is so far to find, please can you help me , my question is :

i want to create a data base inside it i associat for each patient his own rule , how can i do it? thank's

Last comment 13 September 2017
0   0 2
0

answers

140

views

0

rating

Hello guys,

I'm trying to achieve the same at this guy:
https://groups.google.com/forum/#!topic/ensemble-in-healthcare/Hw9cRgVTTGY

But I couldn't actually figure out how to save the calling application port and then use it in the Business Service to forward the complete response (ADR A19) onto the same port that made the request.

I know it isn't possible to forward message from a Business Process back to a Business Service.

Can you help me out?

Thanks!

Last answer 13 September 2017
0   0 1
0

comments

776

views

0

rating

Hello,

 

I come from a programming background, but haven't touched ObjectScript before my current job, so please forgive my ignorance.

 

Within an Ensemble system, I need to post some information to a RESTful web service. I'm just trying to figure out how to create a method which takes a simple message and posts this off to a RESTful web service?

 

Thanks in advance for any help.

Last answer 31 July 2017 Last comment 12 September 2017
0   0 1
914

views

0

rating

For a HL7 production, How will I be able to use two different segment level transformation (sub transform) in the main transform.

For Ex:
Few mappings from source PID --> target ZAX segment (subtransform 1)
Few mappings from source PV1 --> target ZAX segment (subtransfrom 2),

In the main mappings, I have used subtransform 1 followed by subtransform 2. It doesn't seem working fine.

Any suggestions please. Thanks:)

Last answer 11 September 2017
0   0 1
0

comments

191

views

0

rating

Preface

Before we begin, I'd like to mention that I am by no means an Ensemble expert, so take this with a grain of salt and please feel free to offer any suggestions for improvement. That being said, I have enjoyed working with Ensemble and wanted to share the approach I took to poll an external REST API for patient data in the hopes that it might help others with a similar goal.

If you get bored easily and just want to see some code, feel free to jump straight to the example on github. It uses dummy data (for obvious reasons) but the core principles should be the same.

The Goal

The goal of the project was to read a global containing a list of critical results and query an external REST API to determine whether they had been viewed. If they were, we could perform some logic on our side and remove them from our pending list, otherwise we would check again on our next poll interval

Last comment 7 September 2017
+ 2   0 3
683

views

+ 2

rating

This 'feature' have been around for a long time, but I don't see any articles on it so I thought I would make everyone aware.

A method is provided to customize the appearance of the Cache cube icon in the system tray so different instances can be visually distinguished.  When csystray.exe, the Cache/Ensemble cube program, starts, it will look for files named "up.ico" and "down.ico" in the \bin directory below the instance installation directory.  If these .ico files are present, csystray.exe will load the icons and display them in place of the default blue and gray Cache/Ensemble cube icons.  These files should each contain a single small (16x16) icon.

In order for the change to take affect, you need to exit the cube and then start it again from the Start menu (note - obviously this only works on Windows as the Cube doesn't run on other platforms)

Last comment 7 September 2017
+ 14   0 8
476

views

+ 14

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
241

views

0

rating

I wanted to share a little tidbit which is in the Studio documentation (http://docs.intersystems.com/cache20152/csp/docbook/DocBook.UI.Page.cls?...) but many people who have been using the InterSystems Studio for a long time missed the addition of this *very* useful feature, and every time I mention this to an audience  I see at least one face light up because of how excited they are to learn about it!

Within Studio, the Output pane (View -> Output) is actually misnamed.  It is actually an Input/Output window which can be used to run Caché ObjectScript commands!  

Last comment 5 September 2017
+ 9   0 7
664

views

+ 9

rating