Replies: 2 comments
-
| The observation checked should always be the latest. BP may not work because it is a "multi-observation", so SBP and DBP are sub-Observations or components within: I haven't checked the code enough to zero-in on the issue though. You might try to use the "Vital Sign" conditional type instead, with the Strings as  However, the issue with using the "Vital Sign" conditional type is that the patient with Hypertension may be on medication that is keeping their BP under control (in which case the BP will be normal, and your logic will only pick up those with uncontrolled BP). So, you're better off just checking to see if they have a hypertension diagnosis, using the "Active Condition" condition type.  | 
Beta Was this translation helpful? Give feedback.
-
| Thanks, there’s another thing I don’t fully understand: Does this difference in behavior occur because blood pressure is a generic vital sign that can also be measured in other pathologies' state machines (unlike MMSE, which is specific to Alzheimer’s), or is there another reason for this? Thanks. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I created a Keep module to select only Alzheimer’s patients with age > 60 years and MMSE < 20. I managed to get the expected population, but I have a question:
Looking at the data, I noticed that each patient has at least one observation with MMSE < 20, but not necessary all (specifically, there are up to 3 MMSE observations in the dementia state machine).
Is it always the most recent MMSE observation that satisfies the condition (< 20), or is it just any one of the available observations?
Another question:
I tried to do the same with hypertension, adding a filter to select patients with certain blood pressure thresholds (SBP > 100 & DBP > 30). However, in this case the Keep module doesn’t work — it doesn’t generate any patients and often throws this error:
ava.lang.NullPointerException: Required observation [system=LOINC, code=8480-6, display=Systolic Blood Pressure, version=null, valueSet=null] is null.
Does this happen because blood pressure data, unlike MMSE, are not created directly in the state machine but instead come from the vital-signs module? Or is there another reason?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions