Ok, I’m on the same page with you now. I guess I didn’t realize that prelim document’s could be In Errored.
What I can tell you is that you can’t use the Reviewing Physician. That is just the “Copied To” physician and can be present on prelims if there is a cc physician.
What really confuses me is that you’re seeing the “Sign” ZDS segment present on a prelim document. That “Sign” ZDS segment is who actually signed the document. I wouldn’t expect that on a prelim. However, I wonder if in the case of an “In Error” document the signing is who actually said it was ok to In Error the document.
I notice another difference is the ZDS-4 of the Signing physician says “In Error” and on the prelim it says “Completed”. I’d check into that to see if you can key off of it.
Now, back to your question. I did this in a tcl to avoid processing the message with an xlate if it were going to be killed. However, it sounds like you’re killing a small subset of messages where I was killing a majority of them. I would think you could zap the message in your xlate if you wanted to. If you create an itterate over your ZDS segments you could check if the ZDS-1 is “VERIFY”, the OBR-24 is “MDOC”, and the OBR-25 is “IN ERROR” and if so use the SUPRESS command to kill the message. I wouldn’t kill messages this way unless it’s a very small subset of messages that will be killed as most of Cloverleaf’s processing is in the Xlate and if you did it in a tcl pre-translation you could avoid the Xlate processing.
But, back to my knowlege of Cerner Millennium I don’t see how the Verifying physician tells you if the MDOC is final or not.