I am working with the HAPI HL7 Libraries, and I am attempting to find out how to get the count for how many times a segment or field repeats in the original message.
The terser path assumes 0 if the field/segment repeats and no index is given, but I don't see any way to simple ask on the message, or the terser, to get the count of how many times something repeats.
Is there some way to find out how many times a field/segement repeats using the Hapi Libraries?