Module Import alias Import alias ImportFrom alias ImportFrom alias alias alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Str Assign NameStore Call NameLoad keyword Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Str decorator_list Assign NameStore Str ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str keyword NameLoad keyword NameLoad keyword NameLoad keyword BinOpAdd NameLoad ListLoad Call AttributeLoad NameLoad attr Dict keyword NameLoad keyword Num attr TryExcept body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass If CompareEq Call NameLoad NameLoad Num body Return SubscriptLoad NameLoad Index Num If UnaryOpNot NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Call NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If AttributeLoad NameLoad attr body Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice Num Num ListLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Assign SubscriptStore NameLoad Index Num Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return ListComp SubscriptLoad NameLoad Index Str comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If NameLoad body Return TupleLoad NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore NameLoad If AttributeLoad NameLoad attr body If CompareLtELtE AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore BinOpSub AttributeLoad NameLoad attr NameLoad If CompareLtELt AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If AttributeLoad NameLoad attr body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If NameLoad body Return TupleLoad NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list NameLoad decorator_list
N/A N/A datetime N/A copy couchforms.models XFormInstance dimagi.ext.couchdbkit IntegerProperty BooleanProperty StringProperty N/A dateutil N/A logging N/A pytz corehq.apps.indicators.models DynamicIndicatorDefinition NoGroupCouchIndicatorDefBase corehq.apps.reports.util make_form_couch_key mvp.indicator_admin.crud MVPActiveCasesCRUDManager MVPChildCasesByAgeCRUDManager MVP N/A object N/A N/A NAMESPACE mvp_indicators N/A DOMAINS N/A mvp-tiby mvp-potou mvp-sauri mvp-bonsaaso mvp-ruhiira mvp-mwandama mvp-sada mvp-mbola mvp-koraro mvp-pampaida N/A VISIT_FORMS N/A dict pregnancy_visit http://openrosa.org/formdesigner/185A7E63-0ECD-4D9A-8357-6FD770B6F065 child_visit http://openrosa.org/formdesigner/B9CEFDCD-8068-425F-BA67-7DC897030A5A household_visit http://openrosa.org/formdesigner/266AD1A0-9EAE-483E-B4B2-4E85D6CA8D4B N/A REGISTRATION_FORMS N/A dict child_registration http://openrosa.org/formdesigner/E6511C2B-DFC8-4DEA-8200-CC2F2CED00DA N/A CLOSE_FORMS N/A dict pregnancy_close http://openrosa.org/formdesigner/01EB3014-71CE-4EBE-AE34-647EF70A55DE child_close http://openrosa.org/formdesigner/AC164B28-AECA-45C9-B7F6-E0668D5AF84B death_without_registration http://openrosa.org/formdesigner/b3af1fddeb661ee045fef1e764995440ea8f057f N/A N/A CLASS_PATH mvp.models MVPDaysSinceLastTransmission N/A DynamicIndicatorDefinition N/A N/A _class_path CLASS_PATH get_value N/A N/A self user_ids datespan is_debug N/A None False N/A N/A datespan N/A N/A enddate N/A datespan enddate_utc N/A N/A enddate N/A N/A N/A datetime datetime utcnow N/A days N/A N/A user_id user_ids N/A N/A key N/A make_form_couch_key N/A self domain user_id user_id N/A results N/A N/A N/A N/A N/A N/A XFormInstance get_db view all_forms/view reduce False include_docs False descending True startkey N/A key N/A N/A N/A enddate isoformat N/A endkey key limit 1 first N/A N/A N/A last_transmission N/A N/A results N/A key N/A -1 N/A last_date N/A N/A N/A dateutil parser parse last_transmission N/A last_date N/A N/A last_date replace tzinfo N/A pytz utc N/A enddate N/A N/A enddate replace tzinfo N/A pytz utc N/A td N/A enddate last_date N/A N/A N/A days append N/A td days N/A N/A N/A Exception N/A N/A N/A N/A N/A len days 1 N/A N/A N/A days N/A 0 N/A N/A days N/A N/A None N/A days N/A get_nice_name N/A N/A cls N/A N/A N/A MVP Days Since Last Transmission N/A classmethod N/A MVPActiveCasesIndicatorDefinition N/A NoGroupCouchIndicatorDefBase N/A N/A 
        Returns # active cases.
     N/A _class_path CLASS_PATH N/A case_type N/A StringProperty N/A _admin_crud_class MVPActiveCasesCRUDManager _get_cases_by_status N/A N/A self status user_id datespan N/A N/A N/A datespan N/A N/A self _apply_datespan_shifts datespan N/A key_prefix N/A status N/A N/A self indicator_key N/A N/A N/A N/A key_prefix append N/A self indicator_key N/A key N/A N/A self _get_results_key user_id user_id N/A N/A self case_type N/A N/A key N/A N/A N/A key N/A 0 2 N/A N/A self case_type N/A key N/A 2 N/A N/A key N/A -1 N/A N/A join key_prefix N/A datespan_by_status N/A N/A self _format_datespan_by_case_status datespan status N/A N/A N/A self get_results_with_key key user_id user_id datespan datespan_by_status N/A get_value_by_status N/A N/A self status user_id datespan N/A N/A N/A cases N/A N/A self _get_cases_by_status status user_id datespan N/A N/A N/A r N/A id N/A r cases N/A get_value N/A N/A self user_ids datespan is_debug N/A None False N/A N/A open_cases N/A N/A closed_on_closed_cases N/A N/A opened_on_closed_cases N/A N/A user_id user_ids N/A N/A N/A N/A open_cases extend N/A N/A self get_value_by_status opened_on open user_id datespan N/A N/A N/A closed_on_closed_cases extend N/A N/A self get_value_by_status closed_on closed user_id datespan N/A N/A N/A opened_on_closed_cases extend N/A N/A self get_value_by_status opened_on closed user_id datespan N/A open_ids N/A set open_cases N/A closed_on_closed_ids N/A set closed_on_closed_cases N/A opened_on_closed_ids N/A set opened_on_closed_cases N/A closed_ids N/A N/A closed_on_closed_ids intersection opened_on_closed_ids N/A all_cases N/A N/A open_ids union closed_ids N/A value N/A len all_cases N/A is_debug N/A N/A N/A value N/A list all_cases N/A value N/A _format_datespan_by_case_status N/A N/A self datespan status N/A N/A N/A datespan N/A N/A copy copy datespan N/A N/A status opened_on open N/A N/A N/A datespan startdate None N/A N/A N/A status closed_on closed N/A N/A N/A datespan enddate None N/A N/A N/A status opened_on closed N/A N/A N/A datespan startdate None N/A datespan N/A get_nice_name N/A N/A cls N/A N/A N/A MVP Active Cases N/A classmethod N/A MVPChildCasesByAgeIndicatorDefinition N/A MVPActiveCasesIndicatorDefinition N/A N/A 
        Returns the number of child cases that were active within the datespan provided and have a date of birth
        that is less than the age provided by days in age.
     N/A max_age_in_days N/A IntegerProperty N/A min_age_in_days N/A IntegerProperty default 0 N/A show_active_only N/A BooleanProperty default True N/A is_dob_in_datespan N/A BooleanProperty default False N/A _admin_crud_class MVPChildCasesByAgeCRUDManager get_value_by_status N/A N/A self status user_id datespan N/A N/A N/A cases N/A N/A self _get_cases_by_status status user_id datespan N/A N/A N/A self _filter_by_age cases datespan N/A _filter_by_age N/A N/A self results datespan N/A N/A N/A valid_case_ids N/A N/A datespan N/A N/A self _apply_datespan_shifts datespan N/A item results N/A N/A N/A N/A item get value N/A N/A N/A N/A date_of_birth N/A N/A N/A dateutil parser parse N/A item N/A value N/A valid_id False N/A N/A self is_dob_in_datespan N/A N/A N/A N/A datespan startdate date_of_birth N/A datespan enddate N/A N/A valid_id True N/A N/A td N/A N/A datespan enddate date_of_birth N/A N/A N/A self min_age_in_days N/A td days N/A self max_age_in_days N/A N/A valid_id True N/A valid_id N/A N/A N/A N/A valid_case_ids append N/A item N/A id N/A N/A N/A Exception N/A N/A N/A N/A logging error date of birth could not be parsed N/A valid_case_ids N/A get_value N/A N/A self user_ids datespan is_debug N/A None False N/A N/A N/A self show_active_only N/A N/A N/A N/A N/A super MVPChildCasesByAgeIndicatorDefinition self get_value user_ids datespan datespan is_debug is_debug N/A N/A results N/A N/A self get_raw_results user_ids datespan N/A all_cases N/A N/A self _filter_by_age results datespan N/A value N/A len all_cases N/A is_debug N/A N/A N/A value N/A list all_cases N/A value N/A get_nice_name N/A N/A cls N/A N/A N/A MVP Child Cases N/A classmethod N/A