How to get quality data model(QDM) elements from EHR's raw data to calculate eCQM? I know EHR can export data using standards like CDA and FHIR by HL7. But how to extract QDM elements from these standards?
For quality reporting, there are lots of different ways to do this. Many EHRs already support extracting QDM data in the form of Quality Reporting Document Architecture (QRDA) documents to support CMS quality reporting requirements. For FHIR specifically, there is a set of FHIR profiles called QI-Core (Quality Improvement), that builds on the US-Core profiles and provides a skeletal mapping from QDM to the QI-Core profiles: