Question Yone Moreno · Oct 10, 2023 How could we get Query Params inside a REST Service with HealthShare? Hello, First of all thanks for your time reading this post, and thanks for your help with your answers, thanks. We have the following doubt: We need to create a REST Service in HealthShare, to process incoming calls with the following URL's format: #Code Snippet #Key Question #REST API #HealthShare 0 9 0 321
Question Yone Moreno · Sep 6, 2023 Efficiently Parsing and Structuring Message Data: A Developer-Friendly Approach Good morning, Thank you for taking the time to read, understand, and answer this question. If you needed to convert a message where questions are separated by "|", and the question text is the portion before the ":" and the response is the portion after the ":"; Which way would be the most readable and understandable for other developers? Input example: NAME OF SQUAD 1?:ALPHA|NAME OF SQUAD 2?:BRAVO|NAME OF SQUAD 2?:ANSWER THREE||NAME OF SQUAD 25?:YANKEE|NAME OF SQUAD 26?:ZULU Output structure: #Code Snippet #HealthShare 0 2 0 98
Question Yone Moreno · Aug 16, 2023 Message Viewer: Criteria to find value inside first element of a list Hello, First of all thanks for reading this question, and thanks for your time, trying to help us. We would need to find a value inside the first element of a list, which is a property inside a Request Message. The Message is: #Code Snippet #Ensemble 1 3 0 135
Question Yone Moreno · May 16, 2023 The best kept secret to remove a key in your JSON response - unlock the answer! Good morning: Thank you very much for reading the doubt and above all thank you very much for answering. Given the following use case: If we have a Destination Service that through a HTTP GET by REST gives us a certain JSON response, where it should be noted that it is a list of objects where each object in the list does NOT have a key: #JSON #REST API #XML #HealthShare 0 3 0 198
Question Yone Moreno · Aug 12, 2022 Efficient regular expression to detect 3 attributes in URL Hello community, First of all thanks for your time reading and answering this post: We have read the following topics: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls... https://community.intersystems.com/post/using-regular-expressions-cach%C... #Code Snippet #Caché 0 2 0 204
Question Yone Moreno · Jun 3, 2022 SOAP Service: Managing ER7 returns HTTP 500 Good morning, We would appreciate if you could read us and if you have the opportunity, please respond to us. The current situation is as follows: We have 2 environments PREproduction and INTegration : Ensemble version in PREproduction: Cache for UNIX (Red Hat Enterprise Linux for x86-64) 2018.1.6 (Build 717U) Thu Feb 24 2022 13:27:54 EST Version of the tool to convert XML to ER7 and vice versa, the ITB, in PRE (we get it in the ITB.info.cls file): #SOAP #Caché #Ensemble 0 1 0 145
Question Yone Moreno · Apr 25, 2022 Send messages from Dicom Process to multiple Operations Hello, good morning First thank you for your time in reading and answering our question. We have been reading, inquiring, researching about how to make multiple dispatches from 1 Process of type "DICOM.BP.QueryProcess" to several target Operations. We need some help to further develop this use case, and some advice 🧭, examples or recommendations #Code Snippet #HealthShare 0 1 0 214
Question Yone Moreno · Mar 28, 2022 Production message filtering: How could we find a substring inside a %XML.GlobalCharacterStream? Hello, First of all thanks for your help How would you recommend us to filter in the message viewer to find inside a property called "mensaje" of type " %XML.GlobalCharacterStream" which is inside a class called " Mensajes.Request.Laboratorio.peticionER7Request", the text "24642"? We have tried: #Code Snippet #Caché 0 2 0 378
Question Yone Moreno · Mar 28, 2022 TCP and DICOM: Investigate service invocation options Good morning, We would appreciate your support: Developing an integration to perform a "Query / Retrieve" circuit with DICOM medical imaging studies, we would need the following: Options of invocation of the DICOM TCP service that has been published for this integration, alternatives to the command line option. Specifically we have read: Receive DICOM document with an embedded PDF and metadata. #Code Snippet #Ensemble 0 3 0 250
Question Yone Moreno · Nov 4, 2021 How could we activate a SOAP Operation only during a time slot‽ Hello community, It would be appreciated if you could read and respond to us: ➡️ We need to activate a SOAP Operation during a time slot, in order to send messages to the target system, only for a few hours; for example from 4am to 8am. The requirement is to do this without a scheduled task. This is because when changing nodes, in the production mirrors, there are difficulties, challenges, or issues with scheduled tasks. #Business Operation #SOAP #Ensemble 0 2 0 189
Question Yone Moreno · Oct 27, 2021 How could we find inside PID a specific field? First of all thanks for your help and time We would need to find inside PID:3 which one meets the following condition: PID 3.4.1 = "CAC" and PID 3.5 = "JHN" We have been investigating how could we do it We have achieved to get single fields in a call request as follows: request.GetValueAt("ORCgrp(1).ORC:OrderingProvider(1).IDNumber") ##class(Ens.Util.Time).ConvertDateTime(request.GetValueAt("PID:DateTimeofBirth"),"%Y%m%d","%Y-%m-%d") #Code Snippet #Caché 1 2 0 355
Question Yone Moreno · Oct 14, 2021 How could we use MTOM to send a zip with a csv inside? First of all thanks for your time reading this question, and thanks for your help We have the following use case: we would need to send with MTOM a zip which contains a csv We have read: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls... #SOAP #Caché #Ensemble 0 2 0 331
Question Yone Moreno · Oct 7, 2021 HL7 Message: Find a value inside message First of all thanks for your time and help reading this question: We would need some help: The use case is: to add a rule inside a EnsLib.HL7.MsgRouter.RoutingEngine, where we iterate in a EnsLib.HL7.Message to find a specified value inside all OBXs segments. It should return a Boolean Is there any recommended way, or standard function inside Ensemble, that we could use, without having to develop a new function? We have read: #Caché #Ensemble 1 6 0 659
Question Yone Moreno · Sep 24, 2021 Add parameter "name" inside "Content-Type" header when we send a MTOM attachment using a SOAP request Hello, first of all thanks for your time reading this question, and thanks for your time: We are expected to send a file as an attachment in a SOAP request using MTOM protocol. It is expected to include a "name" parameter inside the "Content-Type" header, as we show below: #Code Snippet #SOAP #Caché 0 4 0 537
Question Yone Moreno · Aug 5, 2021 Convert hexadecimal to base64 Hello, first of all thanks for your time reading our question 💭 We would need to be able to transform a hexadecimal string to a base64 coded one. 🔄 To be specific, our use case is this: 1º We have our hexadecimal as follows: 4C5803040101020179C3913EC3BA7C4C580708010101021824584D4C 2º We convert it to ASCII: LXyÑ>ú|LX$XML using this online tool: #Code Snippet #Caché 0 5 0 1.3K
Question Yone Moreno · Aug 4, 2021 Convert a %String property with CDATA and XML content to Ensemble object Hello, first of all thanks for your time reading this question ◀️ We would need to achieve the following task: We have a Ens.Response message with this structure: #Code Snippet #XML #Caché 0 2 0 1K
Question Yone Moreno · Jun 29, 2021 How would you recommend to delete a .stream in a REST Service? Hello, first of all thanks for your time reading this question, We would need some help, we would need to delete a %GlobalBinaryStream which is a variable called "pOutput" which is being sent from a REST Service to POSTMAN Currently we have tried: #Code Snippet #Caché 0 3 0 232
Question Yone Moreno · Jun 21, 2021 How could we check if birth date from PID 7.1 is below 65 years old? Hello, First of all thanks for your time reading our question, and thanks for your replies and help We would need to know if a patient has less than 65 years old, using their birthday from the PID 7.1 So far we have developed the following code: #Code Snippet #Caché 0 4 0 268
Question Yone Moreno · Jun 8, 2021 Generate random number with 4 digits Hello, first of all thanks for your time reading this question and thank you for your replies We would need some help We are trying to create a function to generate a random number with always 4 digits We have already read the following topics: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls... #Code Snippet #Caché 0 5 1 475
Question Yone Moreno · May 28, 2021 How would you recommend to list all REST Services in a namespace? Hello, First of all thank you for reading this question Also thank you for giving an answer We would need some help Our objective is to spot all REST Services in a namespace ➡️ How could we detect all services with AdapterClassname = EnsLib.HTTP.InboundAdapter , in an automatic way, in a namespace? #Code Snippet #REST API #Caché 0 5 0 220