go to post Anthony Master · Dec 18, 2024 exactly, but that was not clear until I hit this. I assumed "return" meant stop processing the rest of the line. Sort of like this in Javascript, I just assumed returned meant to return, not continue... // a = b && c = d function foo(a, b, c, d) { let res = a === b ? 1 : 0; // a = b if (res === 0) { // left side of && return res // return left side } res = c // res && c res = res === d ? 1 : 0 // res = d return res }
go to post Anthony Master · Dec 13, 2024 I should have read this comment the first time my import failed! Updated my import file to the correct new version (the one with the `Export` and `Document` elements) and it worked like a charm. And just for reference, you don't have to put in your `zv` string or a `ts` at least with the version I am using, haha.
go to post Anthony Master · Oct 21, 2024 Try it yourself, you will not be able to access OBX-6 through regular means of the GUI if the OBX-5 is over the limitation of %String. I tested this and spent a lot of time troubleshooting around it.
go to post Anthony Master · Oct 21, 2024 I am open for performance suggestions. We are using version: IRIS for Windows (x86-64) 2023.1.3 (Build 517U) Wed Jan 10 2024 13:36:58 EST [HealthConnect:5.1.0-2.m3] As I am fairly new to InterSystems, I had to sort of figure this out by perusing the docs and trial and error. Can you explain what you mean by the "temp counterparts"?
go to post Anthony Master · Oct 21, 2024 Given the length of the OBX segment, I could not get the OBX-6 from source and set it in the OBX-5.3 & 5.4 as needed. Once I went down the path of reading the OBX entire segment from the stream, it just made sense to continue using a stream and code block for the entire OBX segment.I also tried to do a foreach loop in the GUI fashion, and then use the `k1` in the code block, but that didn't seem to work, probably just my lack of experience, so I found something that worked and just utilized it instead.Thank you for the feedback though ;)
go to post Anthony Master · Sep 17, 2024 Okay, so newb question then, is there any way to write a DTL without this syntax and use a raw syntax that doesn't use a document type? Or would I need to create a document type that would somehow encompass every HL7 v2 doctype irregardless of the version and actual structure of the document and allow any Z-segments?
go to post Anthony Master · Sep 17, 2024 we ended up just hard coding the values themselves, In some cases we mapped addresses on the local servers host file and then can use the domain name instead of the IP address, as we don't get to control DNS for the domain from our team. Started spending more time trying to solve the issue of creating and utilizing a global variable map instead of just using what works and moving on.
go to post Anthony Master · Jun 11, 2024 @Timo Lindenschmid Thank you for that, so I'm working with two guys already experienced and they helped to create the global config variables. And it works in terminal, but not in a production service/process/operations settings. Here is what we are trying to do: But no matter what kind of formatting we try to put in this "IP Address" field, we cannot get it to parse and get the mapped value. Any ideas?ERROR <Ens>ErrOutConnectExpired: TCP Connect timeout period (5) expired for ^epicTST:5117