Patients were randomly assigned ( @:@:@ ; stratified by age -LSB- < @ years vs @ years -RSB- ) using secure online computer randomisation to laparoscopic lavage , Hartmann 's procedure , or primary anastomosis in a parallel design after diagnostic laparoscopy .