Vinod Aravind
unread,Nov 10, 2023, 7:16:04 AM11/10/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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