QMs and Age ranges

33 views
Skip to first unread message

Vandana Toteja

unread,
May 7, 2015, 10:08:33 PM5/7/15
to intersystems-de...@googlegroups.com
Hello,
I need some clarifications on the use of QM: 

1)      To ensure a group (say group1) is always a subset of another group (group2), we need to 
add the expression that evaluates group2 along with the criteria for group1 as one expression.  Is 
this a recommended approach? 
2)      How do I specify multiple conditions in group ? (For e.g.:  Females aged over 50 years who 
are obese and who had an encounter in the last 6 months) ? 
a.       In this, the Age and Gender are dimensions of Patient cube, the obesity is a dimension on 
Current Conditions cube, and encounter dates is part of Encounter cube.
3)      Is there a way to reference the return value from a ClassMethod as a group’s (say 
numerator) value ? 

Also, is there an easier way to define the age ranges based on the Age dimension ?  Something like [Age].[H1].[Age] > 50.  I tried to use a range of members but it expects the start and end values in my expression as member values.
[Age].[H1].[Age].[18]:[75] .   If I do not have a patient that is 18 years old in my instance, this query would not return the patients aged 19-75.   Is there a trick ?

Any advice will be much appreciated.

Vandana
Reply all
Reply to author
Forward
0 new messages