Conditional assignment for cohort conversions
Initial results tests/code