<s> import fluff <EOL> class MotherRegistered ( fluff . Calculator ) : <EOL> @ fluff . date_emitter <EOL> def total ( self , case ) : <EOL> yield case . opened_on <EOL> class ChildRegistered ( fluff . Calculator ) : <EOL> @ fluff . date_emitter <EOL> def total ( self , case ) : <EOL> yield case . opened_on <EOL> class NumberChildren ( fluff . Calculator ) : <EOL> @ fluff . date_emitter <EOL> def total ( self , case ) : <EOL> total = <NUM_LIT:0> <EOL> if hasattr ( case , '<STR_LIT>' ) and case . get_case_property ( '<STR_LIT>' ) != '<STR_LIT>' : <EOL> total = int ( case . get_case_property ( '<STR_LIT>' ) ) <EOL> yield { '<STR_LIT:date>' : case . opened_on , '<STR_LIT:value>' : total } <EOL> class NumberBoys ( fluff . Calculator ) : <EOL> @ fluff . date_emitter <EOL> def total ( self , case ) : <EOL> total = <NUM_LIT:0> <EOL> if hasattr ( case , '<STR_LIT>' ) and case . get_case_property ( '<STR_LIT>' ) != '<STR_LIT>' : <EOL> total = int ( case . get_case_property ( '<STR_LIT>' ) ) <EOL> yield { '<STR_LIT:date>' : case . opened_on , '<STR_LIT:value>' : total } <EOL> class NumberGirls ( fluff . Calculator ) : <EOL> @ fluff . date_emitter <EOL> def total ( self , case ) : <EOL> total = <NUM_LIT:0> <EOL> if hasattr ( case , '<STR_LIT>' ) and case . get_case_property ( '<STR_LIT>' ) != '<STR_LIT>' : <EOL> total = int ( case . get_case_property ( '<STR_LIT>' ) ) <EOL> yield { '<STR_LIT:date>' : case . opened_on , '<STR_LIT:value>' : total } <EOL> class StillBirth ( fluff . Calculator ) : <EOL> @ fluff . date_emitter <EOL> def total ( self , case ) : <EOL> total = <NUM_LIT:0> <EOL> if hasattr ( case , '<STR_LIT>' ) and case . get_case_property ( '<STR_LIT>' ) != '<STR_LIT>' : <EOL> total = int ( case . get_case_property ( '<STR_LIT>' ) ) <EOL> yield { '<STR_LIT:date>' : case . opened_on , '<STR_LIT:value>' : total } </s>
