-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StringIndexOutOfBoundsException is thrown while converting NTE segments with additional dash #512
Labels
Comments
quake1997
changed the title
StringIndexOutOfBoundsException is thrown while converting NTE segment with additional dash
StringIndexOutOfBoundsException is thrown while converting NTE segments with additional dash
Oct 20, 2023
ssharma5
pushed a commit
to ssharma5/hl7v2-fhir-converter
that referenced
this issue
Aug 22, 2024
…while converting NTE segments with additional dash. Added fail-safe check for last index in substring method.
ssharma5
pushed a commit
to ssharma5/hl7v2-fhir-converter
that referenced
this issue
Aug 22, 2024
…while converting NTE segments with additional dash. Added fail-safe check for last index in substring method. Added test.
ssharma5
added a commit
to ssharma5/hl7v2-fhir-converter
that referenced
this issue
Aug 22, 2024
…while converting NTE segments with additional dash. Added fail-safe check for last index in substring method. Signed-off-by: Shubham Sharma <[email protected]>
LisaWellman
pushed a commit
that referenced
this issue
Aug 26, 2024
…ng NTE segments with additional dash. Added fail-safe check for last index in substring method. Signed-off-by: Shubham Sharma <[email protected]>
jack-h-wang
added a commit
to CDCgov/hl7v2-fhir-converter
that referenced
this issue
Dec 5, 2024
…while converting NTE segments with additional dash. (#18) Added fail-safe check for last index in substring method. Signed-off-by: Shubham Sharma <[email protected]> Co-authored-by: Shubham Sharma <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When hl7 msg contains NTE segments with additional dash (-),
StringIndexOutOfBoundsException
exception is thrown while callingHL7ToFHIRConverter::convert
. Issue related to changes implemented within https://github.com/LinuxForHealth/hl7v2-fhir-converter/pull/305/files#diff-c5d8954d3bc36408229772e082eb4fc36125a89c9e858fa22ec36aaa27c3c493R170To Reproduce
Expected behavior
FHIR bundle resource is created correctly
The text was updated successfully, but these errors were encountered: