本文介绍了将 XML 转换为 X12 并将 X12 转换为 XML 的最佳方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在寻找将 XML 转换为 X12(270 - 医疗资格请求)然后将 X12 响应(271 - 资格响应)转换回 XML 的工具/库.这将嵌入在服务器应用程序中(将考虑任何目标语言).我曾想过编写自己的 X12 解析器和生成器,但这个项目很可能会扩展到其他 X12 事务,我想找到一个可扩展的解决方案.

Looking for a tool/library to convert XML to X12 (270 - medical eligibility request) and then to convert the X12 response (271 - eligibility response) back to XML. This will be embedded in a server application (will consider any target language). I've toyed with idea of writing my own X12 parser and generator but this project will most likely expand to other X12 transactions and I'd like to find a solution that will be extensible.

推荐答案

我最终创建了自己的 XML <-> x12 转换工具.我遇到了一些商业产品(其中一个来自 EtaSoft,值得一试文档),但最终,本土解决方案的优势太大了.

I ended up creating my own XML <-> x12 transformation tool. There were some commercial offerings that I came across (one of which, from EtaSoft, is worth checking out for their fine documentation) but ultimately the advantage of a homegrown solution was too great.

我确实使用了来自 X12::Parser 的配置文件作为 X12 解析器的基础,本质上是将配置文件转换为代码,并消除了管理配置文件的开销和错误处理,理论上应该几乎不会改变.

I did use the configuration files from X12::Parser as the basis for an X12 parser, essentially turning the config file into code and eliminating the overhead and error handling for managing configuration files that should in theory almost never change.

这篇关于将 XML 转换为 X12 并将 X12 转换为 XML 的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 16:14