Originally posted by Matthew Seacat
Originally posted by Terry Kellum
===== Variable Dictionary ==== PriorityString (?)- Input to and local variable in function TranslatePriorities. This is the raw flag from Soarian.TransPriority (L)- Output 3 element list from TranslatePriorities. Consistes of Soft flag, Short description and Long Description.%f3 - Iterates over ZSH fields.Lab_Route (G)- Yes or No. Set no by default and changed to yes if one of the ZSH fields is Soft.%f1 - Iterates over the PID 3 field.pid3arr (G)- Array of all of the PID 3 fields. Searched for MR, AN and SS for....@mrn (G)@patnum (G)@ssn (G) - MRN, Patient Number and SSN gleaned from the PID 3 field%f2 - Iterates over the Order Number fieldfor the order number and occurance.OrdNumArr (G) - Array with the two elements of the Order and Order Occurance Number.OccOrder_ID (L) - Order Occurance Number - First numberOrder_ID (L) - Order Number@OrderOccuranceNumber (G) - Order Occurance Number - First in set@OrderNumber (G) - Order Number. Second number.%s9 (G) - Set ID of NTEs after OBR. Incremented by MATH after each addition.%s19 (G) - Structure Position of NTEs outbound after OBR. Incremented by MATH after additions.%g1 - Iterates over the OBX / NTE group to get Nurse Draw Info@OBXNurseDraw (G) - Does OBX indicate Nurse to Draw?%f4 - Iterates over the ZOR 22 looking for test code.@TestCode (G) - From ZOR 22. OBR gives a departmentized mess we can do nothing with. Test code communicated in the ZOR.udarr (G) - Array of all of the ZOR 18 fields and values.@erclinic (G) - Used to test if the clinic is ER. If so there are special rules for Blood Cultures and such.%f5 - Iterates over ZOR 18 to get all the user defined fields.%g2 - Iterates over OBX NTE group inbound to get Last Dose Info.%s1 - Iterates over the NTE segments attached to the OBR ZOR for copy to the outbound OBR group.%f8 (G) - SetId of the next OBX to be output. Incremented by MATH after each addition.%f18 (G) - Structure position of the next OBX to be output. Incremented by MATH after each addition.@BBOrder (G) - yes or no. Looks for ExtendedOrderUserDefinedNumeric10 to identify Blood Product Orders.@BBComments (G) - Contains Blood Bank Comments to be added to a new NTE for Order Comments.