This chapter applies only to a civil action brought under this code.