简体   繁体   English

NET的hl7组件

[英]hl7 components for .net

I havea windows service built in .net which must build some hl7, send it off over tcp/ip, receive an ack. 我有一个内置于.net的Windows服务,该服务必须构建一些hl7,通过tcp / ip将其发送出去,并收到一个ack。 Are there any free libraries for doing this. 有没有免费的库可以做到这一点。 I could probably handle the tcp/ip part myself, but if I can find a good library that at least has all the parsing logic to just deliver me a class instance representing the message that would save me a lot of work. 我也许可以自己处理tcp / ip部分,但是如果我能找到一个好的库,至少具有所有解析逻辑,只需为我提供一个代表消息的类实例即可,这可以节省很多工作。

by chance have you looked at NHapi ? 偶然地你看了NHapi吗? ...and another userful link -- Using C# to Send A HL7 Message ...以及另一个有用的链接- 使用C#发送HL7消息

The post on Coding Headache is quite short. 关于编码头痛的文章很短。 Here's another blog with some more information on nHapi that you could use. 这是另一个博客,其中包含您可以使用的有关nHapi的更多信息。 From a .Net perspective you could use Biztalk, that has some Hl7 support or use nHapi (that is an open source product). 从.Net角度来看,您可以使用具有某些Hl7支持的Biztalk或使用nHapi(这是一种开放源代码产品)。

http://www.dib0.nl/component/tag/nhapi http://www.dib0.nl/component/tag/nhapi

If you are sending just a few different message types, then a simple solution would be to build up the hl7 yourself; 如果您仅发送几种不同的消息类型,那么一个简单的解决方案是自己构建hl7;否则,您将发现错误的消息。 this is especially true if you have example messages, from your destination systems. 如果您有来自目标系统的示例消息,则尤其如此。 You can create templates from your sample messages, with place holders for information that needs to be added at runtime. 您可以从示例消息中创建模板,并使用占位符来获取需要在运行时添加的信息。 You can simply send your messages using tcpip. 您可以简单地使用tcpip发送消息。

I would recommend taking a look at Mirth. 我建议看看Mirth。 Setup eg a SOAP listener and send XML thru that. 设置例如SOAP侦听器,然后通过它发送XML。 Define the HL7 transformations you need in Mirth and have it send the HL7 messages. 在Mirth中定义所需的HL7转换,并让其发送HL7消息。 You'll never find anything in .Net that matches what Mirth provides. 您将无法在.Net中找到与Mirth提供的功能相匹配的任何内容。 And, yes it is free to use and not that difficult to master. 而且,是的,它是免费使用的,并且不难掌握。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM