简体   繁体   English

如何将HL7格式的文本转换为HTML?

[英]How to convert HL7 formatted text to HTML?

The formatted text system in HL7 seems arcane and obscure, and the documentation is poor. HL7中的格式化文本系统看起来很晦涩难懂,而且文档很差。

It must be a common requirement to convert it to HTML. 将它转换为HTML必须是一个常见的要求。

Is there a utility or library out there (preferably .NET) which performs simple conversion to HTML? 是否有一个实用程序或库(最好是.NET)执行简单的HTML转换?

You can do a translation something along the line of 你可以沿着这条线做一些翻译

OBX_Value = OBX_Value.Replace("\.br\", "<br />");
OBX_Value = OBX_Value.Replace("\h\"; "<b>");
OBX_Value = ...

aso for all defined text formatting aso用于所有已定义的文本格式

Here is a comparison HTML <-> HL7 formatting , but beware to read the comments, as the examples do not take care of escaped field delimiters. 这是一个比较HTML < - > HL7格式 ,但要注意阅读注释,因为示例不处理转义字段分隔符。

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

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