One of the Township Medical Officer we work with in Myanmar came up with an interesting suggestion : she would like to only see the High Risk Pregnancy cases.
We currently have a single MNCH module. This module displays our cases list by Village and Patient Name. Cases filters / sort keys are defined at the module level, which mean I'm going to try to create another module with the "Show cases" option checked. I'll have to keep an empty, dummy form as CommCareHQ wouldn't allow a module with no form.
This approach is probably not optimal : it means that I'll have to maintain two Case Details. Having separate modules just to hold different filtering configurations feels odd.
Is there a more elegant way to expose several sorting / filtering strategies to the mobile users ?
Many thanks,
···
--
Charles Flèche
mHealth Advisor
Télécoms Sans Frontières http://www.tsfi.org
Première Urgence - Aide Médicale Internationale http://www.pu-ami.org
Interesting use case. A couple ideas, unfortunately neither is perfect:
Add a property to each case that gets set to "highrisk" (or some other
keyword) when that pregnancy enters that category. Then you can type in
this keyword in the case list search box to see only the high risk cases.
Downside here is dealing with typing this in and managing that variable.
Use custom user data to filter the case list differently based on who is
logged in. Then in your case filtering XPath you'd have a condition like
"if(custom_user_variable = highrisk, [condition that returns true for
highrisk patients], [normal case filter or none at all IE just true]).
Downside here is that logging in and out just to look at a case list might
become a pain.
There's a feature due out in the next mobile release or two that might be
useful for this. I'll ping this thread again when its available.
Best,
Will
···
On Sun, Apr 26, 2015 at 1:06 AM, Charles Flèche wrote:
Hi everyone,
One of the Township Medical Officer we work with in Myanmar came up with
an interesting suggestion : she would like to only see the High Risk
Pregnancy cases.
We currently have a single MNCH module. This module displays our cases
list by Village and Patient Name. Cases filters / sort keys are defined at
the module level, which mean I'm going to try to create another module with
the "Show cases" option checked. I'll have to keep an empty, dummy form as
CommCareHQ wouldn't allow a module with no form.
This approach is probably not optimal : it means that I'll have to
maintain two Case Details. Having separate modules just to hold different
filtering configurations feels odd.
Is there a more elegant way to expose several sorting / filtering
strategies to the mobile users ?
···
On Mon, Apr 27, 2015 at 6:48 AM, William Pride wrote:
Charles,
Interesting use case. A couple ideas, unfortunately neither is perfect:
Add a property to each case that gets set to "highrisk" (or some other
keyword) when that pregnancy enters that category. Then you can type in
this keyword in the case list search box to see only the high risk cases.
Downside here is dealing with typing this in and managing that variable.
Use custom user data to filter the case list differently based on who
is logged in. Then in your case filtering XPath you'd have a condition like
"if(custom_user_variable = highrisk, [condition that returns true for
highrisk patients], [normal case filter or none at all IE just true]).
Downside here is that logging in and out just to look at a case list might
become a pain.
There's a feature due out in the next mobile release or two that might be
useful for this. I'll ping this thread again when its available.
One of the Township Medical Officer we work with in Myanmar came up with
an interesting suggestion : she would like to only see the High Risk
Pregnancy cases.
We currently have a single MNCH module. This module displays our cases
list by Village and Patient Name. Cases filters / sort keys are defined at
the module level, which mean I'm going to try to create another module with
the "Show cases" option checked. I'll have to keep an empty, dummy form as
CommCareHQ wouldn't allow a module with no form.
This approach is probably not optimal : it means that I'll have to
maintain two Case Details. Having separate modules just to hold different
filtering configurations feels odd.
Is there a more elegant way to expose several sorting / filtering
strategies to the mobile users ?
I like this, thanks Will. We though again about this feature and it seems clear that a "Patient status" field could be useful. We wouldn't restrict this as HighRisk only : it could be something like "High risks", "Referred", "OK", "Unknown", etc.
I'll have a chat with the doctors and will wee what we can do. Thanks again, Will.
···
On Sunday 26 April 2015 21:18:37 William Pride wrote:
> 1) Add a property to each case that gets set to "highrisk" (or some other
> keyword) when that pregnancy enters that category. Then you can type in
> this keyword in the case list search box to see only the high risk cases.
> Downside here is dealing with typing this in and managing that variable.
···
On Monday 27 April 2015 10:41:59 Kriti Mehrotra wrote:
> Just a note that it should be possible to have a module with no form as
> long as the "Case List Menu Item" is set to "Show" under the "Case