Comments (1)
@EdwinVanVliet this is fixed in PR #200.
It's the same issue as #55 but with a different message type, I wrote a test to check it has been fixed here too, and it has.
[Test]
public void Parse_V25_OML_033()
{
var message =
"MSH|^~\\&|xxxx|homxtest_9||homxtest_9|20160205112211||OML^O33|000500006894|P|2.5|||NE|AL||8859/15\r"
+ "PID|1||1234567^^^Firstname~lastname^^^Firstname||Lastname&&Lastname^Firstname^B L J^^^^L||19991231|M|||Firstname^37^BE^^1234AB^nl|||||||||||||Y||||||N\r"
+ "SPM|1|1602050005&xxxx||EDTA^Paarse dop^xxxx||||||||3^ml&ml&xxxx|||||20160205111800|||N|||||||01^01^xxxx^paars^01\r"
+ "ORC|NW|1602-0006^xxxx|||IP||^^^20160205111800^^R||20160205112211||||^^^^^^^^^^xxxx\r"
+ "OBR|1|1602-0006^xxxx||Na^Natrium^xxxx|||20160421114000||0^ml&ml&xxxx||||||EDTA^Paarse dop&xxxx|||||||20160205112211||A|I||^^^20160205111800^^S\r"
+ "SPM|2|1602050004&xxxx||Citrate^Blauwe dop^xxxx||||||||0^ml&ml&xxxx|||||20160205111800|||N|||||||08^08^xxxx^blauw^08\r"
+ "ORC|NW|1602-0006^xxxx|||IP||^^^20160205111800^^R||20160205112211||||^^^^^^^^^^xxxx\r"
+ "OBR|2|1602-0006^xxxx||Na^Natrium^xxxx|||20160421114000||0^ml&ml&xxxx||||||Citrate^Blauwe dop&xxx|||||||20160205112211||A|I||^^^20160205111800^^S";
var parser = new PipeParser();
var result = parser.Parse(message);
var oulR22 = result as NHapi.Model.V25.Message.OML_O33;
Assert.IsNotNull(oulR22);
Assert.AreEqual(2, oulR22.SPECIMENRepetitionsUsed);
Assert.AreEqual(1, oulR22.GetSPECIMEN(0).ORDERRepetitionsUsed);
Assert.AreEqual(1, oulR22.GetSPECIMEN(1).ORDERRepetitionsUsed);
}
from nhapi.
Related Issues (20)
- 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
- Cannot get ODS segment using terser, when I write a full path HOT 7
- 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
- Unescaped & or ^ in the OBX-5 HOT 1
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.