Coder Social home page Coder Social logo

Comments (4)

SaxxonPike avatar SaxxonPike commented on July 2, 2024

I'll take this one.

from nextlevelseven.

SaxxonPike avatar SaxxonPike commented on July 2, 2024

I spent some time looking into this one today - looks like EncodingOperations.Unescape is not implemented yet, so while escape codes are being used when converting text to be HL7 compatible, they are not being decoded when coming from an HL7 message. I think this is simply a case of a missing feature. I'll prioritize this one (I've been wanting to do it for a while now anyway!)

from nextlevelseven.

SaxxonPike avatar SaxxonPike commented on July 2, 2024

There's support for what you're looking for now in the PR, although it's kind of awkward to use for the time being. You will need to access it via Builder.Encoding.Escape() or Parser.Encoding.Escape() whenever you want to create HL7 compatible values, and Builder.Encoding.UnEscape() or Parser.Encoding.UnEscape() whenever you want to extract a string from the HL7 compatible value.

In the next major version of this library, this functionality will be incorporated directly into Value and a new property called RawValue will provide access to the raw value (how it works at this time.)

If you're keen on building this one yourself, pull from the escape-ampersand branch (which is named after this issue) and try that one. I'm going to get some peer review before I merge this one.

from nextlevelseven.

stevengopmo avatar stevengopmo commented on July 2, 2024

Thank you. On my side I did a quick string extension to resolve the issues that I was having so I'm good for the moment. I'll keep an eye out for 2.0 though!

from nextlevelseven.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.