简体   繁体   English

HL7消息可以包含MLLP吗?

[英]Can an HL7 message contain MLLP?

I'm not entirely sure that this is the right place for it - if so, this question should be "Where should I ask this question?" 我不完全确定这是正确的地方-如果是这样,这个问题应该是“我应该在哪里问这个问题?” ;) ;)

I have some code I'm maintaining that is parsing out HL7 and MLLP. 我要维护的代码正在解析HL7和MLLP。 It opens the MLLP message and sends it to the HL7 parser. 它打开MLLP消息,并将其发送到HL7解析器。 Which sends it right back to the MLLP parser. 它将立即发送回MLLP解析器。 As you can imagine, this goes poorly, quickly. 可以想象,这种情况进展很快。

I'm fairly new to HL7/MLLP, but I'm really confused and also pretty sure that HL7 shouldn't contain another MLLP message. 我是HL7 / MLLP的新手,但我真的很困惑,也很确定HL7不应包含其他MLLP消息。 If this is allowed, could I get a link/quote to some documentation stating that? 如果允许这样做,我能否获得一些文档的链接/引用说明?

Just use escape sequences to mask the MLLP codes see http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/ 只需使用转义序列来掩盖MLLP代码,请参见http://www.hl7standards.com/blog/2006/11/02/hl7-escape-sequences/

But if you only want to send more than one HL7-Message in just one MLLP envelope, I would use batch processing with FHS and BHS segments 但是,如果您只想在一个MLLP信封中发送多个HL7消息,我将对FHS和BHS段使用批处理

While perhaps not the same as the issue you are describing, it is not uncommon for HL7 messages to end up being double wrapped in MLLP envelopes. 尽管可能与您描述的问题不同,但HL7消息最终被双层包裹在MLLP信封中并不少见。 This is particularly if the message is transitioning through another system. 如果消息正在通过另一个系统转换,则尤其如此。 (say from a billing system, through an EHR) (例如,通过EHR在计费系统中)

a standard envelope is 一个标准的信封是

<VT>...hl7data...<FS><CR>

but a double wrapped message will look like this 但是双层包装的消息将如下所示

<VT><VT>...hl7data...<FS><CR><FS><CR>

It's just something to look out for. 这只是要注意的事情。 And should be corrected by the system in the middle unwrapping and rewrapping the message correctly. 并且应由系统纠正,在中间正确地包装和重新包装邮件。

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

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