...
Code Block | ||
---|---|---|
| ||
SELECT e as ehr
FROM EHR e
WHERE e@subject.birthdate < '1958-01-01' and
e@subject.gender matches{'http://loinc.org|LA2-8'} and -- matches is interchangable with =
e@subject.birthdate > current_timestamp('-P12Y') |
...
Code Block | ||
---|---|---|
| ||
SELECT e as ehr
FROM EHR e
WHERE e@subject.birthdate < '1958-01-01' and
e@subject.gender matches{'http://loinc.org|LA2-8'} and -- matches is interchangable with =
e@subject.birthdate > current_timestamp('-P12Y') |