Derivation
variable: spousenum (table[s]: all_marital_reports [derived table])
variable: idspouse (table[s]: all_spouse_pairs_clean_summarised [derived table])
this come directly from all_marital_reports and is updated once the spouse ids have been added into the episode data.