Mike,
This is possible. I have never done this exact integration but going to HL/7 fro X12 is doable.
Some things of which to be aware:
The X12 message will come with an envelope. The envelope needs to be removed to reference the message in an Xlate. Clovelreaf provides a package and a proc to do this. However, the provided proc (hcisplitinterchange is the name I think) has a flaw (at least up to Cloverleaf 5.6). I have a replacement proc that eliminates that flaw – let me know if you want that. You would use this proc at the inbound TPS most likely.
You should get the Implementation Guide for the 837 Transaction Set. You may be able to get that from the X12 organization if this is NOT 004010 or later otherwise you may need to get the Implemenation Guide from Washington Publishing (there could be a charge).
You should also have an 837 (possibly 835/837 pair) Companion Guide from the trading partner who is sending you the 837.
The Implementation Guide tells you the standard, the Companion Guide tells you how the Trading Partner is deploying the standard.
Ideally you should have a detailed HL/7 specification from the receiving Trading Partner.
You will need to determine (hopefully with the assistance of the two trading partners) what gets mapped from the X12 837 to the HL/7 DFT.
Take some time to gt familiar with the X12 837 Transaction Set by reading the Implementatikon and Companion Guides. X12 is generally steeped in ‘Levels’ and ‘loops’ which can be a challenge initially to get your head around. In the Xlate it can mean lots of ITERATEs.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.