go to post Marc Mundt · May 6, 2020 Can you provide some more details about what you're trying to do and what the process that you're trying to change looks like? Here's an overview of productions and message flows. In most cases, you would add business logic using a Business Process. Here's a nice online course about developing Business Processes.
go to post Marc Mundt · May 6, 2020 Sure. You're already extending %XML.Adaptor, which includes the methods XMLExportToStream and XMLExportToString.
go to post Marc Mundt · Apr 21, 2020 The wkhtmltopdf website has an example of the command-line usage -- looks fairly simple. And have a look at our product documentation for $ZF(-100) on how to execute an external program from ObjectScript.
go to post Marc Mundt · Apr 20, 2020 There are some open source tools available that convert HTML to PDF: https://wkhtmltopdf.org/
go to post Marc Mundt · Apr 8, 2020 I'd recommend capturing the status value returned by FileInfo() -- it's possible that the call is failing. set tSC=..%sftpSession.FileInfo(pFilename,.tFileInfoList) if $$$ISERR(tSC) { // There was an error, do something }
go to post Marc Mundt · Apr 7, 2020 这三个参数有什么用途?^PAADMi("No") 是医院episode号码的指数。空字符串的参数会不会需要episode号? 最好要修改stored procedure先检查需要的参数。
go to post Marc Mundt · Mar 31, 2020 Cache Terminal doesn't have a setting similar to Putty. Windows has methods for finding a specific window that belongs to another app and bringing it to the foreground. You could write a C++ or C# program to do that: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-se...https://stackoverflow.com/questions/11512373/findwindow-and-setforegroun... Or many scripting languages have libraries that use those Windows methods: https://www.autoitscript.com/forum/topic/113390-bring-application-or-pro...https://www.programcreek.com/python/example/89828/win32gui.SetForeground...https://metacpan.org/pod/Win32::GuiTest
go to post Marc Mundt · Mar 27, 2020 Have a look at this module on Health Connect's XDS.b components:https://docs.intersystems.com/healthconnect20191/csp/docbook/DocBook.UI....
go to post Marc Mundt · Mar 26, 2020 "Insert(^content)" doesn't work because you can't store an object reference in a global. When you do "set ^content=citasPrimarias.datos.GetAt(j)", it converts the object reference to a string before storing it in the global.
go to post Marc Mundt · Mar 26, 2020 In BPL, you can use a "Trace" activity to log a value to the trace log.
go to post Marc Mundt · Mar 26, 2020 Yone, what is the data type of the property "datos" in Mensajes.Response.HistoriaClinica.ConsultaCitasResponse. I assume it's a list of a custom class that has two properties named fecha and hora? Property datos as List of my.class.dato; If so, you would do something like this: set dato=##class(my.class.dato).%New() set dato.fecha=fecha set dato.hora=hora do target.datos.InsertAt(dato,indice)
go to post Marc Mundt · Mar 23, 2020 When the delay expires, Ens.Alarm will send a message back to the business process. You can query to find any messages that have been sent to Ens.Alarm but for which it hasn't sent a message back. This is based on the value of status: the status will be "Delivered" until Ens.Alarm sends the message back to the BP, at which point it will change to "Completed". SELECT * FROM ens.messageheader WHERE status='Delivered' AND sourceconfigname='MyBPL' AND targetconfigname='Ens.Alarm' As Eduard mentioned, it would be good to understand the use case as there may be another way to accomplish it.
go to post Marc Mundt · Mar 10, 2020 Right now you're deleting items from the same list you're iterating through. As an alternative you could loop through the original list but in the loop you build a new list. Only insert an item into the new list if it doesn't contain the characters you're trying to remove.
go to post Marc Mundt · Mar 6, 2020 Putty has options to take certain actions when it receives a BELL character ( $c(7) ). Can you change your routine to return a BELL when it completes?
go to post Marc Mundt · Mar 5, 2020 Yone, have you tried setting ContentCharset to "UTF-8" instead of "utf-8"?
go to post Marc Mundt · Feb 28, 2020 The following works for me: TESTING>write ##class(Ens.Util.FunctionSet).ConvertDateTime("20200228210000", "%K(0)%q", "%K(-5)%q")20200228160000
go to post Marc Mundt · Feb 28, 2020 The syntax for the informat and outformat fields is documented here:https://docs.intersystems.com/healthconnectlatest/csp/docbook/DocBook.UI... Have a look at the %K modifier in particular.
go to post Marc Mundt · Feb 25, 2020 You're right, this code will not work as-is with fields that exceed the max string size (~ 3 MB). If you expect large fields/segments (such as attachments in OBX:5), there are stream-handling methods that you can use. If OBX:5 is smaller than the max string size then I don't see any problem regardless of what type of data it contains as the OBX:5 content shouldn't include "^".