Comments (7)
@zigh-code do you could you provide some more information? sample hl7, hl7v2 version, perhaps even a unit test or code example?
from nhapi.
I'm using the last version of the package.
The version of Hl7 in my case is 2.5 (string data),
If I try for the TQ1 segment, it work
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.
@zigh-code thanks for the extra info, will take a look when I can.
from nhapi.
@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.
@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.
@zigh-code this fix will go out in the next release, hoping to get a few more changes in first though
from nhapi.
@zigh-code this change is in the latest 3.2.0
version.
from nhapi.
Related Issues (20)
- `ORL_O34` structure definition contains cyclic reference HOT 5
- Include the optional `LongName` attribute in the XML encoded output. HOT 7
- Add CharSetUtil and PreParser for parsing MSH-18 charset before main parsing HOT 17
- Self referencing loop detected HOT 1
- Incorrect repeat counts for OBX-8/9/10/16 in v2.4 HOT 10
- ADT_A28 / ADT_A31 / ADT_A47 missed since v2.4 HOT 4
- nHapi returns error for valid HL7 files while doing validation concurrently HOT 6
- Review `ParserBase` member access modifiers to ensure they match those in `hapi`.
- Port `Version` from `hapi`.
- In NHapi.Model.V23.Segment.STF the type of Phone is TN this is not correct According to the standard it should be XTN HOT 1
- Mindray Datetime Format HOT 3
- Exception adding an escaped string as field to Segment HOT 7
- support for Fast Healthcare Interoperability Resources (FHIR) HOT 3
- QRF-5 ExtraComponents HOT 8
- Get property names that have no data while parsing to XML. HOT 2
- getting exceptions trying to compile vb.net project against nhapi 3.2 (in c# it probably would have been ok but we are using vb.net) HOT 5
- Unexpected GMTOffset when field contains date only HOT 1
- NativeAOT HOT 2
- Where to get HL7 Access DB? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nhapi.