Creates variables and associated domains for ECG dataset