Giter Club home page Giter Club logo

Comments (7)

milkshakeuk avatar milkshakeuk commented on September 27, 2024

@zigh-code do you could you provide some more information? sample hl7, hl7v2 version, perhaps even a unit test or code example?

from nhapi.

zigh-code avatar zigh-code commented on September 27, 2024

I'm using the last version of the package.
The version of Hl7 in my case is 2.5 (string data),

image
If I try for the TQ1 segment, it work

image
But when I try with ODS, there is an issue

Data Test:

 string omdText = "MSH|^~\\&|EDITE|TEST|TEST|TEST|20210519141200||OMD^O03^OMD_O03|202105191412001|P|2.5|||||FRA|8859/1\r" +
        "PID|1|465 306 5961||407623|Wood^Patrick^^^MR||19700101|1|||High Street^^Oxford^^Ox1 4DP~George St ^^Oxford^^Ox1 5AP|||||||\r" +
        "ORC|NW|1254481^EDITEUR|||||^^^20210519143000||20210519143000|611014333^PRESCRIPTEUR^TEST1^^^^^^EDITEUR^^^^ADELI~10002129790^PRESCRIPTEUR^TEST1 ^^^^^^EDITEUR ^^^^RPPS~1027^PRESCRIPTEUR^TEST1^^^^^^EDITEUR^^^^EI||||||||||||||||||||\r" +
        "TQ1|1||||||20210519143000|\r" +
        "ODS|R||SANSSEL^Sans sel^EDITEUR|";

from nhapi.

milkshakeuk avatar milkshakeuk commented on September 27, 2024

@zigh-code thanks for the extra info, will take a look when I can.

from nhapi.

milkshakeuk avatar milkshakeuk commented on September 27, 2024

@zigh-code sorry for the long delay in getting back to you, I think I found the issue, its related to how java and dotnet use regex slightly differently so basically a bug in the port.

I will hopefully have a PR for this in the coming days.

from nhapi.

milkshakeuk avatar milkshakeuk commented on September 27, 2024

@zigh-code I have put up a PR to fix this and included a unit test to prove it works.
https://github.com/nHapiNET/nHapi/pull/340/files#diff-df1d6e800460c0e8224b40b0c6417ef59b0ab102f231d72a4f38e635921cbe4aR239 is the fix

from nhapi.

milkshakeuk avatar milkshakeuk commented on September 27, 2024

@zigh-code this fix will go out in the next release, hoping to get a few more changes in first though

from nhapi.

milkshakeuk avatar milkshakeuk commented on September 27, 2024

@zigh-code this change is in the latest 3.2.0 version.

from nhapi.

Related Issues (20)

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.