Comments (2)
Exception will be:
Exception in endpoint call!!
ca.uhn.hl7v2.HL7Exception: Couldn't find MSH.12 in message beginning: <ACK xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="u
at ca.uhn.hl7v2.parser.XMLParser.parseLeaf(XMLParser.java:775)
at ca.uhn.hl7v2.parser.XMLParser.getVersion(XMLParser.java:732)
at ca.uhn.hl7v2.parser.GenericParser.getVersion(GenericParser.java:191)
at ca.uhn.hl7v2.parser.Parser.parse(Parser.java:205)
at ca.uhn.hl7v2.parser.GenericParser.parse(GenericParser.java:253)
at
from hapi-hl7v2.
Test will pass with this trick:
String ver_2_3_LibraryFixedString = testMsg.replace(
"<ACK xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd="http://www.w3.org/2001/XMLSchema\" xmlns="urn:hl7-org:v2xml">",
"<ACK xmlns="urn:hl7-org:v2xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd="http://www.w3.org/2001/XMLSchema\">"
);
parser.parse(ver_2_3_LibraryFixedString);
from hapi-hl7v2.
Related Issues (20)
- Library Security support HOT 1
- Thread blocking on DefaultEscaping class while retrieving the String HOT 1
- Absence of generic class MDM_TXX and ORU_RXX HOT 2
- `NonGreedyMode` causing issues parsing `ORU^R01`
- Test Panel won't run with non-Oracle JRE on Windows HOT 1
- [test panel 2.5.1]Exception in the startup the testpanel
- Hl7InputStreamMessageStringIterator returns silently on non HL7 content
- Unable to use confgen plugin to create sources for a custom message HOT 1
- Latest version of test panel listed on the website doesn't load messages HOT 2
- Test panel 2.5.1 doesn't run on linux HOT 3
- module-info (or no duplicate packages) HOT 3
- AbstractMessage.copy() changes Z segments
- Missing ORM Message Parser
- Missing ADT^A31 Parser
- HL7v2 - Cannot configure MLLP client connection timeout, when created from DefaultHapiContext HOT 1
- Decoder Exeption
- Wrong deep copy target when setting data for Type class instance HOT 1
- Unmarshal Exception
- Cannot decode a response with CHUNKED encoding
- How to create a node js server for handling hl7 over http?
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 hapi-hl7v2.