It seems ExtractHL7Attributes will extract the multiple segments in some cases (e.g. multiple OBX for ORU^R01 messgae type) but extracts only one instance of segments in most other cases (extracts only one of multiple OBX segments for ORU^R03 messgae type, or only one DG1 segment in ADT^A08 or only one NTE segment in any messagetype).
Is there some standard that is being followed to define now many segment instances to expect? Can I create a custom version of this processor to allow multiple segments and if so then where exactly would I be making changes??