Originally posted by Mark Perschbacher
We have a new ORM inbound interface that we are working on, and I need to figure out a way to have Cloverleaf read field 4 of each OBR; multiple OBR's in a single ORM, and route based on that value. There are three conditions I need to code.
1. Just a pathology order, single OBR with specific field 4 value- send to pathology thread.
2. Just a clinical order- send to clinical thread.
3 Pathology and clinical orders mixed- send pathology order to pathology thread, and clinical orders to clinical thread
About the only way I can think of doing this is to iterate over the OBR in an xlate, run them through a table that continues the pathology orders in one action, and then in another action, continues the clinical orders. Anyone else got a more streamlined way to doing this?