克拉和使用NHAPI工具的新行问题 [英] carat and New line issues using NHAPI tool
本文介绍了克拉和使用NHAPI工具的新行问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用NHapi v22工具发送HL7消息。问题是我无法创建组件分隔符(^)和新行。请告诉我如何在C#中编写代码。
以下是代码:
MSH | ^〜\&安培; | XYZ | xyz的| FLOW | FLOW | 201601201525 || ADT\S\A04 | 201601201525123456789 | p | ||| 2.3 NE | NE
我需要这样 -
ADT ^ A04
先谢谢
解决方案
你可以用String.Replace Method(System) [ ^ ]。
I'm using NHapi v22 tool for sending HL7 messages. Issue is I'm not able to create component separator(^) and new line. Please tell me how to code for it in C#.
Following is the code:
MSH|^~\&|xyz|xyz|FLOW|FLOW|201601201525||ADT\S\A04|201601201525123456789|P|2.3|||NE|NE
I need to get like this-
ADT^A04
Thanks in Advance
解决方案
You could probably do it with String.Replace Method (System)[^].
这篇关于克拉和使用NHAPI工具的新行问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文