# DEQM Calculated Date Extension - Data Exchange For Quality Measures Implementation Guide v1.0.0-ballot

## Extension: DEQM Calculated Date Extension 

This extension applies to the date the metric was actually calculated. If your measure calculation draws on stored calculations and there are multiple calculation dates, this extension would not apply, as in the example of a composite measure where the individual measures were calculated on different dates. This would only cover the case where there is only one calculation date.

**Context of Use**

### Mandatory Data Elements and Terminology

The following data-elements are mandatory (i.e data MUST be present).

**Each Must Have:**

1. url: identifies the meaning of the extension

**Usage info**

**Usages:**

* Use this Extension: [DEQM Individual MeasureReport Profile](StructureDefinition-deqm-individualmeasurereport.md), [DEQM Subject List MeasureReport](StructureDefinition-deqm-subjectlistmeasurereport.md) and [DEQM Summary MeasureReport Profile](StructureDefinition-deqm-summarymeasurereport.md)
* Examples for this Extension: [MeasureReport/FHIRPath-example](MeasureReport-FHIRPath-example.md), [MeasureReport/indv-measurereport-patient-level-linear](MeasureReport-indv-measurereport-patient-level-linear.md), [MeasureReport/indv-measurereport-weighted-composite](MeasureReport-indv-measurereport-weighted-composite.md) and [MeasureReport/indv-measurereport01](MeasureReport-indv-measurereport01.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/hl7.fhir.uv.deqm|current/StructureDefinition/deqm-calculatedDate)

### Formal Views of Extension Content

 [Description Differentials, Snapshots, and other representations](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](../StructureDefinition-deqm-calculatedDate.csv), [Excel](../StructureDefinition-deqm-calculatedDate.xlsx), [Schematron](../StructureDefinition-deqm-calculatedDate.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "deqm-calculatedDate",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cqi"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 4,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/deqm/ImplementationGuide/hl7.fhir.uv.deqm"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/deqm/ImplementationGuide/hl7.fhir.uv.deqm"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/uv/deqm/StructureDefinition/deqm-calculatedDate",
  "version" : "1.0.0-ballot",
  "name" : "DEQMCalculatedDateExtension",
  "title" : "DEQM Calculated Date Extension",
  "status" : "active",
  "experimental" : false,
  "date" : "2018-06-19T00:00:00-07:00",
  "publisher" : "HL7 International / Clinical Quality Information",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/cqi"
    }]
  }],
  "description" : "This extension applies to the date the metric was actually calculated. If your measure calculation draws on stored calculations and there are multiple calculation dates, this extension would not apply, as in the example of a composite measure where the individual measures were calculated on different dates.  This would only cover the case where there is only one calculation date.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  }],
  "kind" : "complex-type",
  "abstract" : false,
  "context" : [{
    "type" : "element",
    "expression" : "MeasureReport.group"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Extension",
      "path" : "Extension",
      "short" : "The date the score was calculated",
      "definition" : "This applies to the date this metric was actually calculated. If your measure calculation draws on stored calculations and there are multiple calculation dates, this extension would not apply, as in the example of a composite measure where the individual measures were calculated on different dates.  This would only cover the case where there is only one calculation date.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Extension.url",
      "path" : "Extension.url",
      "type" : [{
        "code" : "uri"
      }],
      "fixedUri" : "http://hl7.org/fhir/uv/deqm/StructureDefinition/deqm-calculatedDate"
    },
    {
      "id" : "Extension.value[x]",
      "path" : "Extension.value[x]",
      "short" : "The date the score was calculated.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }]
    }]
  }
}

```
