Question Yone Moreno · Jun 24, 2020 How could we test a TCP HL7 service? Hello, We wonder how could we send an HL7 message to a service to test it. For example, we have a service, at localhost port 19111 We have tried to use SoapUI to send a REST POST request as follows: At the event log we see the following trace: Then, if we try with POSTMAN as follows: #Business Service #HealthShare 0 3 0 3.1K
Question Yone Moreno · Jun 16, 2020 How could we move all files from a set of directories to one directory inside the server? Hello, We would like to learn how would you approach this task. We would need to check every day a set of folders which are outside our server (in fact we could see them as if they were "inside" the server), then we need to check for modified or created files in the last day, and move all the ones which match the criteria to just one folder in our server. We have thought about doing the following: 1) Create a task to run it each day: #Code Snippet #Caché 0 5 0 651
Question Yone Moreno · Jun 15, 2020 How could we iterate over an ORU, to get all OBXs? Hello, We would need to iterate all over the OBXs list and get their OBX3 CE1 to determine if it is the lab result we need to send to the output system. We wonder how could we achieve this in a foreach component inside a Bussiness Process. We think we would need to use a foreach because of it is needed to generate a message, for each one of the OBX which have the OBX3 CE1 that the output systems uses for the lab results. #Code Snippet #Caché #Ensemble 0 1 0 584
Question Yone Moreno · Jun 1, 2020 How could we iterate on a segment list, to get a needed field which is present in each one of the list's elements? Hello, We are wondering how could we iterate over a segments list, The use case is that we are sending from Process X to process Y a message, only if at the OBR4 CE1 there is a certain code. We were getting this field as follows: set context.studyReason = request.GetValueAt("ORCgrp(1).OBRuniongrp.OBRunion.OBR:UniversalServiceIdentifier.Identifier") How could we iterate over the following message and get both OBR4 CE1 (1 and 2): #HL7 #Caché 0 2 0 694
Question Yone Moreno · May 19, 2020 JavaGateway exception: <UNDEFINED>zGetJavaVersion+22^%Net.Remote.Service.1 ‽‽ Hello, We are trying to connect to a database through a JavaGateway. We observe that the JavaGateway reports: Failed to start the Java Gateway server: ERROR #5002: Error de cache: <UNDEFINED>zGetJavaVersion+22^%Net.Remote.Service.1 *versionWithPrefix We have checked that we do have the Java Home set: /usr/java/jdk1.8.0_65 And we have seen the java files in the server: #ObjectScript #Caché 0 2 0 597
Question Yone Moreno · May 13, 2020 How could we install zpm? Hello, We have read the installation guide to get started with zpm package manager: https://openexchange.intersystems.com/package/ObjectScript-Package-Manag... We wonder what means the second step: "Import the zpm.xml into IRIS and compile via any desired way (Management Portal, Studio or Terminal)" We have thought that it means to place the zpm-0.2.2.xml file inside "C:\InterSystems\HealthShare_2\opt\contenedor" #InterSystems Package Manager (IPM) #Caché 0 7 1 1.4K
Question Yone Moreno · May 11, 2020 Could Ensemble generate a CADES sign? Hello, We would like to know if Ensemble could generate a CADES sign from a string and a certificate. We have read: https://cedocs.intersystems.com/latest/csp/docbook/Doc.View.cls?KEY=GXML... So we have seen that we could create a class, to sign a document, and store the sign inside that new class. We have also seen that there are some different algorithms to choose from, like sha1. #ObjectScript #Caché 0 1 0 181
Question Yone Moreno · Apr 30, 2020 Convert XML to a Request Message which has HL7 segments Hello, We would need to convert a message from the following class: #Code Snippet #HL7 #Caché 0 1 0 897
Question Yone Moreno · Mar 27, 2020 How could we paralelize two different calls? Hello, We are developing a BP where we would need to call at the same time to get appointments in two external systems. So then, we would need two threads, one for primary care appointments, and other for specialist appointments . We need to paralelize both calls because of both of them require some time and we would need to shorten it as much as possible. We are currently using a flow: #Business Process (BPL) #Ensemble 0 3 0 300
Question Yone Moreno · Mar 26, 2020 Merge two lists? Hello, We are developing a method to take two messages which have a list of data types. It is being defined as: Class Mensajes.Response.HistoriaClinica.ConsultaCitasResponse Extends Ens.Response [ ProcedureBlock ]{ #ObjectScript #Caché 0 1 0 625
Question Yone Moreno · Mar 26, 2020 Show a XML message stored in a context variable, using the Production? Hello, We are developing a Transformation and we are wondering: how could we debug and show a XML message which is being an output from a transformation, without storing it into request/response/callrequest/callresponse? We mean, how could we show a context variable in the production? For example, let's have a transformation which stores an appointment in a variable called: context.especializadasConFormatoPrimarias How could we show in the Production? Currently it is being stored as the Transformation's output: #ObjectScript #Caché 0 1 0 224
Question Yone Moreno · Mar 26, 2020 Correct way to set a value into a list? Hello, We have a tranformation where we would like to convert a date from the following format: "'dd/mm/yyyy' 'hh:mm'" (double quotes are just visual to indicate this is a string) to date and time separated: date: dd/mm/yyyy time: hh:mm We have already splitted the datetime into date and hour as follows: #ObjectScript #Caché 0 1 0 392
Question Yone Moreno · Mar 25, 2020 Convert %String withn JSON structure to %DynamicObject and then to XML message Hello, We have been reasearching how could we parse a string with a JSON structure like the following: #JSON #ObjectScript #XML #Caché 0 1 0 316
Question Yone Moreno · Mar 16, 2020 invalid HTTP version, using SoapUI to send a HL7 message as XML Hello, We have a Service which behaves differently even though two equal Soap UI XML requests are being sent, from different systems. When it is being sent from the other system, our Service's log shows: ERROR <Ens>ErrGeneral: invalid HTTP version'xmlns:ges="http://XXX.XXXXXXXXX/GestionPacientes">' When we send the same XML message from SoapUI, it is being processed by our system. #Business Service #InterSystems IRIS for Health 0 1 0 454
Question Yone Moreno · Mar 5, 2020 Sending HTTP requests to store special characters‽ We would like to be able to store accented characters into an API. Currently our Rest Operation is the following: #ObjectScript 0 10 0 2.4K
Question Yone Moreno · Mar 5, 2020 Get SourceConfigName and TargetConfigName in a BPL We need to get service's both source and target names. We have checked that we could obtain them in the service: set ^sourceName = ..#SERVICENAME However we would like to get it directly from the BPL. We have tried: #ObjectScript #Ensemble 0 2 0 665
Question Yone Moreno · Feb 18, 2020 How could we write ✍️ XML from a Response Message? Hello, We would like to get the XML which is being given by the requested system, directly to our Service output. We have tried to just output directly the Message Response as follows: #Interoperability #ObjectScript #XML #Ensemble 0 2 0 799
Question Yone Moreno · Feb 14, 2020 Remove delimiters which hold not present values in a HL7 message, using a Data Transformation? Hello, We need to convert this structure, where we observe empty component separators "^": #DTL #Ensemble #InterSystems IRIS 0 4 0 826
Question Yone Moreno · Feb 13, 2020 How could we store a list into a global variable? Hello, We would like to store a list into a global. The need is to get the full Web Service's Response Message, because of currently, our Operation sends the message to the Process, whith an empty list: We have created a copyList which is a clone of the list which is being returned from the web service client: #Globals #ObjectScript #Caché 0 2 0 251
Question Yone Moreno · Feb 12, 2020 Convert String to JSON Hello, We would like to convert a string which represents a dynamic JSON object, to a JSON. We have: #JSON #Caché 0 2 0 1.6K