Class SegmentFinder

java.lang.Object
org.openehealth.ipf.modules.hl7.SegmentFinder

public class SegmentFinder extends Object
HL7v2 segment finder.
Since:
3.7
Author:
Dmytro Rud
  • Method Details

    • find

      public static Segment find(Message message, String segmentName, int repetition) throws HL7Exception
      Returns the Nth repetition (0-based) of the segment in the given message, or null if not found.
      Throws:
      HL7Exception