OBR OBX v2.5 [英] OBR OBX v2.5
本文介绍了OBR OBX v2.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
v2.5中是否有 OBSERVATIONRepetitionsUsed属性?
例如。
Hi,
Is there a OBSERVATIONRepetitionsUsed property in v2.5 ??
eg.
ORU_R01_RESPONSE response = ORUR01.GetRESPONSE(m);
response.GetORDER_OBSERVATION(n).OBSERVATIONRepetitionsUsed;
如何循环直播OBR获取所有OBX段值?
谢谢
Andrew
ORU_R01_RESPONSE response = ORUR01.GetRESPONSE(m);
response.GetORDER_OBSERVATION(n).OBSERVATIONRepetitionsUsed;
How do I loop thru the OBR to get all the OBX segment values ?
Thanks
Andrew
推荐答案
我不确定你在问什么,你将不得不使用一个地图来提取值,因为它是一个重复的对象,这是通过使用区别字段或提升的属性无法实现的。
你可以使用xpath但是:
I am not sure what you are asking, you will have to use a map to extract the values, as it is a repeating object, which can't be accomplished by using distinguished fields, or promoted properties.
You could use xpath however:
strvalue1 = String.Format( " \\path {# } \element\text()" ,1); |
actValue1 =( string )xpath(inmsg.BodySegments,strvalue1); |
... |
strvalue1=String.Format("\\path{#}\element\text()",1); |
actValue1=(string)xpath(inmsg.BodySegments,strvalue1); |
... |
这篇关于OBR OBX v2.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文