Participants were randomly assigned in a 1:1 ratio to the depression care for people with cancer intervention or usual care , with stratification ( by trial centre ) and minimisation ( by age , primary cancer , and sex ) with allocation concealment .