Hello Team,
I am trying to receive a message from one our health device by using library
(2.3 v). Getting following issue. I am not sure which version of Hapi Library
do I need to use
To get rid out of this error. Please help me on this issue..
2020-11-20 13:01:03.230 ERROR 17384 --- [ hapi-worker-8]
c.u.h.p.impl.ApplicationRouterImpl : Attempting to send error message to
remote system.
ca.uhn.hl7v2.HL7Exception: A datatype for OBX-
must be specified in 5-
.
at
ca.uhn.hl7v2.parser.FixFieldDataType.fix(FixFieldDataType.java:165)
at
ca.uhn.hl7v2.parser.FixFieldDataType.fixOBX5(FixFieldDataType.java:123)
at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:401)
at ca.uhn.hl7v2.parser.PipeParser.parse(PipeParser.java:1169)
at ca.uhn.hl7v2.parser.PipeParser.doParse(PipeParser.java:226)
at
ca.uhn.hl7v2.parser.GenericParser.doParse(GenericParser.java:245)
at ca.uhn.hl7v2.parser.Parser.parse(Parser.java:212)
at
ca.uhn.hl7v2.parser.GenericParser.parse(GenericParser.java:253)
at
ca.uhn.hl7v2.protocol.impl.ApplicationRouterImpl.processMessage(ApplicationRouterImpl.java:138)
at
ca.uhn.hl7v2.protocol.impl.ApplicationRouterImpl.processMessage(ApplicationRouterImpl.java:105)
at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:91)
at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:127)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Maven dependencies I am pointing for my development:
<!-- https://mvnrepository.com/artifact/ca.uhn.hapi/hapi-base -->
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-base</artifactId>
<version>2.3</version>
</dependency>
<!--
https://mvnrepository.com/artifact/ca.uhn.hapi/hapi-structures-v23 -->
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-structures-v23</artifactId>
<version>2.3</version>
</dependency>
<!--
https://mvnrepository.com/artifact/ca.uhn.hapi/hapi-examples -->
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-examples</artifactId>
<version>2.0-alpha1</version>
</dependency>
Thanks,
Dasari
________________________________
Penchalaiah Dasari
Office
[http://bap.metagenics.com/metalogo.png]<http://www.metagenics.com>
[http://bap.metagenics.com/metasig.png]<https://www.metagenics.com/immune-defense-pack>
Disclaimer: This email, its electronic document attachments, and the contents
of its website linkages may
contain confidential information. This information is intended solely for the
use by the individual or entity
to whom it is addressed. If you have received this information in error, please
notify the sender
immediately and arrange for the prompt destruction of the material and any
accompanying attachments.
*This statement has not been evaluated by the Food and Drug Administration.
This product is not
intended to diagnose, treat, cure, or prevent any disease.
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel