/
Custom HL7 Handlers
Custom HL7 Handlers
HL7 is processed in OpenMRS using the w:HAPI library. HAPI is able to parse any valid hl7 v2.5 message. In order to get the parsed message into the openmrs schema, you must register an hl7 handler.
As of version 1.6.0 build 10516, a module can register its own custom hl7 handlers.
Handler Registration
Add a bean like this anywhere in your module's moduleApplicationContext.xml file.
<bean factory-method="getInstance">
<property name="HL7Handlers">
<map>
<entry key="ADR_A19"><bean/></entry>
<entry key="XXX_YYY"><bean/></entry>
</map>
</property>
</bean>
Example Module
See the examplehl7handlers module
Example Handlers
ORU_R01 handler (in core openmrs)
ADT_A28 handler (in core openmrs)
, multiple selections available,
Related content
Installation and Configuration of the HL7Query Module
Installation and Configuration of the HL7Query Module
More like this
HL7Query Module
HL7Query Module
More like this
DHIS Connector Module
DHIS Connector Module
More like this
HL7 Object Identifier (OID)
HL7 Object Identifier (OID)
More like this
Lab Integration Workflow
Lab Integration Workflow
More like this