Ejemplo n.º 1
0
 def has_add(self, case):
     return is_pregnant_mother(case) and get_add(case)
Ejemplo n.º 2
0
def is_newborn(case):
    return is_pregnant_mother(case) and (
        is_recently_delivered(case)
        or get_related_prop(case, 'birth_status') == "live_birth"
    )
Ejemplo n.º 3
0
 def filter(self, case):
     return is_pregnant_mother(case) and get_edd(case) and couple_interested_in_fp(case)
Ejemplo n.º 4
0
 def filter(self, case):
     return is_pregnant_mother(case)
Ejemplo n.º 5
0
 def case_type(self, case):
     return is_pregnant_mother(case)
Ejemplo n.º 6
0
 def filter(self, case):
     return is_pregnant_mother(case) and get_add(case)