Participants were randomly assigned in a @:@ ratio to the depression care for people with lung cancer treatment programme or usual care by a database software algorithm that used stratification ( by trial centre ) and minimisation ( by age , sex , and cancer type ) with allocation concealment .