I have a data display which displays ORDERS_NEW. I am having a problem where the first order added does not display correctly. If I enter 2 service orders, let's say
ORDER1 [CPT 97110]
ORDER2 [CPT 97140]
it displays as
[97110]
ORDER2 [97140]
The first order description is not coming through. The MEL trace looks like this:
04/11/2016 11:13:41.433-results>"Ther exercise, 15 min^S^CPT-97110^04/11/2016^^ACL TEAR^ICD-844.2^^^^1^^ ^^^\r\n^^^^U^Harry S. Winston MD^UNSIGNED^^^293-1^ICD10-S83.511"
04/11/2016 11:13:41.433-execute>call GETFIELD("Ther exercise, 15 min^S^CPT-97110^04/11/2016^^ACL TEAR^ICD-844.2^^^^1^^ ^^^\r\n^^^^U^Harry S. Winston MD^UNSIGNED^^^293-1^ICD10-S83.511", "^", "")
04/11/2016 11:13:41.433-results>Array
04/11/2016 11:13:41.433-execute>ORDERSUB = Array
04/11/2016 11:13:41.433-results>Array
04/11/2016 11:13:41.433-execute>Array[4]
04/11/2016 11:13:41.433-results>"04/11/2016"
04/11/2016 11:13:41.433-execute>call STR(04/11/2016)
04/11/2016 11:13:41.433-results>"04/11/2016"
04/11/2016 11:13:41.433-execute>call MATCH("04/11/2016", "04/11/2016")
04/11/2016 11:13:41.433-results>1
04/11/2016 11:13:41.433-execute>1 > 0
04/11/2016 11:13:41.433-results>TRUE
04/11/2016 11:13:41.433-execute>if TRUE
04/11/2016 11:13:41.433-results>TRUE
04/11/2016 11:13:41.433-execute>Array[1]
04/11/2016 11:13:41.433-results>"Ther exercise, 15 min"
04/11/2016 11:13:41.433-execute>VOID + "Ther exercise, 15 min"
04/11/2016 11:13:41.433-results>NULL
04/11/2016 11:13:41.433-execute>NULL + " ["
04/11/2016 11:13:41.433-results>" ["
04/11/2016 11:13:41.433-execute>Array[3]
04/11/2016 11:13:41.433-results>"CPT-97110"
04/11/2016 11:13:41.433-execute>" [" + "CPT-97110"
04/11/2016 11:13:41.433-results>" [CPT-97110"
04/11/2016 11:13:41.433-execute>" [CPT-97110" + "]"
04/11/2016 11:13:41.433-results>" [CPT-97110]"
04/11/2016 11:13:41.433-execute>" [CPT-97110]" + "\r\n"
04/11/2016 11:13:41.433-results>" [CPT-97110]\r\n"
04/11/2016 11:13:41.433-execute>RESULT = " [CPT-97110]\r\n"
04/11/2016 11:13:41.433-results>" [CPT-97110]\r\n"
04/11/2016 11:13:41.433-execute>27 + 1
04/11/2016 11:13:41.433-results>28
04/11/2016 11:13:41.433-execute>COUNT = 28
04/11/2016 11:13:41.433-results>28
04/11/2016 11:13:41.433-execute>call SIZE(Array)
04/11/2016 11:13:41.433-results>28
04/11/2016 11:13:41.433-execute>28 TRUE
04/11/2016 11:13:41.433-execute>for TRUE
04/11/2016 11:13:41.433-results>TRUE
04/11/2016 11:13:41.433-execute>Array[28]
04/11/2016 11:13:41.433-results>"Ther exercise, 30 min^S^CPT-97110^04/11/2016^^ACL TEAR^ICD-844.2^^^^2^^ ^^^\r\n^^^^U^Harry S. Winston MD^UNSIGNED^^^293-2^ICD10-S83.511"
04/11/2016 11:13:41.433-execute>call GETFIELD("Ther exercise, 30 min^S^CPT-97110^04/11/2016^^ACL TEAR^ICD-844.2^^^^2^^ ^^^\r\n^^^^U^Harry S. Winston MD^UNSIGNED^^^293-2^ICD10-S83.511", "^", "")
04/11/2016 11:13:41.433-results>Array
04/11/2016 11:13:41.433-execute>ORDERSUB = Array
04/11/2016 11:13:41.433-results>Array
04/11/2016 11:13:41.433-execute>Array[4]
04/11/2016 11:13:41.433-results>"04/11/2016"
04/11/2016 11:13:41.433-execute>call STR(04/11/2016)
04/11/2016 11:13:41.434-results>"04/11/2016"
04/11/2016 11:13:41.434-execute>call MATCH("04/11/2016", "04/11/2016")
04/11/2016 11:13:41.434-results>1
04/11/2016 11:13:41.434-execute>1 > 0
04/11/2016 11:13:41.434-results>TRUE
04/11/2016 11:13:41.434-execute>if TRUE
04/11/2016 11:13:41.434-results>TRUE
04/11/2016 11:13:41.434-execute>Array[1]
04/11/2016 11:13:41.434-results>"Ther exercise, 30 min"
04/11/2016 11:13:41.434-execute>" [CPT-97110]\r\n" + "Ther exercise, 30 min"
04/11/2016 11:13:41.434-results>" [CPT-97110]\r\nTher exercise, 30 min"
04/11/2016 11:13:41.434-execute>" [CPT-97110]\r\nTher exercise, 30 min" + " ["
04/11/2016 11:13:41.434-results>" [CPT-97110]\r\nTher exercise, 30 min ["
04/11/2016 11:13:41.434-execute>Array[3]
04/11/2016 11:13:41.434-results>"CPT-97110"
04/11/2016 11:13:41.434-execute>" [CPT-97110]\r\nTher exercise, 30 min [" + "CPT-97110"
04/11/2016 11:13:41.434-results>" [CPT-97110]\r\nTher exercise, 30 min [CPT-97110"
04/11/2016 11:13:41.434-execute>" [CPT-97110]\r\nTher exercise, 30 min [CPT-97110" + "]"
04/11/2016 11:13:41.434-results>" [CPT-97110]\r\nTher exercise, 30 min [CPT-97110]"
04/11/2016 11:13:41.434-execute>" [CPT-97110]\r\nTher exercise, 30 min [CPT-97110]" + "\r\n"
04/11/2016 11:13:41.434-results>" [CPT-97110]\r\nTher exercise, 30 min [CPT-97110]\r\n"
04/11/2016 11:13:41.434-execute>RESULT = " [CPT-97110]\r\nTher exercise, 30 min [CPT-97110]\r\n"
It happens no matter which order I enter first. Then, to complicate things, the orders are not pushing through correctly and have to be manually pushed.
This is on a custom form so I don't know if I have named a global variable that is somehow interacting with this. Anyone have any suggestions?
Posted : April 11, 2016 8:22 am