Friday, June 5, 2009

Query parameters

1) When multiple query parameters are specified (e.g. a collection date and a specific test/observation) then, I assume the parameters are "AND". I.e. query for result records where patient ID=12345 AND the collection date is 01Jan-15Jan AND the ordered test is a Hemoglobin.
- This is true

2) When a query parameter allows a list (e.g. ObservationCode allows 0..100) this is an "OR". (e.g. query for result records where patient ID=12345 AND collection date is 01Jan-15Jan AND (observationCode=hemoglobin OR observationCode=WBC OR observationCode=PT)
- This is true

No comments: