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?