From: moparisthebest <ad...@mo...> - 2016-04-12 18:06:39
|
Hello, I'm new to HAPI and HL7 in general, and I tried this example exactly: http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/CreateAMessage.html With these maven dependencies: <dependency> <groupId>ca.uhn.hapi</groupId> <artifactId>hapi-base</artifactId> <version>2.2</version> </dependency> <dependency> <groupId>ca.uhn.hapi</groupId> <artifactId>hapi-structures-v24</artifactId> <version>2.2</version> </dependency> And though the example says it should print: MSH|^~\&|TestSendingSystem||||200701011539||ADT^A01^ADT A01||||123 PID|||123456||Doe^John What it *actually* prints is only: PID|||123456||Doe^John What do I need to do to get it to print the entire message? I am using java version "1.8.0_74" amd64 on a Linux machine, if that matters. Thanks much! |