Open dpfeif opened 3 years ago
Hi @dpfeif, you're right, it's very strange behavior. I need to investigate it more deeply.
I found this issue while investigating my own occurrence. After some investigation, I believe this is the correct behavior of the parser. Segment grouping is on by default when parsing:
def parse_message(message, validation_level=None, find_groups=True, message_profile=None, report_file=None, force_validation=False):
Because custom Z segments aren't part of any group they don't appear in the parsed message. Setting find_groups=False should yield the segments in the parsed message for you.
Hi,
First of all, thank you for making this library publicly available and maintaining it 👍
I'm testing out some scenarios and I came across a situation that I can't quite understand. I was hoping you could help shed some light on what I'm doing wrong / what's going wrong.
which outputs:
I was expecting to be able to keep my custom fields across ER7 marshaling and unmarshaling. Also, I did not expect the final result to have 2 patient result groups.
Best regards,