-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add Decoding of special chars #22
Comments
Feature like the mllp bit? If you dont control the wire then you take the hit until you know all your data is clean... |
A feature could work well actually, although it does complicate the testing etc matrix a bit. Neatly solves the pay-to-play aspect without having to pass every, single, field, through a de-escaper of some sort... I think I'd like to get your query stuff merged to master and a new release pushed for you pretty soon, and this can come in a +1 behind it. If you want to take this on feel free to assign yourself, otherwise if it's not something you have to deal with I'll look at it when I get a chance. |
…ecause of HL7's full on spec. This will prob come in stages.
* WIP: starting on an escape sequence decoder * feat wokket#22: WIP on escape sequence handling, not as easy as I'd hoped because of HL7's full on spec. This will prob come in stages. * feat wokket#22: Good progress on simple delimiter escape sequences * feat wokket#22: Ensure highlighted text sequences (\N\, \H\)are ignored * perf: better than halved the perf of the 'No escape sequence' benchmark using a regex(!) rather than a simple str.find() * feat: Added support for ignoring custom (\Zdd\) escape sequences * chore: docs pass, moved decoder into better module/location * perf: Moved to the regex for all searching ops, about a 15% improvement in the benchmark * docs * docs: Added demo example for info on how to use the library * docs: Docs pass * feat: Added support for \X..\ escape sequences * docs: Updated docs for \X\ sequences.
* WIP: starting on an escape sequence decoder * feat wokket#22: WIP on escape sequence handling, not as easy as I'd hoped because of HL7's full on spec. This will prob come in stages. * feat wokket#22: Good progress on simple delimiter escape sequences * feat wokket#22: Ensure highlighted text sequences (\N\, \H\)are ignored * perf: better than halved the perf of the 'No escape sequence' benchmark using a regex(!) rather than a simple str.find() * feat: Added support for ignoring custom (\Zdd\) escape sequences * chore: docs pass, moved decoder into better module/location * perf: Moved to the regex for all searching ops, about a 15% improvement in the benchmark * docs * docs: Added demo example for info on how to use the library * docs: Docs pass * feat: Added support for \X..\ escape sequences * docs: Updated docs for \X\ sequences.
HL7 escapes special chars in various ways, eg
\Cxxyy\
for arbitary unicode bytes,\F\
for the field separator char etc.I'd like to add support for decoding these chars, but keep it separate from the current structs initially:
The text was updated successfully, but these errors were encountered: