I am currently working on a project to record ORU^R01 into a global for a particular set of tests.
I have multiple OBX repeats that need to go into a specific fields withing one row/ record on the global.
I am having trouble finding a way to either count or loop though the OBX's correctly in ObjectScript often with the counter being undefined.
I have done this this way, as I am building upon an existing class to populate this global.
The latest iteration of my obx looping code is below: