Thank you Jeffrey as always. We log all our data in the cache so pulling details based on that.
- Log in to post comments
Thank you Jeffrey as always. We log all our data in the cache so pulling details based on that.
Thank you Muhammad, will have a look. But our version is the old one not IRIS.
Thank you Jeff, as always a clear explanation and detailed.
Thank you David, this worked for me.
thank you Nigel, so detailed, and very well explained. I appreciate that
Thank You Timothy, for kindly taking the time to guide me. so clear explaination. Thank you
Wow Wow Wow!! Thank You.
Thank you for this Timothy. Goes a long way.. so clear and able to understand well.
That worked a charm Timothy, thank you. Can I ask, if I want to add an additional date field, how can I add a between clause in the createSearchResult set method? so
Where name starts with
And Somedate BETWEEN ?(datefilter1) and ?(datefilter2)
super. thank you for the best practice guidance
You can get the value by :
Thank You Julius, very informative for me. Gives me an idea of the different ways I can implement the solution
Amazing idea. Thank you Julius.
Thank you so much Julian... Much appreciated.
my input is EnsLib.HL7.Service.TCPService and my BO - send is EnsLib.HL7.Operation.TCPOperation. Can I still use it? I see that my input has the option for ACk setting. Will your method work if I set it to Application?
Thank you Eduard, but how do I set the SendRequestSync?
Hi Kurro, once I make the change, should I be updating the segment?

I am doing a findSegment again? is that wrong?
Below is an example of the HL7 we get, it comes as a 0 , I want to replace it with "No code"

Hi Kurro, yes that is a typo, sorry. for some reason it isnt getting into the segment. Do you think I should first clear the segment and then set the value?
Hi Vic, I am adding to an already existing function and its a bit of just adding this bit and using it. Is there a way to use the $data function to read the subscript1 of a global? Like $data(^GLOBAL("123"))? I just want to read the first part of the Global
Thank You Robert, got it in by the following code
set file=##class(%Stream.FileCharacter).New()
do file.LinkToFile("c:\location of csv")
for quit:file.AtEnd set ^GLOBAL($piece(file.ReadLine(),",",1),$piece(file.ReadLine(),",",*)=""
HI Robert, thank you, I was able to use your advice on implementing the code. What does the #10 do? I was able to use your suggestion because I already had a Business Process defined, which I could just plug in your suggestion.
Hi Marc, thank you so much for that. This is a new thought process for me.
Hi Robert, I am getting the list in an excel file, and thinking I could use a straight global to load the values and compare. Is that a good way?
^EDLIST("DIAG", "X123, internal health") = ""
^EDLIST("DIAG", "X234, External health") = ""
spot on Cristiano. I will need to find a way to identify the segment and get the value. Thank you so much.

This is how the whole message looks

I want to get the value 110 from the OBX2 SEGMENT
Hi Cristiano, Thank you so much, I tried that too, but always returns blank.
Thank you so much Chris, I had to add the parentheses. Thank you for giving me the idea of referencing with the field number. I used to type the whole lot. This works faster.
Regards,
Eric
Thank You Vic, somehow the job stopped before I could run out of space (10GB). I was reading the docs and it said that there is no way of reversing the operation, panicked. Really appreciate for sending the details along.
Thank you for responding to my question Vic. Ok, thats a start, I will check the events and see if there is anything causing the dead jobs.