Abortions are allowed within 16 weeks in the cases of rape or another sexual crime and up to 24 weeks if there is a risk that the child will be born with an incurable disease or malformation - which must be certified by a doctor other than the one performing the procedure.