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