Hi, sex can be in the ehr. Maybe for location you need to do a 2 step quey. 
First by demographics to get a liat of patients, then filter by clinical data.
Sent from my LG Mobile


------ Original message------From: Alessandro TorrisiDate: Thu, Jan 15, 2015 
7:28 AMTo: For openEHR technical discussions;Subject:AQL with 
DemographicsHello,?
did any off you thought about how a query should look like suppose I want such 
like this :?
"Give me all?female?patients living in?Paris?and with?no allergies?and a?the 
last labresult of type?Kreatine?is < 20 but within a year"

The hardest part is to combine the demographic information with the medical 
information. Should you be able to do it with?AQL?
-- 
Alessandro Torrisi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20150115/ffe9b05d/attachment.html>

Reply via email to