Update Dec 2015:
Dimagi has a customer who needs to send CommCare Cases using the Continuity of Care Document that's part of the HL7 CDA R2 spec. We have identified that Open eHealth's Integration Platform is the best platform with which to integrate. This epic captures the integration of Open eHealth's IPF with MOTECH.
See attached email thread for more context. The only use case right now is for creating HL7 messages, although in time I assume MOTECH will need to receive/parse HL7 as well. I'm assuming we can wrap an existing open source library like HAPI (http://hl7api.sourceforge.net/) to do this work.