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
- {$hit/name/text()}
| Patient ID {$hit/patient_id/text()}
}
Reports |
Notes Home