|
|
|
@ -278,11 +278,9 @@ namespace MyHosListener.common.listener
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 17 获取 item[@root='2.16.156.10011.0.9.1.64']../../name/item/part
|
|
|
|
// 17 获取 wholeOrganization/name/item/part 作为病区名称
|
|
|
|
var areaName = xdoc
|
|
|
|
var areaName = xdoc
|
|
|
|
.Descendants(ns + "item")
|
|
|
|
.Descendants(ns + "wholeOrganization")
|
|
|
|
.FirstOrDefault(x => (string)x.Attribute("root") == "2.16.156.10011.0.9.1.64")
|
|
|
|
|
|
|
|
?.Ancestors(ns + "location")
|
|
|
|
|
|
|
|
.Descendants(ns + "name")
|
|
|
|
.Descendants(ns + "name")
|
|
|
|
.Descendants(ns + "item")
|
|
|
|
.Descendants(ns + "item")
|
|
|
|
.Descendants(ns + "part")
|
|
|
|
.Descendants(ns + "part")
|
|
|
|
|