CL Newbie needing some Xlate and/or tcl help

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf CL Newbie needing some Xlate and/or tcl help

  • Creator
    Topic
  • #53246

    I’ve been using CL/tcl only for little over a month and needing some Xlate and/or tcl help.

    Issue in hand: LIS sends ORU^R03 with MDOC in OBR-25. We have a table to check the result status (OBR-25) and send final results to downstream systems. Prelims are killed on CL. Sometimes we get results with

Viewing 2 reply threads
  • Author
    Replies
    • #77035
      Daniel Lee
      Participant

        Are you by chance doing this to try to send Cerner Millennium documents to your physician offices?  What you’re saying is giving me flashbacks.

        Are you sure you are not getting the OBR-24 and the OBR-25 mixed up?  My thinking is that the OBR-24 should tell you the type of document and the OBR-25 should be the document status.  So OBR-24 says ‘MDOC’ meaning that the ORU message is a transcribed document and then you should be able to look for an ‘F’ on OBR-25 or whatever is built in your EMR to indicate that the document is final.

      • #77036

        Hi Daniel,

        Thank you for the reply. Yes, the result is coming out of Cerner Millennium.

        No

      • #77037
        Daniel Lee
        Participant

          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.

      Viewing 2 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.