I need to search for the following values "SEDATION: " and "Procedure" In consecutive OBX 5 as seen below. Note that sometimes the OBX 5 containing "Procedure" may be followed by other characters/text hence I am leaning towards using a contains statement.
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:
Only when they appear consecutively do I want to process the message as an ORU using the BPL. Not sure how to go about it and would appreciate any assistance. Thanks

.png)
.png)
.png)
.png)
.png)
