Package org.openehealth.ipf.modules.hl7
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Segment
find(Message message, String segmentName, int repetition)
Returns the Nth repetition (0-based) of the segment in the given message, ornull
if not found.
-
-
-
Method Detail
-
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, ornull
if not found.- Throws:
HL7Exception
-
-