Skip to content

<CRLF> at the end of a file with find_groups=false will throw a "Segment not found" error #101

@AwfulMoo

Description

@AwfulMoo

When attempting to parse a message, with find_groups=False, files with "\r\n" on the final line will fail as the final segment will be "\n", which is then stripped to "".

This causes an key not found exception when attempting to retrieve the element name for that "segment".

HL7 spec version used: 2.3.1
Message type: ORU_R01

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions