go to post Christine Nyamu · Oct 11, 2023 @Jeffrey Drumm please see below. Error 1: ERROR <Ens>ErrException: <SUBSCRIPT>zExists+1^Ens.Util.FunctionSet.1 ^Ens.LookupTable("TestTable","The patient came in accompanied by their daughter.. Time-out was -- logged as '-' number - @'' Error 2: ERROR <Ens>ErrBPTerminated: Terminating BP TestRsltRouter # due to error: ERROR <Ens>ErrException: <SUBSCRIPT>zExists+1^Ens.Util.FunctionSet.1 ^Ens.LookupTable("TestTable","The patient came in accompanied by their daughter.. Time-out was -- logged as '-' number - @''> ERROR <Ens>ErrException: <SUBSCRIPT>zExists+1^Ens.Util.FunctionSet.1 ^Ens.LookupTable("TestTable","The patient came in accompanied by their daughter.. Time-out was -- logged as '-' number - @''
go to post Christine Nyamu · Oct 10, 2023 I like the idea BUT I still want the original OBX 5 values to be received as is downstream without being truncated and my fear is that by truncating the OBX 5 values greater than 510 characters before passing on to subsequent DTLs I will pass on incomplete fields. Hope that makes sense
go to post Christine Nyamu · Oct 10, 2023 Thanks for your response @Luis Angel Pérez Ramos. I should have included in my post that this interface is designed not to have any rules. Only 1 BPL and DTLs. Any way I can use $EXTRACT within the BPL?
go to post Christine Nyamu · Sep 25, 2023 Thank you @Julian Matthews for the clear and concise response, it worked! Thank you @Arshiya Syeda and @Ashok Kumar as well for giving me something to start working with.
go to post Christine Nyamu · Sep 20, 2023 @Ashok Kumar Thanks for the reply. My greatest challenge is how to pull that PV1 7 value given that there are different providers e.g, 'TEST,PROVIDER', 'TEST,PROVIDER1', 'TEST,PROVIDER2', 'TEST,PROVIDER3' etc. I might be missing something in the code that you sent or might not be clearly understaning it. Thanks
go to post Christine Nyamu · Sep 20, 2023 @Arshiya Syeda Thanks for the reply. My greatest challenge is how to pull that PV1 7 value given that there are different providers e.g, 'TEST,PROVIDER', 'TEST,PROVIDER1', 'TEST,PROVIDER2', 'TEST,PROVIDER3' etc. so I can not hard code it to only use 'TEST,PROVIDER'
go to post Christine Nyamu · Sep 8, 2023 Hi @Luis Angel Pérez Ramos Thank you, the code worked perfectly in the BPL. How can I change it to work in the DTL? I need to search for the following values "SEDATION: " and "Procedure" In consecutive OBX 5 and if true set OBR 4.1 = "28014-9" OBX|028|TX|OP^Operative Note^D4D^11504-8^Surgical operation note^XXX||SEDATION: ||||||C| OBX|029|TX|OP^Operative Note^D4D^11504-8^Surgical operation note^XXX||Procedure:
go to post Christine Nyamu · Sep 1, 2023 Hi Luis, thanks for your response. However, the interface in question doesn't have a rule, only BPL. All the routing gets determined by the BPL.
go to post Christine Nyamu · May 15, 2023 Hi @Alex Woodhead At which point do we actually specify the lookup table we are searching against in the function? In my case, the table is AnemiaResults
go to post Christine Nyamu · May 12, 2023 The challenge is that the text does not follow any particular order :-(
go to post Christine Nyamu · May 12, 2023 Thanks for your reply. Will try it out Edited to add: Would Set value = $Piece(obxValue, "<>", *) work?