Replaced code with the one from revision
8f29dc877ae3c9ccb4c4aa0cbe9ad8f9f2ab2aad as the current DIH doesn't have
the preQC anf lagacy fields.