Question Yone Moreno · Oct 2, 2020 When we test using the actual HL7 message, how could we achieve to send the response from the Process to the Service? Hello, We would need your help. When we test using the actual HL7 message, how could we achieve to send the response from the Process to the Service? Process does not send response to a EnsLib.HL7.Service.TCPService when we test it with a EnsLib.HL7.Operation.TCPOperation, why? We are developing a Production which is composed by: - A service: EnsLib.HL7.Service.TCPService - A bussiness process - An Operation: EnsLib.HL7.Operation.TCPOperation We have the following challenge: #Ensemble 0 2 0 258
Question Yone Moreno · Sep 11, 2020 How could we convert a string to an object in a simpler way? Hello We were wondering if there is a more concise and simple way to convert information from a string to an object. The string has each line separated by ; and each field divided by | The string would look like: #Code Snippet #Caché 0 2 0 232
Question Yone Moreno · Aug 18, 2020 Validate signature from string Hello, We would need to handle the following use case: A system replies to our GET with a list of codes and a signature. Each code has been signed with the SHA512withECDSA algorithm We would need to: 1 Concatenate all codes in a string 2 Decode the string which is in Base 64 3 Validate the string using the signature which we get in the reply We have read for step 2: Base64Decode #Caché 0 1 0 202
Question Yone Moreno · Aug 18, 2020 Convert date from: 2021-08-18T07:44:14.180+0000 to dd/mm/yyyy Hello, We would need help. We have used the following commands: set fecha = "2021-08-18T07:44:14.180+0000" set nuevaFecha = ##class(Ens.Util.Time).ConvertDateTime(fecha,"%Y-%m-%d%T%H:%M:%S","%d/%m/%Y") And when we write it to the terminal: w nuevaFecha It outputs nothing Could you help us? We have read: #Caché 0 3 0 274
Question Yone Moreno · Aug 17, 2020 Production message filtering: How could we find a substring inside a GlobalCharacterStream? Hello, We would need to find messages where a property "pEntrada" of type %GlobalCharacterStream contains "C006" We have read: https://docs.intersystems.com/irislatest/csp/docbook/Doc.View.cls?KEY=EM... We have tried: The production outputs: #Ensemble 0 3 0 250
Question Yone Moreno · Aug 14, 2020 How could we attach external libraries to generated code with Java Gateway Wizard: %ProcessErrorStatic+4^%Net.Remote.Proxy java.lang.NoClassDefFoundError: Hello, We would need some help. We have a Java project in Eclipse which uses two external libraries, which are referenced as a maven pom.xml dependency. We created a JAR with all the dependencies included. We have used the Java Gateway Wizard as follows: In the image you could see that we have chosen the project's jar, written IP and PORT of Gateway and written all external dependencies' server path separated with semicolons. #Java #Atelier 0 5 0 340
Question Yone Moreno · Aug 11, 2020 How could we retrieve REST body? Hello, We would need to get the body from a REST message. How could we do that in a service? Could you provide an example, please? We have read: https://community.intersystems.com/post/restful-way-data-transfer #Ensemble 0 3 0 183
Question Yone Moreno · Jul 21, 2020 Are there any how-to or FAQs about Objectscript and Healthshare? It would be interesting if there is some recommended documentation about best practices using Healthshare for interoperability. Also, some how-tos or frequently asked questions about ObjectScript. Or event better, if there are experienced developers who would like to share some common habits on their work with Studio / ObjectScript, which are valuable to do the developing work better. For example, How to get the XML of a class and write it into a REST operation: ... #ObjectScript #HealthShare 0 1 0 178
Question Yone Moreno · Jul 15, 2020 How could we get the SourceConfigName from a Ens.Response sent by an Operation to the BPL? Hello, We would need to know the Ens.Response SourceConfigName to identify which Operation has raised an exception. We have tried: $$$LOGINFO("..%Process.%PrimaryResponseHeader.SourceConfigName..: "_..%Process.%PrimaryResponseHeader.SourceConfigName) //It outputs an empty string $$$LOGINFO("response.SourceConfigName: "_response.SourceConfigName) //It generates an exception We would need to get from an Ens.Response which body is null, its SourceConfigName: #Business Operation #Business Process (BPL) #Interoperability #Ensemble 0 2 0 231
Question Yone Moreno · Jul 7, 2020 How could we get the ErrorStatus which holds a Response? Hello, We wonder how could we get the following attribute: Which is found in the response Header being sent from a Operation to a Process, when there is an exeptionWwe would need to access the Response ErrorStatus text in the Process We have already tried: #Caché 0 1 0 123