changes.mady.by.user Aleksandra Novokhatnia
Saved on May 25, 2020
...
if (person.age < prm.global_parametrs.adult_age)&(doctor.speciality = PEDIATRICIAN) { end_date = min(birth_date + prm.global_parametrs.adult_age - 1d, start_date + declaration_term - 1d); } else { end_date = start_date + declaration_term - 1d; }