According to CMS, the Quality Measures (QMs) are calculated using information from the Minimum Data Set (MDS).