xquery version "1.0"; declare option exist:serialize "method=xhtml media-type=text/html indent=yes"; let $collection := '/db/apps/SOAPNotes/data' return Patient ID is not 4 Digits

Patient ID is not 4 Digits

    { (: search any column that matchs this string :) for $hit in collection($collection)/item[*/text()] where string-length($hit/patient_id/text()) != 4 return
  1. {$hit/name/text()} | Patient ID {$hit/patient_id/text()}
  2. }
Reports | Notes Home