I have the following bit of xquery
It is returning the following
But what I really want is the bar between each result so I get something like this:
Does anyone know how to do this?
Thanks!
Code:
for $x in $doc/ClinicalDocument/component/structuredBody/component/section
where $x/title="Problems"
return ($x/entry/act/entryRelationship/observation/value/@displayName,"|")
Code:
AsthmaPneumoniaPneumoniaClinical findingMyocardial infarction |
Code:
Asthma|Pneumonia|Pneumonia|Clinical finding|Myocardial infarction|
Thanks!