xquery version "1.0"; declare option exist:serialize "method=xhtml media-type=text/html indent=yes"; let $collection := '/db/apps/SOAPNotes/data' return X-Ray in either Objective or Assessment

X-Ray in either Objective or Assessment

    { (: search any column that matchs this string :) for $hit in collection($collection)/item[*/text()] where matches($hit/objective/text(),'X-Ray') and matches($hit/assessment/text(),'X-Ray') return
  1. {$hit/name/text()} | Objective: {$hit/objective/text()} || Assessment: {$hit/assessment/text()}
  2. }
Reports | Notes Home