I spent a decade working with ANSI X12. Writing software to generate it, streaming parsers for mutli-gigabyte batches, tools to display it, consume it, validate it, etc. Really interesting world to deal with. Every trading partner had their own interpretation of certain things. In my experience (healthcare) things slowly improved over time. Supposedly, FHIR will will take over in that space, but I have my doubts.