I am on EMR 9.8.13. I just noticed what I believe to be a bug. The LIST_ASSESSMENTS() function when returning delimited data always ends in a PIPE character indicating another assessment that is not there.
For example:
LIST_ASSESSMENTS("Dx of", "ANTIPHOSPHOLIPID SYNDROME", "ICD10-D68.61", "delimited")
Returns this value:
ANTIPHOSPHOLIPID SYNDROME^SIGNED^C^My Provider ARNP^11/10/2018^Remains on Coumadin therapy.\r\nOrders:\r\nOfc Vst, Est Level 4 (CPT-99214)\r\n|
When I run my for loop on it I end up having to run it as < size(array) instead of <= size(array).
Can someone else confirm if they see the same issue? I have not filed a bug report with GE.
Known issue since the inception of the data symbol. Because there is an easily coded workaround (as you discovered), it probably has been deemed a 'low priority' defect. The reality is that it could also be considered to not be a defect but an inconsistent array format.