David Reche · May 22, 2019 go to post

Hello @Jeff Moffett

Do you mean HS Health Connect? or HS Information Exchange?.

I think the only place for get the installer right now  is WRC 

Regards

David Reche · Jan 16, 2019 go to post

Sound very nice!! Thanks @Dimitry Maslennikov I'll used it and let you know wink

David Reche · Jan 16, 2019 go to post

Hello John, I can't see your email in your DC profile... I don't know if it's my fault or it's not public visible

David Reche · Jan 7, 2019 go to post

Ummmh... not sure about this.

Specially in the case of Java Business Host Services and Operations because the JVM must run inside the IRIS instance memory (AFAIK), in this case there is no way of interaction between two different Containers or... there is a way? when I use two or more containers the interaction always was done using TCP/IP (Understand container communication).

This is a good question to clarify.

Thanks

David Reche · Dec 15, 2018 go to post

Hello Lassi,

You should create a new Business Service class extending the HL7 Business Service of your election (TCP, HTTP, etc) and after overwrite this method:

method OnConstructReply(Output pReplyDoc As EnsLib.EDI.Document, pOriginalDoc As EnsLib.EDI.Document, ByRef pReplyCode As %String, ByRef pSC As %Status, pEarlyAck As %Boolean) as %Status

Override this method to construct a customized reply document. Inputs are the original document and the reply code and the status code that the framework produced in processing the original document. If you change the status code but do not construct a reply document, the framework will use the new value to construct a standard reply document. 
If you construct a non-HL7 object it must still have a property called 'Envelope'. Piece:2 of this value will be written verbatim.

Consider this example (I didn't test it):

method OnConstructReply(Output pReplyDoc As EnsLib.EDI.Document, pOriginalDoc As EnsLib.EDI.Document, ByRef pReplyCode As %String, ByRef pSC As %Status, pEarlyAck As %Boolean) as %Status

{

    Set pReplyDoc=pOriginalDoc.NewReplyDocument(,..LocalFacilityApplication)
    Set pReplyDoc.Source=pOriginalDoc.%Id()
    Do:..#UseOriginalControlId pReplyDoc.SetValueAt(pOriginalDoc.GetValueAt("1:10"),"1:10") ; copy the control id to the ack control id
    Set tAckMSA=##class(EnsLib.HL7.Segment).%New($LB("",1))
    Set tAckMSA.Separators=pReplyDoc.Separators
    Do tAckMSA.SetValueAt("MSA",0)
    Do tAckMSA.SetValueAt("CE",1)
    Do tAckMSA.SetValueAt(pOriginalDoc.GetValueAt("1:10"),2)
    Do:$G($$$ExpectedSequenceNumber) tAckMSA.SetValueAt($$$ExpectedSequenceNumber,4)
    Do pReplyDoc.AppendSegment(tAckMSA)
    Set pReplyDoc.IsMutable=0
    Quit $$$OK

}

David Reche · Nov 13, 2018 go to post

Not sure if helps but in order to compile the class use View/Command Palette and after choose COS: Import and compile

David Reche · Nov 13, 2018 go to post

Hello @Jeff Fried, quick question.

The CD releases will be Docker Images downloadables only from WRC or will be another public site? (Docker marketplace)

Thanks

David Reche · Oct 24, 2018 go to post

@Evgeny can you tell me:

How to edit an application (title, image, description, etc.) after published? I can't find the option.

And also, how to you publish new versions?

many thanks!

David Reche · Oct 21, 2018 go to post

BINGO!!

It works like a charm!!

davidreche$ node test.js
Intersystems IRIS instance:  IRIS {}
Open result:  { ok: 1, result: 1, iris_pid: '9511' }
Version:  Node.js Adaptor for InterSystems IRIS: Version: 1.1.161 (CM); IRIS Version: 2019.1 build 284
Set global ^nodeTest(1) result:  { ok: 1,
  global: 'nodeTest',
  subscripts: [ '1' ],
  data: 'At Sun, 21 Oct 2018 19:12:52 GMT: global set from Node.js',
  defined: 1 }
 
Thanks!!
David Reche · Oct 21, 2018 go to post

Generated files are hidden by default, and the .disp class is marked as generated. However to show the class, you have to click the little arrow on the row of buttons at the top right of the Server Explorer to open the customization menu. It’s this one:

From there, choose “Filters and Customization” and then uncheck the “Generated files” option (to disable the filter that hides generated classes) and click OK. After that to can added to the Git repo without problem.

David Reche · Oct 19, 2018 go to post

Hello @Ward De Backer, 

Have you tested this with IRIS?

I am trying to run it using your guide and the documentation (https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls?KEY=BXJS_connect), and I have this error:

var db = new irisobj.Iris();
         ^

TypeError: irisobj.Iris is not a constructor

I am using node v8.6.0 and iris.800.node.

My code is almost the same as yours:


let irisobj = require('iris');
var db = new irisobj.Iris();
console.log('Intersystems IRIS instance: ', db);

Thanks

David Reche · Jul 17, 2018 go to post

Yeah... that is not funny but is true. You have to add the "files" and not the "packages" in order to get the files inside the XML project file

David Reche · Jul 17, 2018 go to post

I guess you are using Studio (Not Atelier) in order to create the Studio Project. Right?

Then the idea is simple. You have to create a new Studio Project, add any class to the project, save the project from "File/Save Project As..." and after use the Project from the Deployment Page at Management Portal.

What's the thing not working?

David Reche · May 16, 2018 go to post

Laura Blázquez you can do that with JSON because JSON is schema less but XML objects need a schema in a explicit or implicit way you need to define how the object is represented by the XML notation and viceversa.

David Reche · Apr 25, 2018 go to post

Thank you Pili !!

Yes, we only use DNI (our national identifier) in Spain but your method still being useful for a lot of DC users... I hope more and more :-D

David Reche · Feb 22, 2018 go to post

Yes you are true in your observation. There are severals things to improve.

Regarding get several files in an easy way you can use an Studio Project in order to pack everything you need and select the project in the Deployment screen.