I'm working with HL7 messages and I'm trying to get a full list of segments used to sample them and get an idea which mappings will be needed. I want to avoid creating a mapping for every possible segment in every version of HL7 (or looking through them all manually). I see in the reference manual that designating a segment is required unless using the root node, but the root node contains the entire message, not just the segment headers. Can I pull out just a list of segment headers (e.g. MSH, PID, PD1, etc.)?