Using HAPI
Before using HAPI (HL7 Application Programming Interface) in Java UPoC and Java driver, you must verify if these issues exist. This table shows the possible issues and their workarounds:
Issue | Description | Workaround |
---|---|---|
HAPI Class conflict with Java UPoC | The Message class that is defined in HAPI has a conflict with Message class in Java UPoC. | Use the HAPI Message class with the full package
name, such as ca.uhn.hl7v2.model.Message . |
ClassLoader issue | The way ClassLoader is used in HAPI has issues in JavaUPoC and Java Driver. | Configure HAPI ClassLoader in the runtime as required. For
example:
|
Classpath setting | By default, HAPI packages are not listed in the JVM classpath in Cloverleaf ($ROOTPATH/java_uccs/HAPI/lib). |
|
The HAPI libraries in the CAA-ION BOX are located in %HCIROOT/java_uccs when the BOX is deployed.
Although CAA-ION is only available on Windows platforms, these libraries are available on all platforms.