Module Expr Str Assign NameStore TupleLoad Str Str Str Str Str Import alias TryExcept body Import alias handlers ExceptHandler type NameLoad body TryExcept body Import alias identifier handlers ExceptHandler body Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Dict Str Str Str TupleLoad Str Str TupleLoad Str Str Str TupleLoad Str Str Str Str ClassDef bases NameLoad body Assign NameStore TupleLoad Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str Str Call NameLoad Str keyword Call NameLoad Call NameLoad Str Call NameLoad Str Call NameLoad Str keyword Call NameLoad Str Call NameLoad Str Str Call NameLoad Str Str keyword Call NameLoad Str Call NameLoad Str Str keyword Call NameLoad Str Call NameLoad Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Str BinOpMod Str NameLoad keyword Call NameLoad Str keyword NameLoad keyword Call NameLoad NameLoad Str NameLoad keyword Str keyword Call NameLoad keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign SubscriptStore NameLoad Index NameLoad Call NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str Assign NameStore Str Expr Call NameLoad NameLoad Call NameLoad Call NameLoad Str Call NameLoad Str keyword Call NameLoad Str Call NameLoad Str keyword Call NameLoad Str Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Str BinOpMod Str NameLoad keyword Call NameLoad Str keyword NameLoad keyword Call NameLoad NameLoad Str NameLoad keyword Str Assign SubscriptStore NameLoad Index NameLoad Call NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str Return Call NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Str Str keyword NameLoad keyword NameLoad Return Call NameLoad keyword Lambda arguments args defaults kwarg Call NameLoad Str keyword Lambda arguments args defaults kwarg Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad If NameLoad body Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad Lambda arguments args NameParam NameParam defaults BinOpBitOr NameLoad NameLoad NameLoad orelse Return Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore NameLoad body If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr Break If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return decorator_list NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore TupleLoad Str Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Dict Str Str Str Str Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Dict Str Str Str Str Str Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Str Expr Call NameLoad NameLoad Call NameLoad Str keyword Num keyword Call NameLoad Call NameLoad NameLoad Str Call NameLoad keyword NameLoad keyword Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str keyword Call NameLoad Str keyword NameLoad keyword Call NameLoad NameLoad keyword Str Call NameLoad Str keyword Call NameLoad Str Call NameLoad Str keyword Call NameLoad Str keyword NameLoad keyword Call NameLoad NameLoad keyword Str Call NameLoad Str keyword Str keyword Call NameLoad Str Call NameLoad Str keyword Call NameLoad Str keyword NameLoad keyword Call NameLoad NameLoad keyword Str Call NameLoad Str keyword Call NameLoad Str Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str BinOpMod Str NameLoad keyword Call NameLoad Str keyword NameLoad keyword Call NameLoad NameLoad Str NameLoad keyword Call NameLoad keyword Str keyword Call NameLoad Str Expr Call NameLoad NameLoad keyword Str keyword Str keyword Str keyword TupleLoad Dict Str Str Str Str Str Str Dict Str Str Str Str Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad ListLoad TupleLoad Call NameLoad Str Str Dict Str Str Str Str Str Str Str NameLoad Assign NameStore ListLoad Call NameLoad ListLoad Str Str Str Str keyword Call NameLoad Str keyword Call NameLoad Str Call NameLoad Str keyword NameLoad Call NameLoad Str keyword NameLoad Call NameLoad Str Expr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call NameLoad keyword Str keyword ListLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str Assign NameStore Str Expr Call NameLoad NameLoad Call NameLoad Call NameLoad keyword Str Call NameLoad Str keyword NameLoad keyword Call NameLoad NameLoad Call NameLoad Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Str Assign NameStore Call NameLoad Str BinOpMod Str NameLoad keyword Call NameLoad Str keyword NameLoad keyword Call NameLoad NameLoad Str NameLoad keyword Call NameLoad keyword Str keyword Call NameLoad Str Expr Call NameLoad NameLoad keyword Dict Str Str Str Str Str Str Assign NameStore ListLoad Str Str Str Call NameLoad Str keyword Str keyword Call NameLoad Str keyword NameLoad Str Expr Call NameLoad NameLoad keyword Call NameLoad NameLoad keyword ListLoad Str Str TupleLoad Call NameLoad Str Str Str keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad Call NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str Assign NameStore Str Expr Call NameLoad NameLoad Call NameLoad Str Str keyword Call NameLoad NameLoad Str Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Dict Str Str Str Str Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Assign NameStore Str Expr Call NameLoad NameLoad Call NameLoad Call NameLoad Str Call NameLoad Str keyword Num keyword NameLoad Call NameLoad Str keyword Str keyword Call NameLoad Str Call NameLoad Str keyword Call NameLoad keyword NameLoad keyword Call NameLoad NameLoad keyword Str Call NameLoad Str Call NameLoad Str Call NameLoad Str keyword Call NameLoad Str Call NameLoad Str keyword NameLoad keyword Call NameLoad Call NameLoad NameLoad Call NameLoad Call NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str Return Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Str Str keyword NameLoad keyword NameLoad Return Call NameLoad keyword Lambda arguments args defaults kwarg Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpBitAnd BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword TupleLoad Num Num attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Return If CompareNotIn Str NameLoad body Assign NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Call NameLoad keyword Str keyword ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad NameLoad body Assign NameStore BinOpBitAnd BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad orelse Return Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword TupleLoad Num Num attr If NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Expr Call NameLoad NameLoad Return decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad If CompareNotIn Str NameLoad body Assign NameStore CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr keyword TupleLoad Num Num attr If NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Assign NameStore BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword TupleLoad Num Num attr If NameLoad body Expr Call AttributeLoad Call NameLoad CompareEq AttributeLoad NameLoad attr NameLoad attr keyword AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Return decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults ListLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign NameStore CompareEq NameLoad SubscriptLoad NameLoad Index Num orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad AugAssignAdd AttributeStore NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Return AttributeLoad NameLoad attr Assign NameStore NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Pass orelse For NameStore TupleLoad Str Str Str body If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If NameLoad body Break If BoolOpAnd NameLoad NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad orelse If NameLoad body Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad If NameLoad body Return Call AttributeLoad Str attr TupleLoad NameLoad NameLoad orelse Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore TupleLoad Str Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str Str Call NameLoad Str Call NameLoad Str Assign NameStore Str Expr Call NameLoad NameLoad Call NameLoad Call NameLoad Str keyword Call NameLoad Str keyword Str Call NameLoad Str keyword Call NameLoad Str keyword Str Call AttributeLoad NameLoad attr Call NameLoad Str Str Call NameLoad Str keyword Str keyword Call NameLoad Str keyword Call NameLoad NameLoad keyword NameLoad keyword Call NameLoad keyword NameLoad Call NameLoad Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Str Assign NameStore Call NameLoad Str BinOpMod Str NameLoad keyword Call NameLoad Str keyword NameLoad keyword Call NameLoad Call NameLoad NameLoad Str NameLoad keyword Str keyword Call NameLoad keyword Str keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Assign SubscriptStore NameLoad Index NameLoad Call NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str Assign NameStore Dict Str Str Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Dict Str Str Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Dict Str Str Str Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Str Expr Call NameLoad NameLoad Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Call NameLoad keyword Call NameLoad keyword Str Call NameLoad Call NameLoad Str keyword Str keyword NameLoad keyword Call NameLoad NameLoad keyword NameLoad Call NameLoad Str keyword Str keyword NameLoad keyword Call NameLoad NameLoad keyword NameLoad Call NameLoad Str keyword Str keyword NameLoad keyword Call NameLoad NameLoad keyword NameLoad Call NameLoad Str Str Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad Call NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str Return Dict decorator_list FunctionDef arguments args defaults body Return Dict decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad CompareEq AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr keyword TupleLoad Num Num attr If UnaryOpNot NameLoad body Return Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Return decorator_list NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore TupleLoad Str Str Str Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword TupleLoad Num Num attr If CompareIs NameLoad NameLoad body Return Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpBitAnd BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword TupleLoad Num Num attr If NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot NameLoad CompareIn AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareGt AttributeLoad NameLoad attr NameLoad body Return Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword TupleLoad Num Num attr If UnaryOpNot NameLoad body Return Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpSub NameLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpBitAnd BinOpBitAnd BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareGtE AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr Str CompareNotEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr keyword Str Return decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpBitAnd BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword TupleLoad Num Num attr If NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareNotIn NameLoad NameLoad body Return NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareNotIn Str NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpBitAnd BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr keyword TupleLoad Num Num attr orelse If CompareNotIn AttributeLoad NameLoad attr NameLoad body Return If NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign NameStore Str Expr Call NameLoad NameLoad Call NameLoad Str Str Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad keyword Lambda arguments args NameParam defaults IfExp CompareIsNot NameLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad Str keyword Call NameLoad Str Call NameLoad Assign NameStore Call NameLoad Str Assign SubscriptStore NameLoad Index NameLoad Call NameLoad keyword NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str Expr Call NameLoad NameLoad keyword Call NameLoad keyword Str Assign NameStore Str Expr Call NameLoad NameLoad Call NameLoad Str Str Call NameLoad Str Str keyword TupleLoad Str keyword Call NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad keyword Str keyword Str keyword Dict Str Str keyword NameLoad Call NameLoad keyword Call NameLoad keyword Call NameLoad Call NameLoad Str Str keyword Call NameLoad Str keyword Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Call NameLoad Call NameLoad keyword NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str Str Str Assign NameStore ListLoad Call NameLoad Str keyword Call NameLoad Str keyword NameLoad Call NameLoad Str keyword Call NameLoad Str keyword NameLoad Call NameLoad Str keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword ListLoad Str keyword ListLoad TupleLoad Call NameLoad Str Str keyword Call NameLoad keyword SubscriptLoad NameLoad Index Num keyword Str keyword Str keyword NameLoad keyword Str keyword Str Expr Call NameLoad NameLoad keyword Call NameLoad keyword TupleLoad Str Str Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Str keyword Dict Str Dict Str Str Str Str Str Str Assign NameStore Dict Num Num Call NameLoad Str Call NameLoad Str Assign NameStore Str Expr Call NameLoad NameLoad Call NameLoad Str Str keyword NameLoad keyword TupleLoad Str keyword Call NameLoad Str keyword Call NameLoad keyword Str keyword NameLoad keyword NameLoad Call NameLoad keyword Call NameLoad keyword Call NameLoad Call NameLoad Str Str keyword Num keyword Call NameLoad Str keyword Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad NameLoad Call NameLoad Str keyword Call NameLoad Str Call NameLoad Str Str keyword Call NameLoad Str keyword Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad keyword Num Call NameLoad Return Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpBitAnd BinOpBitAnd CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body Expr Call AttributeLoad Call NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad Call NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad Call NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore CompareNotEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str If UnaryOpNot NameLoad body Return If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore NameLoad ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Assign NameStore SubscriptLoad NameLoad Index Str If CompareNotIn NameLoad NameLoad body Expr Call NameLoad NameLoad If CompareNotIn NameLoad SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Dict If NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore SubscriptLoad NameLoad Index Str If CompareLt NameLoad NameLoad body Assign NameStore NameLoad Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Index NameLoad SubscriptLoad NameLoad Index Str ImportFrom alias alias Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore CompareEq AttributeLoad NameLoad attr Num For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpBitAnd NameLoad CompareEq NameLoad NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpBitAnd NameLoad CompareEq NameLoad NameLoad For NameStore NameLoad body Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareLtE NameLoad NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad BinOpBitAnd NameLoad CompareEq NameLoad NameLoad attr NameLoad keyword TupleLoad Num Num If NameLoad body Expr Call AttributeLoad Call NameLoad CompareEq NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr attr keyword NameLoad orelse Expr Call NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr Str comprehension NameStore NameLoad Import alias Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpBitAnd CompareEq AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr ImportFrom alias identifier Assign NameStore Call NameLoad NameLoad For NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad body For NameStore NameLoad body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call NameLoad Str keyword ListLoad NameLoad NameLoad NameLoad NameLoad keyword Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpBitAnd BinOpBitAnd CompareEq NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad keyword TupleLoad NameLoad UnaryOpInvert NameLoad If UnaryOpNot NameLoad body Return Assign NameStore BinOpBitAnd CompareEq NameLoad NameLoad CompareEq NameLoad NameLoad Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore ListLoad Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If CompareLt NameLoad AttributeLoad NameLoad attr body Continue Assign NameStore AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Assign NameStore NameLoad Expr Call NameLoad AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Num Assign NameStore Call NameLoad keyword Num keyword NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad CompareEq NameLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad orelse Expr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Str body Return NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign NameStore TupleLoad TupleLoad Call NameLoad Str NameLoad TupleLoad Call NameLoad Str Str TupleLoad Call NameLoad Str Str Assign NameStore TupleLoad ListLoad Str ListLoad Str Assign NameStore Call Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore TupleLoad TupleLoad Call NameLoad Str NameLoad TupleLoad Call NameLoad Str Str TupleLoad Call NameLoad Str Str TupleLoad Call NameLoad Str Str TupleLoad Call NameLoad Str Str TupleLoad Call NameLoad Str Str Assign NameStore TupleLoad ListLoad Str Assign NameStore Call Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore TupleLoad TupleLoad Call NameLoad Str NameLoad TupleLoad Call NameLoad Str Str Assign NameStore TupleLoad ListLoad Str Assign NameStore Call Call NameLoad NameLoad NameLoad NameLoad orelse Assign NameStore Str Return NameLoad decorator_list
N/A N/A  Sahana Eden Disease Tracking Models

    @copyright: 2014-2016 (c) Sahana Software Foundation
    @license: MIT

    Permission is hereby granted, free of charge, to any person
    obtaining a copy of this software and associated documentation
    files (the "Software"), to deal in the Software without
    restriction, including without limitation the rights to use,
    copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the
    Software is furnished to do so, subject to the following
    conditions:

    The above copyright notice and this permission notice shall be
    included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
    OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
    HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
    OTHER DEALINGS IN THE SOFTWARE.
 N/A __all__ N/A DiseaseDataModel CaseTrackingModel ContactTracingModel DiseaseStatsModel disease_rheader N/A datetime N/A N/A N/A json N/A N/A N/A ImportError N/A N/A N/A N/A simplejson json N/A N/A N/A N/A gluon.contrib.simplejson json gluon * gluon.storage Storage s3 * s3layouts S3PopupLink N/A MONITORING_UPGRADE N/A OBSERVATION DIAGNOSTICS QUARANTINE N/A NONE FOLLOW-UP N/A NONE OBSERVATION FOLLOW-UP N/A NONE OBSERVATION DIAGNOSTICS FOLLOW-UP DiseaseDataModel N/A S3Model N/A N/A names N/A disease_disease disease_disease_id disease_symptom disease_symptom_id model N/A N/A self N/A N/A N/A T N/A current T N/A db N/A current db N/A crud_strings N/A N/A N/A current response s3 crud_strings N/A define_table N/A self define_table N/A tablename disease_disease N/A N/A define_table tablename N/A N/A self super_link doc_id doc_entity N/A Field name requires N/A IS_NOT_EMPTY N/A Field short_name N/A Field acronym N/A Field code label N/A T ICD-10-CM Code N/A Field description text N/A Field trace_period integer label N/A T Trace Period before Symptom Debut (days) N/A Field watch_period integer label N/A T Watch Period after Exposure (days) N/A s3_comments N/A s3_meta_fields N/A represent N/A S3Represent lookup tablename N/A disease_id N/A S3ReusableField disease_id N/A reference %s tablename label N/A T Disease represent represent requires N/A IS_ONE_OF db disease_disease.id represent sortby name comment N/A S3PopupLink f disease tooltip N/A T Add a new disease to the catalog N/A N/A N/A self add_components tablename disease_symptom disease_id N/A N/A N/A self configure tablename deduplicate N/A self disease_duplicate super_entity doc_entity N/A N/A crud_strings N/A tablename N/A Storage label_create N/A T Create Disease title_display N/A T Disease Information title_list N/A T Diseases title_update N/A T Edit Disease Information title_upload N/A T Import Disease Information label_list_button N/A T List Diseases label_delete_button N/A T Delete Disease Information msg_record_created N/A T Disease Information added msg_record_modified N/A T Disease Information updated msg_record_deleted N/A T Disease Information deleted msg_list_empty N/A T No Diseases currently registered N/A tablename disease_symptom N/A N/A define_table tablename N/A disease_id N/A Field name N/A Field description label N/A T Short Description N/A Field assessment label N/A T Assessment method N/A s3_meta_fields N/A represent N/A S3Represent lookup tablename N/A symptom_id N/A S3ReusableField symptom_id N/A reference %s tablename label N/A T Symptom represent represent requires N/A IS_ONE_OF db disease_symptom.id represent sortby name N/A N/A crud_strings N/A tablename N/A Storage label_create N/A T Add Symptom title_display N/A T Symptom Information title_list N/A T Symptoms title_update N/A T Edit Symptom Information title_upload N/A T Import Symptom Information label_list_button N/A T List Symptoms label_delete_button N/A T Delete Symptom Information msg_record_created N/A T Symptom Information added msg_record_modified N/A T Symptom Information updated msg_record_deleted N/A T Symptom Information deleted msg_list_empty N/A T No Symptom Information currently available N/A N/A dict disease_disease_id disease_id disease_symptom_id symptom_id N/A defaults N/A N/A N/A N/A N/A  Safe defaults for names in case the module is disabled  N/A dummy N/A S3ReusableField dummy_id integer readable False writable False N/A N/A dict disease_disease_id N/A N/A N/A N/A attr N/A dummy disease_id disease_symptom_id N/A N/A N/A N/A attr N/A dummy symptom_id N/A staticmethod disease_duplicate N/A N/A item N/A N/A N/A 
            Disease import update detection

            @param item: the import item
         N/A data N/A item data N/A code N/A N/A data get code N/A name N/A N/A data get name N/A table N/A item table N/A queries N/A N/A code N/A N/A N/A N/A queries append N/A N/A table code code N/A name N/A N/A N/A N/A queries append N/A N/A table name name N/A queries N/A N/A query N/A reduce N/A N/A N/A x y N/A N/A x y queries N/A N/A N/A rows N/A N/A N/A N/A current db query select N/A table id N/A table code N/A table name N/A duplicate None N/A row rows N/A N/A N/A code N/A N/A row code code N/A N/A duplicate N/A row id N/A N/A N/A name N/A N/A row name name N/A N/A duplicate N/A row id N/A duplicate N/A N/A N/A item id duplicate N/A N/A item method N/A N/A item METHOD UPDATE N/A N/A staticmethod N/A CaseTrackingModel N/A S3Model N/A N/A names N/A disease_case disease_case_id disease_case_monitoring disease_case_monitoring_symptom disease_case_diagnostics model N/A N/A self N/A N/A N/A T N/A current T N/A db N/A current db N/A crud_strings N/A N/A N/A current response s3 crud_strings N/A define_table N/A self define_table N/A configure N/A self configure N/A add_components N/A self add_components N/A person_id N/A self pr_person_id N/A diagnosis_status N/A UNKNOWN RISK PROBABLE CONFIRMED-POS CONFIRMED-NEG N/A T Unknown N/A T At Risk N/A T Probable N/A T Confirmed Positive N/A T Confirmed Negative N/A diagnosis_status_represent N/A S3Represent options diagnosis_status N/A monitoring_levels N/A NONE OBSERVATION DIAGNOSTICS QUARANTINE FOLLOW-UP N/A T No Monitoring N/A T Observation N/A T Diagnostics N/A T Quarantine N/A T Post-Recovery Follow-Up N/A monitoring_level_represent N/A S3Represent options monitoring_levels N/A illness_status N/A UNKNOWN ASYMPTOMATIC SYMPTOMATIC SEVERE DECEASED RECOVERED N/A T Unknown, Not Checked N/A T Asymptomatic, Clinical Signs Negative N/A T Symptomatic, Clinical Signs Positive N/A T Severely Ill, Clinical Signs Positive N/A T Deceased, Clinical Signs Positive N/A T Recovered N/A illness_status_represent N/A S3Represent options illness_status N/A tablename disease_case N/A N/A define_table tablename N/A Field case_number length 64 requires N/A IS_EMPTY_OR N/A IS_NOT_IN_DB db disease_case.case_number N/A person_id empty False ondelete CASCADE N/A N/A self disease_disease_id N/A N/A self gis_location_id N/A Field illness_status label N/A T Current Illness Status represent illness_status_represent requires N/A IS_IN_SET illness_status default UNKNOWN N/A s3_date symptom_debut label N/A T Symptom Debut N/A Field diagnosis_status label N/A T Diagnosis Status represent diagnosis_status_represent requires N/A IS_IN_SET diagnosis_status default UNKNOWN N/A s3_date diagnosis_date default now label N/A T Diagnosis Date N/A Field monitoring_level label N/A T Current Monitoring Level represent monitoring_level_represent requires N/A IS_IN_SET monitoring_levels default NONE N/A s3_date monitoring_until label N/A T Monitoring required until N/A s3_meta_fields N/A represent N/A disease_CaseRepresent N/A case_id N/A S3ReusableField case_id N/A reference %s tablename label N/A T Case represent represent requires N/A IS_ONE_OF db disease_case.id represent comment N/A S3PopupLink f case tooltip N/A T Add a new case N/A N/A add_components tablename disease_case_monitoring case_id disease_case_diagnostics case_id disease_tracing case_id disease_exposure N/A N/A name joinby pkey exposure person_id person_id N/A name joinby contact case_id N/A report_fields N/A disease_id location_id illness_status monitoring_level diagnosis_status N/A report_options N/A rows cols fact defaults report_fields report_fields N/A N/A N/A T Number of Cases count(id) N/A rows cols fact totals location_id diagnosis_status count(id) True N/A filter_widgets N/A N/A S3TextFilter N/A case_number person_id$first_name person_id$middle_name person_id$last_name label N/A T Search comment N/A T Enter Case Number or Name N/A S3OptionsFilter monitoring_level options monitoring_levels N/A S3OptionsFilter diagnosis_status options diagnosis_status N/A S3LocationFilter location_id N/A N/A configure tablename create_onvalidation N/A self case_create_onvalidation deduplicate N/A self case_duplicate delete_next N/A URL f case args N/A summary filter_widgets filter_widgets onaccept N/A self case_onaccept report_options report_options N/A N/A crud_strings N/A tablename N/A Storage label_create N/A T Create Case title_display N/A T Case Details title_list N/A T Cases title_update N/A T Edit Cases title_upload N/A T Import Cases label_list_button N/A T List Cases label_delete_button N/A T Delete Case msg_record_created N/A T Case added msg_record_modified N/A T Case updated msg_record_deleted N/A T Case deleted msg_list_empty N/A T No Cases currently registered N/A tablename disease_case_monitoring N/A N/A define_table tablename N/A case_id N/A s3_datetime default now N/A Field illness_status represent illness_status_represent requires N/A IS_IN_SET illness_status N/A s3_comments N/A s3_meta_fields N/A represent N/A S3Represent lookup tablename fields N/A case_id N/A status_id N/A S3ReusableField status_id N/A reference %s tablename label N/A T Case represent represent requires N/A IS_ONE_OF db disease_case.id represent comment N/A S3PopupLink f case tooltip N/A T Add a new case N/A N/A add_components tablename disease_symptom N/A link joinby key disease_case_monitoring_symptom status_id symptom_id N/A crud_fields N/A case_id date illness_status N/A S3SQLInlineLink symptom field symptom_id label N/A T Symptoms multiple True comments N/A N/A configure tablename crud_form N/A S3SQLCustomForm crud_fields list_fields N/A date illness_status N/A N/A T Symptoms symptom.name comments onaccept N/A self monitoring_onaccept N/A N/A crud_strings N/A tablename N/A Storage label_create N/A T Add Monitoring Update title_display N/A T Monitoring Update title_list N/A T Monitoring Updates title_update N/A T Edit Monitoring Update title_upload N/A T Import Monitoring Updates label_list_button N/A T List Monitoring Updates label_delete_button N/A T Delete Monitoring Update msg_record_created N/A T Monitoring Update added msg_record_modified N/A T Monitoring Update updated msg_record_deleted N/A T Monitoring Update deleted msg_list_empty N/A T No Monitoring Information currently available N/A tablename disease_case_monitoring_symptom N/A N/A define_table tablename N/A Field status_id reference disease_case_monitoring requires N/A IS_ONE_OF db disease_case_monitoring.id N/A N/A self disease_symptom_id N/A s3_meta_fields N/A probe_status N/A PENDING PROCESSED VALIDATED INVALID LOST N/A T Pending N/A T Processed N/A T Validated N/A T Invalid N/A T Lost N/A tablename disease_case_diagnostics N/A N/A define_table tablename N/A case_id N/A Field probe_type N/A Field probe_number length 64 unique True N/A s3_date probe_date default now label N/A T Probe Date N/A Field probe_status represent N/A S3Represent options probe_status requires N/A IS_IN_SET probe_status default PENDING N/A Field test_type N/A Field result N/A s3_date result_date label N/A T Result Date N/A Field conclusion represent diagnosis_status_represent requires N/A IS_EMPTY_OR N/A IS_IN_SET diagnosis_status N/A s3_comments N/A s3_meta_fields N/A N/A crud_strings N/A tablename N/A Storage label_create N/A T Add Diagnostic Test title_display N/A T Diagnostic Test Details title_list N/A T Diagnostic Tests title_update N/A T Edit Diagnostic Test Details title_upload N/A T Import Diagnostic Test Data label_list_button N/A T List Diagnostic Tests label_delete_button N/A T Delete Diagnostic Test msg_record_created N/A T Diagnostic Test added msg_record_modified N/A T Diagnostic Test updated msg_record_deleted N/A T Diagnostic Test deleted msg_list_empty N/A T No Diagnostic Tests currently registered N/A N/A dict disease_case_id case_id N/A defaults N/A N/A N/A N/A N/A  Safe defaults for names in case the module is disabled  N/A dummy N/A S3ReusableField dummy_id integer readable False writable False N/A N/A dict disease_case_id N/A N/A N/A N/A attr N/A dummy case_id N/A staticmethod get_case N/A N/A person_id disease_id N/A N/A N/A 
            Find the case record for a person for a disease

            @param person_id: the person record ID
            @param disease_id: the disease record ID
         N/A ctable N/A N/A current s3db disease_case N/A query N/A N/A N/A N/A ctable person_id person_id N/A N/A ctable disease_id disease_id N/A N/A ctable deleted True N/A record N/A N/A N/A N/A N/A N/A current db query select N/A ctable id N/A ctable case_number limitby N/A 0 1 first N/A record N/A staticmethod case_create_onvalidation N/A N/A cls form N/A N/A N/A 
            Make sure that there's only one case per person and disease
         N/A formvars N/A form vars N/A N/A N/A case_id N/A formvars id N/A person_id N/A formvars person_id N/A N/A N/A AttributeError N/A e N/A N/A N/A N/A disease_id formvars N/A N/A disease_id N/A N/A N/A N/A current s3db disease_case disease_id default N/A N/A disease_id N/A formvars disease_id N/A record N/A N/A cls get_case person_id disease_id N/A N/A record N/A N/A record id case_id N/A N/A error N/A N/A current T This case is already registered N/A link N/A A N/A record case_number _href N/A URL f case args N/A N/A record id N/A N/A N/A form errors person_id N/A XML N/A %s: %s N/A error link N/A N/A classmethod case_duplicate N/A N/A item N/A N/A N/A 
            Case import update detection

            @param item: the import item
         N/A data N/A item data N/A case_number N/A N/A data get case_number N/A person_id N/A N/A data get person_id N/A table N/A item table N/A case_number N/A N/A query N/A N/A N/A table case_number case_number N/A N/A table deleted True N/A N/A disease_id N/A N/A data get disease_id N/A N/A person_id disease_id N/A N/A query N/A N/A N/A N/A table disease_id disease_id N/A N/A table person_id person_id N/A N/A table deleted True N/A N/A N/A duplicate N/A N/A N/A N/A N/A N/A current db query select N/A table id N/A table person_id limitby N/A 0 1 first N/A duplicate N/A N/A N/A N/A item data person_id N/A duplicate person_id N/A N/A item id N/A duplicate id N/A N/A item method N/A N/A item METHOD UPDATE N/A N/A staticmethod case_onaccept N/A N/A form N/A N/A N/A 
            Propagate status updates of the case to high-risk contacts
         N/A formvars N/A form vars N/A N/A N/A record_id N/A formvars id N/A N/A N/A AttributeError N/A N/A N/A N/A disease_propagate_case_status record_id N/A N/A staticmethod monitoring_onaccept N/A N/A form N/A N/A N/A 
            Update the illness status of the case from last monitoring entry
         N/A formvars N/A form vars N/A N/A N/A record_id N/A formvars id N/A N/A N/A AttributeError N/A N/A N/A db N/A current db N/A s3db N/A current s3db N/A ctable N/A s3db disease_case N/A mtable N/A s3db disease_case_monitoring N/A case_id None N/A N/A case_id formvars N/A N/A query N/A N/A mtable id record_id N/A row N/A N/A N/A N/A N/A db query select N/A mtable case_id limitby N/A 0 1 first N/A row N/A N/A case_id N/A row case_id N/A N/A case_id N/A formvars case_id N/A N/A case_id N/A N/A N/A query N/A N/A N/A mtable case_id case_id N/A N/A mtable illness_status None N/A row N/A N/A N/A N/A N/A db query select N/A mtable illness_status orderby disease_case_monitoring.date desc limitby N/A 0 1 first N/A row N/A N/A N/A N/A N/A db N/A N/A ctable id case_id update illness_status N/A row illness_status N/A N/A disease_propagate_case_status case_id N/A N/A staticmethod N/A disease_CaseRepresent N/A S3Represent N/A __init__ N/A N/A self N/A N/A N/A  Constructor  N/A N/A N/A N/A super disease_CaseRepresent self __init__ lookup disease_case N/A lookup_rows N/A N/A self key values fields N/A N/A N/A N/A 
            Custom rows lookup

            @param key: the key Field
            @param values: the values
            @param fields: unused (retained for API compatibility)
         N/A s3db N/A current s3db N/A table N/A self table N/A ptable N/A s3db pr_person N/A dtable N/A s3db disease_disease N/A left N/A N/A N/A ptable on N/A N/A ptable id N/A table person_id N/A N/A dtable on N/A N/A dtable id N/A table disease_id N/A N/A N/A len values 1 N/A N/A query N/A key N/A values N/A 0 N/A N/A query N/A N/A key belongs values N/A rows N/A N/A N/A N/A current db query select N/A table id N/A table case_number N/A dtable name N/A dtable short_name N/A dtable acronym N/A ptable first_name N/A ptable last_name left left N/A N/A self queries 1 N/A rows N/A represent_row N/A N/A self row N/A N/A N/A 
            Represent a row

            @param row: the Row
         N/A N/A N/A case_number N/A N/A row N/A N/A self tablename case_number N/A N/A N/A AttributeError N/A N/A N/A row case_number N/A disease_name None N/A N/A N/A disease N/A row N/A disease_disease N/A N/A N/A AttributeError N/A N/A N/A N/A field N/A acronym short_name name N/A N/A N/A field disease N/A N/A disease_name N/A disease N/A field N/A disease_name N/A N/A N/A N/A disease_name case_number N/A N/A case N/A %s [%s] N/A case_number disease_name N/A N/A disease_name N/A N/A case N/A [%s] disease_name N/A N/A case case_number N/A N/A N/A person N/A row N/A pr_person N/A N/A N/A AttributeError N/A N/A case N/A full_name N/A s3_fullname person N/A case N/A N/A N/A N/A join N/A case full_name N/A N/A full_name N/A N/A ContactTracingModel N/A S3Model N/A N/A names N/A disease_tracing disease_exposure model N/A N/A self N/A N/A N/A T N/A current T N/A db N/A current db N/A crud_strings N/A N/A N/A current response s3 crud_strings N/A define_table N/A self define_table N/A case_id N/A self disease_case_id N/A contact_tracing_status N/A OPEN COMPLETE N/A T Open N/A T Complete N/A tablename disease_tracing N/A N/A define_table tablename N/A case_id N/A s3_datetime start_date label N/A T From set_min #disease_tracing_end_date N/A s3_datetime end_date label N/A T To set_max #disease_tracing_start_date N/A N/A self gis_location_id N/A Field circumstances text N/A Field status default OPEN label N/A T Tracing Status requires N/A IS_IN_SET contact_tracing_status zero None represent N/A S3Represent options contact_tracing_status N/A s3_comments N/A s3_meta_fields N/A represent N/A S3Represent lookup tablename fields N/A case_id N/A tracing_id N/A S3ReusableField tracing_id N/A reference %s tablename label N/A T Tracing Record represent represent requires N/A IS_EMPTY_OR N/A IS_ONE_OF db disease_tracing.id represent sortby date comment N/A S3PopupLink f tracing tooltip N/A T Add a new contact tracing information N/A N/A N/A self add_components tablename disease_exposure tracing_id N/A N/A crud_strings N/A tablename N/A Storage label_create N/A T Add Tracing Record title_display N/A T Tracing Details title_list N/A T Contact Tracings title_update N/A T Edit Tracing Information title_upload N/A T Import Tracing Information label_list_button N/A T List Tracing Record label_delete_button N/A T Delete Tracing Record msg_record_created N/A T Tracing Record added msg_record_modified N/A T Tracing Record updated msg_record_deleted N/A T Tracing Record deleted msg_list_empty N/A T No Contact Tracings currently registered N/A protection_level N/A NONE PARTIAL FULL N/A T Unknown N/A T Partial N/A T Full N/A protection_level_represent N/A S3Represent options protection_level N/A exposure_type N/A UNKNOWN DIRECT INDIRECT N/A T Unknown N/A T Direct N/A T Indirect N/A exposure_type_represent N/A S3Represent options exposure_type N/A exposure_risk N/A UNKNOWN NONE LOW HIGH N/A T Unknown N/A T No known exposure N/A T Low risk exposure N/A T High risk exposure N/A exposure_risk_represent N/A S3Represent options exposure_risk N/A tablename disease_exposure N/A N/A define_table tablename N/A case_id N/A tracing_id N/A N/A self pr_person_id requires N/A IS_ADD_PERSON_WIDGET2 widget N/A S3AddPersonWidget2 controller pr N/A s3_datetime N/A Field exposure_type default UNKNOWN represent exposure_type_represent requires N/A IS_IN_SET exposure_type zero None N/A Field protection_level default NONE represent protection_level_represent requires N/A IS_IN_SET protection_level zero None N/A Field exposure_risk default LOW represent exposure_risk_represent requires N/A IS_IN_SET exposure_risk zero None N/A Field circumstances text N/A s3_meta_fields N/A N/A N/A self configure tablename onaccept N/A self exposure_onaccept N/A N/A crud_strings N/A tablename N/A Storage label_create N/A T Add Exposure Information title_display N/A T Exposure Details title_list N/A T Exposure Information title_update N/A T Edit Exposure Information title_upload N/A T Import Exposure Information label_list_button N/A T List Exposures label_delete_button N/A T Delete Exposure Information msg_record_created N/A T Exposure Information added msg_record_modified N/A T Exposure Information updated msg_record_deleted N/A T Exposure Information deleted msg_list_empty N/A T No Exposure Information currently registered N/A N/A N/A defaults N/A N/A N/A N/A N/A N/A N/A staticmethod exposure_onaccept N/A N/A form N/A N/A N/A 
            @todo: docstring
         N/A formvars N/A form vars N/A N/A N/A record_id N/A formvars id N/A N/A N/A AttributeError N/A N/A N/A db N/A current db N/A s3db N/A current s3db N/A N/A case_id formvars N/A N/A etable N/A s3db disease_exposure N/A row N/A N/A N/A N/A N/A db N/A N/A etable id record_id select N/A etable case_id limitby N/A 0 1 first N/A N/A row N/A N/A N/A case_id N/A row case_id N/A N/A case_id N/A formvars case_id N/A N/A disease_propagate_case_status case_id N/A N/A staticmethod N/A disease_propagate_case_status N/A N/A case_id N/A N/A N/A 
        @todo: docstring
     N/A db N/A current db N/A s3db N/A current s3db N/A risk_status N/A SYMPTOMATIC SEVERE DECEASED RECOVERED N/A ctable N/A s3db disease_case N/A query N/A N/A N/A ctable id case_id N/A N/A ctable deleted True N/A case N/A N/A N/A N/A N/A db query select N/A ctable id N/A ctable created_on N/A ctable disease_id N/A ctable illness_status N/A ctable symptom_debut N/A ctable diagnosis_status N/A ctable diagnosis_date limitby N/A 0 1 first N/A N/A case None N/A N/A N/A disease_id N/A case disease_id N/A symptom_debut N/A case symptom_debut N/A N/A symptom_debut N/A N/A mtable N/A s3db disease_case_monitoring N/A query N/A N/A N/A N/A mtable case_id case_id N/A N/A N/A mtable illness_status belongs risk_status N/A N/A mtable deleted True N/A monitoring N/A N/A N/A N/A N/A db query select N/A mtable date orderby disease_case_monitoring.date desc limitby N/A 0 1 first N/A monitoring N/A N/A symptom_debut N/A monitoring date N/A N/A N/A symptom_debut N/A N/A case illness_status risk_status N/A N/A symptom_debut N/A case created_on N/A N/A symptom_debut N/A N/A N/A N/A N/A N/A case diagnosis_status CONFIRMED-NEG N/A N/A case diagnosis_date symptom_debut N/A N/A N/A dtable N/A s3db disease_disease N/A query N/A N/A N/A dtable id disease_id N/A N/A dtable deleted True N/A disease N/A N/A N/A N/A N/A db query select N/A dtable trace_period N/A dtable watch_period limitby N/A 0 1 first N/A N/A disease N/A N/A N/A trace_period N/A disease trace_period N/A trace_period N/A N/A risk_period_start N/A symptom_debut N/A N/A datetime timedelta days N/A disease trace_period N/A N/A risk_period_start symptom_debut N/A etable N/A s3db disease_exposure N/A query N/A N/A N/A N/A N/A etable case_id case_id N/A N/A etable date risk_period_start N/A N/A etable exposure_risk HIGH N/A N/A etable deleted True N/A exposures N/A N/A N/A db query select N/A etable person_id N/A exposure exposures N/A N/A N/A disease_create_case disease_id N/A exposure person_id monitoring_level OBSERVATION N/A N/A disease_create_case N/A N/A disease_id person_id monitoring_level N/A None N/A N/A 
        @todo: docstring
     N/A ctable N/A N/A current s3db disease_case N/A query N/A N/A N/A N/A ctable person_id person_id N/A N/A ctable disease_id disease_id N/A N/A ctable deleted True N/A case N/A N/A N/A N/A N/A N/A current db query select N/A ctable id N/A ctable monitoring_level limitby N/A 0 1 first N/A case N/A N/A case_id N/A case id N/A N/A monitoring_level None N/A N/A N/A disease_upgrade_monitoring case_id monitoring_level case case N/A N/A case_id N/A N/A ctable insert disease_id disease_id person_id person_id monitoring_level monitoring_level N/A case_id N/A disease_upgrade_monitoring N/A N/A case_id level case N/A None N/A N/A 
        @todo: docstring
     N/A N/A level MONITORING_UPGRADE N/A N/A False N/A N/A previous_levels N/A MONITORING_UPGRADE N/A level N/A N/A N/A case None N/A monitoring_level case N/A N/A ctable N/A N/A current s3db disease_case N/A query N/A N/A N/A N/A ctable id case_id N/A N/A N/A ctable monitoring_level belongs previous_levels N/A N/A ctable deleted True N/A case N/A N/A N/A N/A N/A N/A current db query select N/A ctable id limitby N/A 0 1 first N/A N/A N/A N/A case monitoring_level previous_levels N/A N/A N/A case N/A N/A N/A N/A case update_record monitoring_level level N/A True N/A DiseaseStatsModel N/A S3Model N/A N/A 
        Disease Statistics:
            Cases:
                Confirmed/Suspected/Probable
            Deaths
     N/A names N/A disease_statistic disease_stats_data disease_stats_aggregate disease_stats_rebuild_all_aggregates disease_stats_update_aggregates disease_stats_update_location_aggregates model N/A N/A self N/A N/A N/A T N/A current T N/A db N/A current db N/A configure N/A self configure N/A crud_strings N/A N/A N/A current response s3 crud_strings N/A define_table N/A self define_table N/A super_link N/A self super_link N/A location_id N/A self gis_location_id N/A stats_parameter_represent N/A S3Represent lookup stats_parameter translate True N/A tablename disease_statistic N/A N/A define_table tablename N/A super_link parameter_id stats_parameter N/A Field name label N/A T Name requires N/A IS_NOT_EMPTY represent N/A N/A N/A v N/A N/A N/A v None N/A T v NONE N/A s3_comments description label N/A T Description N/A s3_meta_fields N/A ADD_STATISTIC N/A T Add Statistic N/A N/A crud_strings N/A tablename N/A Storage label_create ADD_STATISTIC title_display N/A T Statistic Details title_list N/A T Statistics title_update N/A T Edit Statistic label_list_button N/A T List Statistics msg_record_created N/A T Statistic added msg_record_modified N/A T Statistic updated msg_record_deleted N/A T Statistic deleted msg_list_empty N/A T No statistics currently defined N/A N/A configure tablename deduplicate N/A S3Duplicate super_entity stats_parameter N/A tablename disease_stats_data N/A N/A define_table tablename N/A super_link data_id stats_data N/A super_link parameter_id stats_parameter instance_types N/A disease_statistic label N/A T Statistic represent stats_parameter_represent readable True writable True empty False comment N/A S3PopupLink c disease f statistic vars N/A child parameter_id title ADD_STATISTIC N/A location_id requires N/A IS_LOCATION widget N/A S3LocationAutocompleteWidget N/A Field value double label N/A T Value represent N/A N/A N/A v N/A N/A N/A IS_FLOAT_AMOUNT represent v precision 2 requires N/A IS_NOT_EMPTY N/A s3_date empty False N/A N/A self stats_source_id N/A s3_comments N/A s3_meta_fields N/A N/A crud_strings N/A tablename N/A Storage label_create N/A T Add Disease Data title_display N/A T Disease Data Details title_list N/A T Disease Data title_update N/A T Edit Disease Data title_upload N/A T Import Disease Data label_list_button N/A T List Disease Data msg_record_created N/A T Disease Data added msg_record_modified N/A T Disease Data updated msg_record_deleted N/A T Disease Data deleted msg_list_empty N/A T No disease data currently available N/A levels N/A N/A N/A current gis get_relevant_hierarchy_levels N/A location_fields N/A N/A location_id$%s level N/A level levels N/A list_fields N/A parameter_id N/A N/A N/A list_fields extend location_fields N/A N/A N/A list_fields extend N/A value date source_id N/A filter_widgets N/A N/A S3OptionsFilter parameter_id label N/A T Type multiple False N/A S3OptionsFilter location_id$level label N/A T Level multiple False N/A S3LocationFilter location_id levels levels N/A report_options N/A Storage rows location_fields cols N/A parameter_id fact N/A N/A N/A T Value sum(value) defaults N/A Storage rows N/A location_fields N/A 0 cols parameter_id fact sum(value) totals True chart breakdown:rows table collapse N/A N/A configure tablename deduplicate N/A S3Duplicate primary N/A parameter_id location_id date filter_widgets filter_widgets list_fields list_fields report_options report_options super_entity stats_data timeplot_options N/A defaults N/A event_start event_end fact date date cumulate(value) N/A aggregate_types N/A 1 2 N/A T Time N/A T Location N/A tablename disease_stats_aggregate N/A N/A define_table tablename N/A super_link parameter_id stats_parameter empty False instance_types N/A disease_statistic label N/A T Statistic represent N/A S3Represent lookup stats_parameter readable True writable True N/A location_id requires N/A IS_LOCATION widget N/A S3LocationAutocompleteWidget N/A Field agg_type integer default 1 label N/A T Aggregation Type represent N/A N/A N/A opt N/A N/A N/A aggregate_types get opt N/A N/A current messages UNKNOWN_OPT requires N/A IS_IN_SET aggregate_types N/A s3_date date label N/A T Start Date N/A Field sum double label N/A T Sum represent N/A N/A N/A v N/A N/A N/A IS_FLOAT_AMOUNT represent v precision 2 N/A s3_meta_fields N/A N/A dict disease_stats_rebuild_all_aggregates N/A self disease_stats_rebuild_all_aggregates disease_stats_update_aggregates N/A self disease_stats_update_aggregates disease_stats_update_location_aggregates N/A self disease_stats_update_location_aggregates N/A disease_stats_rebuild_all_aggregates N/A N/A N/A N/A N/A 
            This will delete all the disease_stats_aggregate records and
            then rebuild them by triggering off a request for each
            disease_stats_data record.

            This function is normally only run during prepop or postpop so we
            don't need to worry about the aggregate data being unavailable for
            any length of time
         N/A db N/A current db N/A ttable N/A db scheduler_task N/A rtable N/A db scheduler_run N/A wtable N/A db scheduler_worker N/A query N/A N/A N/A N/A ttable task_name disease_stats_update_aggregates N/A N/A rtable task_id N/A ttable id N/A N/A rtable status RUNNING N/A rows N/A N/A N/A db query select N/A rtable id N/A rtable task_id N/A rtable worker_name N/A now N/A N/A current request utcnow N/A row rows N/A N/A N/A N/A N/A db N/A N/A wtable worker_name N/A row worker_name update status KILL N/A N/A N/A N/A db N/A N/A rtable id N/A row id update stop_time now status STOPPED N/A N/A N/A N/A db N/A N/A ttable id N/A row task_id update stop_time now status STOPPED N/A N/A N/A N/A N/A current s3db disease_stats_aggregate truncate N/A dtable N/A db disease_stats_data N/A query N/A N/A dtable deleted True N/A records N/A N/A N/A db query select N/A dtable parameter_id N/A dtable date N/A dtable value N/A dtable location_id N/A N/A N/A N/A current s3task async disease_stats_update_aggregates vars N/A dict records N/A N/A records json all True timeout 21600 N/A staticmethod disease_stats_update_aggregates N/A N/A records all N/A None False N/A N/A 
            This will calculate the disease_stats_aggregates for the specified
            records. Either all (when rebuild_all is invoked) or for the
            individual parameter(s) at the specified location(s) when run
            onaccept/onapprove.
            @ToDo: onapprove/onaccept wrapper function.

            This will get the raw data from disease_stats_data and generate
            a disease_stats_aggregate record for the given time period.

            The reason for doing this is so that all aggregated data can be
            obtained from a single table. So when displaying data for a
            particular location it will not be necessary to try the aggregate
            table, and if it's not there then try the data table. Rather just
            look at the aggregate table.

            Once this has run then a complete set of aggregate records should
            exists for this parameter_id and location for every time period from
            the first data item until the current time period.

            @ToDo: Add test cases to modules/unit_tests/s3db/disease.py
          N/A N/A records N/A N/A N/A N/A isinstance records basestring N/A N/A from_json True dateutil.parser parse N/A records N/A N/A json loads records N/A N/A N/A isinstance N/A N/A records N/A 0 N/A date N/A N/A datetime date N/A datetime datetime N/A N/A from_json False N/A N/A from_json True dateutil.parser parse N/A db N/A current db N/A s3db N/A current s3db N/A atable N/A db disease_stats_aggregate N/A N/A all N/A N/A N/A dtable N/A s3db disease_stats_data N/A now N/A N/A current request now N/A earliest_period N/A N/A now date N/A locations N/A N/A parameters N/A N/A pappend N/A parameters append N/A record records N/A N/A location_id N/A record N/A location_id N/A N/A location_id locations N/A N/A N/A locations N/A location_id N/A N/A parameter_id N/A record N/A parameter_id N/A N/A parameter_id parameters N/A N/A N/A pappend parameter_id N/A N/A parameter_id N/A locations N/A location_id N/A N/A N/A N/A locations N/A location_id N/A parameter_id N/A N/A from_json N/A N/A date N/A parse N/A record N/A date N/A date N/A N/A date date N/A N/A date N/A record N/A date N/A N/A date earliest_period N/A N/A earliest_period date N/A N/A N/A N/A locations N/A location_id N/A parameter_id N/A date N/A record N/A value dateutil.rrule rrule DAILY N/A dates N/A rrule DAILY dtstart earliest_period until now N/A dates N/A N/A N/A d date N/A d dates N/A insert N/A atable insert N/A lfield N/A atable location_id N/A pfield N/A atable parameter_id N/A dfield N/A atable date N/A ifield N/A atable id N/A _q N/A N/A atable agg_type 1 N/A location_id locations N/A N/A location N/A locations N/A location_id N/A query N/A _q N/A lfield location_id N/A parameter_id location N/A N/A parameter N/A location N/A parameter_id N/A q N/A query N/A pfield parameter_id N/A d dates N/A N/A values N/A N/A vappend N/A values append N/A date parameter N/A N/A N/A date d N/A N/A N/A vappend N/A parameter N/A date N/A values_sum N/A sum values N/A exists N/A N/A N/A db N/A q N/A dfield d select ifield limitby N/A 0 1 N/A exists N/A N/A N/A N/A N/A db N/A ifield N/A N/A N/A exists first id update sum values_sum N/A N/A N/A insert agg_type 1 location_id location_id parameter_id parameter_id date d sum values_sum N/A gtable N/A db gis_location N/A ifield N/A gtable id N/A location_ids N/A N/A locations keys N/A paths N/A N/A N/A db N/A N/A ifield belongs location_ids select N/A gtable path N/A paths N/A N/A N/A N/A p path split / N/A p paths N/A itertools N/A ancestors N/A tuple N/A N/A N/A itertools chain from_iterable paths N/A ancestors N/A a N/A a ancestors N/A a location_ids N/A pfield N/A gtable parent N/A query N/A N/A N/A gtable deleted False N/A N/A pfield belongs ancestors N/A all_children N/A N/A N/A db query select ifield pfield N/A rows N/A N/A N/A db N/A N/A ifield belongs ancestors select ifield N/A gtable level N/A L0 N/A N/A L0_append N/A L0 append N/A L1 N/A N/A L1_append N/A L1 append N/A L2 N/A N/A L2_append N/A L2 append N/A L3 N/A N/A L3_append N/A L3 append N/A L4 N/A N/A L4_append N/A L4 append N/A row rows N/A N/A N/A N/A row level L0 N/A N/A N/A L0_append N/A row id N/A N/A N/A N/A row level L1 N/A N/A N/A L1_append N/A row id N/A N/A N/A N/A row level L2 N/A N/A N/A L2_append N/A row id N/A N/A N/A N/A row level L3 N/A N/A N/A L3_append N/A row id N/A N/A N/A N/A row level L4 N/A N/A N/A L4_append N/A row id N/A async N/A N/A current s3task async gluon.serializers json jsons N/A dates N/A jsons dates N/A level N/A L4 L3 L2 L1 N/A N/A location_id level N/A N/A children N/A N/A c id N/A c all_children N/A N/A c parent location_id N/A children N/A N/A json dumps children N/A parameter_id parameters N/A N/A N/A async disease_stats_update_location_aggregates args N/A location_id children parameter_id dates timeout 1800 N/A staticmethod disease_stats_update_location_aggregates N/A N/A location_id children parameter_id dates N/A N/A N/A 
            Calculates the disease_stats_aggregate for a specific parameter at a
            specific location over the range of dates.

            @param location_id: location to aggregate at
            @param children: locations to aggregate from
            @param parameter_id: arameter to aggregate
            @param dates: dates to aggregate for (as JSON string)
         N/A db N/A current db N/A atable N/A N/A current s3db disease_stats_aggregate N/A ifield N/A atable id N/A lfield N/A atable location_id N/A pfield N/A atable parameter_id N/A dfield N/A atable date N/A children N/A N/A json loads children N/A query N/A N/A N/A pfield parameter_id N/A N/A atable deleted True N/A N/A lfield belongs children N/A rows N/A N/A N/A db query select N/A atable sum dfield lfield orderby N/A lfield N/A dfield N/A N/A rows N/A N/A N/A query N/A N/A lfield location_id N/A pfield parameter_id N/A existing N/A N/A N/A db query select ifield dfield N/A exists N/A N/A e existing N/A N/A N/A exists N/A N/A e date N/A e id dateutil.parser parse N/A dates N/A N/A json loads dates N/A insert N/A atable insert N/A date dates N/A N/A date N/A parse date N/A date N/A N/A date date N/A last_location None N/A values N/A N/A vappend N/A values append N/A row rows N/A N/A N/A date N/A row date N/A N/A N/A new_location_id N/A row location_id N/A N/A new_location_id last_location N/A N/A last_location new_location_id N/A N/A vappend N/A row sum N/A values N/A N/A values_sum N/A sum values N/A N/A values_sum 0 N/A attr N/A dict agg_type 2 sum values_sum N/A N/A date exists N/A N/A N/A N/A N/A db N/A ifield N/A exists N/A date update attr N/A N/A N/A insert parameter_id parameter_id location_id location_id date date attr N/A staticmethod N/A disease_rheader N/A N/A r tabs N/A None N/A N/A 
        Resource Header for Disease module
     N/A T N/A current T N/A N/A N/A r representation html N/A N/A None N/A resourcename N/A r name N/A N/A resourcename disease N/A N/A tabs N/A N/A N/A T Basic Details None N/A N/A T Symptoms symptom N/A N/A T Documents document N/A rheader_fields N/A N/A name N/A code N/A rheader N/A N/A S3ResourceHeader rheader_fields tabs r N/A N/A N/A resourcename case N/A N/A tabs N/A N/A N/A T Basic Details None N/A N/A T Exposure exposure N/A N/A T Monitoring case_monitoring N/A N/A T Diagnostics case_diagnostics N/A N/A T Contacts contact N/A N/A T Tracing tracing N/A rheader_fields N/A N/A person_id N/A rheader N/A N/A S3ResourceHeader rheader_fields tabs r N/A N/A N/A resourcename tracing N/A N/A tabs N/A N/A N/A T Basic Details None N/A N/A T Contact Persons exposure N/A rheader_fields N/A N/A case_id N/A rheader N/A N/A S3ResourceHeader rheader_fields tabs r N/A N/A rheader N/A rheader N/A