Adding qdm to hqmf r2.1 patterns