xquery version "1.0"; declare option exist:serialize "method=xhtml media-type=text/html indent=yes"; let $collection := '/db/apps/SOAPNotes/data' return Patient Status: In-Reveiw

Patient Status: In-Reveiw

    { (: search any column that matchs this string :) for $hit in collection($collection)/item[*/text()] where $hit/status/text() = 'in-review' return
  1. {$hit/name/text()} - Date of Injury {$hit/date/text()} | Patient ID {$hit/patient_id/text()} | Status: {$hit/status/text()}
  2. }
Reports | Notes Home