Beispiel #1
0
 def filter(self, case):
     return is_pregnant_mother(case) and get_edd(case) and couple_interested_in_fp(case)
Beispiel #2
0
 def total(self, case):
     yield get_edd(case)
 def sortkey(self, case, context):
     return get_edd(case) or datetime.datetime.max.date()
Beispiel #4
0
 def total(self, case):
     yield get_edd(case) - self.window / 2
Beispiel #5
0
 def has_edd(self, case):
     return is_pregnant_mother(case) and get_edd(case) and not get_add(case)
Beispiel #6
0
 def filter(self, case):
     return is_pregnant_mother(case) and get_edd(case)