go to post Marc Mundt · Jan 27, 2021 In Studio, go to File -> Change Namespace In the Cache Connection Manager window, click "Connect"In the Server Connection window, select the same server and click "OK"Here you can untick "Remember Password" and login again
go to post Marc Mundt · Jan 25, 2021 You were on the right track with %WriteJSONFromObject(), but you'll want to use %WriteJSONStreamFromObject() instead. I don't see what purpose the Body property in your request class serves. You can just create a stream object variable instead. set myTempStream=##class(%Stream.GlobalCharacter).%New() set tSC=##class("%ZEN.Auxiliary.altJSONProvider").%WriteJSONStreamFromObject(.myTempStream, pRequest) if $$$ISERR(tSC) { quit tSC } ...then later: Set tSC=..Adapter.PostURL(tURL,.tHttpResponse, , myTempStream)
go to post Marc Mundt · Jan 20, 2021 Check the settings on the business operation -- you should set the Pool Size > 1. This controls how many processes the operation uses to process requests.
go to post Marc Mundt · Jan 19, 2021 Can the customer provide you with a sample XML file?If not, you can try something like this online tool which accepts an XSD file and generates a sample XML document with fake data according to the XSD schema.Demo.HL7.MsgRouter.Schema:ORM_O01 really isn't applicable to your use case. Not worth spending your time on it.
go to post Marc Mundt · Jan 14, 2021 You need to literally use %Ensemble("%Process")... Don't replace "%Process" with the name of your component.
go to post Marc Mundt · Jan 14, 2021 A reference to the business process (our message router) that the DTL is being run from is stored in %Ensemble.("%Process") and you can use that to do a SendRequestSync. Be sure to add lots of error handling. DTLs throwing strange errors can be a pain to troubleshoot. if '$D(%Ensemble("%Process")) { write "This doesn't work in DTL test mode",! quit $$$OK } else { #dim bp as Ens.BusinessProcess set req = ##class(Ens.Request).%New() set bp=%Ensemble("%Process") set tSC=bp.SendRequestSync("My.Operation",req,.resp) if $$$ISERR(tSC) { // Oops... error! } quit tSC }
go to post Marc Mundt · Jan 5, 2021 Hi Yone, I see two possible problems: It seems like "Do ImagenMIMEPart.Body.Write(linea)" should be inside the while loop. No? In this case after the final read() linea may be empty and that is what is set as the content of the mime part. While 'stream.AtEnd { Set linea=stream.Read() } $$$LOGINFO("linea: "_linea) //Escribir la imagen en el mensaje MIME Do ImagenMIMEPart.Body.Write(linea) And here you are using a character stream to read the jpeg, but jpeg is a binary format. You'll want to use %Stream.FileBinary instead. Set stream=##class(%Stream.FileCharacter).%New() Set sc=stream.LinkToFile("C:\Users\ext-ymorjim\Pictures\miSCS.jpg")
go to post Marc Mundt · Dec 2, 2020 %K(-5) wouldn't take care of DST automatically. $ZDATETIMEH(myUTCTime, -3) will convert a $HOROLOG format (actually $ZTIMESTAMP format) value of UTC time into a $HOROLOG value in local time. So you can first use ConvertDateTime with %q(4) to convert to $ZTIMESTAMP format, then use $ZDATETIMEH with -3 to convert to local time, then use ConvertDateTime (or $ZDATETIME) to convert the $HOROLOG format back into a formatted date/time string. https://docs.intersystems.com/healthconnectlatest/csp/docbook/Doc.View.c... https://docs.intersystems.com/healthconnectlatest/csp/docbook/Doc.View.c...
go to post Marc Mundt · Dec 2, 2020 Yes, this can be done through configuration and is a standard feature of the HL7 HTTP business operation (EnsLib.HL7.Operation.HTTPOperation). Details on settings for the HTTP operation. Look in particular at SSLConfiguration:https://docs.intersystems.com/healthconnectlatest/csp/docbook/Doc.View.c... Details on creating an SSL/TLS config (with or without cert) to be used by the operation:https://docs.intersystems.com/healthconnectlatest/csp/docbook/DocBook.UI...
go to post Marc Mundt · Nov 15, 2020 Yes, it's possible by editing the chartbook. Each chart in the chartbook can be assigned a sequence number, charts are then displayed in numerical order of the sequence number.
go to post Marc Mundt · Nov 14, 2020 Previous thread about this...https://community.intersystems.com/post/objectscript-vs-code-icon-doesnt...
go to post Marc Mundt · Oct 16, 2020 For any new application you'll want to select Unicode. 8-bit would be used for legacy applications that were designed for 8-bit character sets.
go to post Marc Mundt · Aug 12, 2020 It's strange that with StayConnected set to 120 the service is not closing the connection. WRC could help figure out why we're not disconnecting. You can use this method to programmatically disable/stop and re-enable the service:s tSC=##class(Ens.Director).EnableConfigItem("Demo.HL7.TCPService",0)
go to post Marc Mundt · Aug 10, 2020 Hi Adam, I'm not familiar with XLT, so I don't have any examples of converting XLT to DTL. Here's some more information on executing XSLT transformations from a BPL:https://docs.intersystems.com/healthconnectlatest/csp/docbook/DocBook.UI... Or you can execute an XSLT transformation directly from COS:https://docs.intersystems.com/healthconnectlatest/csp/docbook/Doc.View.c...
go to post Marc Mundt · Jul 20, 2020 You could do this at the Apache level using mod_security:https://www.liquidweb.com/kb/whitelisting-in-modsec/
go to post Marc Mundt · Jul 16, 2020 Just to rule out a problem with the second when's condition, does the "IMPRESSION TO FAX" rule work if its the only rule? And it would be good to have a look at the business rule log as it may offer some more insight into how the routing was decided.
go to post Marc Mundt · Jul 10, 2020 Here's an example of the DTL. You may need to set other fields in the ECRUpdateRequest based on your local needs.
go to post Marc Mundt · Jul 9, 2020 If you are interested in Business Services, Operations, Processes (as well as DTLs, and routing rules) as Benjamin mentioned the new Interface Maps may be of help. Interface Maps doesn't exist in 2017.1, but you could upgrade a test instance to 2020.1 to do your analysis of orphans before doing the main upgrade.