ca.uhn.hl7v2.parser.EncodingNotSupportedException for PL segment

30 views
Skip to first unread message

Vinod Aravind

unread,
Nov 10, 2023, 7:16:04 AM11/10/23
to HAPI FHIR
Hi,

I've encountered an error while parsing an HL7 file that includes the PL (Patient Location) segment. The specific error message is as follows:

The error is:
ca.uhn.hl7v2.parser.EncodingNotSupportedException: Determine encoding for message. The following is the first 50 chars of the message for reference, although this may not be where the issue is:


Upon closer inspection, I suspect the issue might be related to the length of the segment name "PL," which is two characters, unlike other segment names that are three characters long. Could this be the reason for the error?

I'm reaching out to inquire if there is a specific option in the HAPIFHIR library that addresses this parsing issue. Additionally, I would appreciate any guidance on how to resolve this problem.

Thank you for your assistance.

Best regards,
Vinod A
Reply all
Reply to author
Forward
0 new messages