# DEQM Alternate Score Type Extension - Data Exchange For Quality Measures Implementation Guide v1.0.0-ballot

## Extension: DEQM Alternate Score Type Extension 

Possible value types for the measureScore elements **in addition to** the standard [Quantity](http://hl7.org/fhir/R4/datatypes.html#Quantity) type. For continuous variable measures, the alternate type is determined by the Quality Measure [Aggregate Method](http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-aggregateMethod) extension used on the Measure. The reported type of the measureScore for continuous variable measures is determined by the result type of the aggregate method operation. This extension corresponds to the measureScore types in the FHIR R5 version of MeasureReport.

**Context of Use**

### Mandatory Data Elements and Terminology

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

**Each Extension Must Have:**

1. url: identifies the meaning of the extension

Example can be found in [Summary MeasureReport Date of Last Power Outage](MeasureReport-date-of-last-power-outage.md)

**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/attestation-boolean-example](MeasureReport-attestation-boolean-example.md) and [MeasureReport/date-of-last-power-outage](MeasureReport-date-of-last-power-outage.md)

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

### 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-alternateScoreType.csv), [Excel](../StructureDefinition-deqm-alternateScoreType.xlsx), [Schematron](../StructureDefinition-deqm-alternateScoreType.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "deqm-alternateScoreType",
  "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-alternateScoreType",
  "version" : "1.0.0-ballot",
  "name" : "DEQMAlternateScoreTypeExtension",
  "title" : "DEQM Alternate Score Type 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" : "Possible value types for the measureScore elements *in addition to* the standard [Quantity](http://hl7.org/fhir/R4/datatypes.html#Quantity) type. For continuous variable measures, the alternate type is determined by the Quality Measure [Aggregate Method](http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-aggregateMethod) extension used on the Measure. The reported type of the measureScore for continuous variable measures is determined by the result type of the aggregate method operation. This extension corresponds to the measureScore types in the FHIR R5 version of MeasureReport.",
  "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.measureScore"
  },
  {
    "type" : "element",
    "expression" : "MeasureReport.group.stratifier.stratum.measureScore"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Extension",
      "path" : "Extension",
      "short" : "Possible additional measureScore value types",
      "definition" : "Possible value types for the measureScore elements *in addition to* the standard [Quantity](http://hl7.org/fhir/R4/datatypes.html#Quantity) type. The alternate type is determined by the Quality Measure [Aggregate Method](http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-aggregateMethod) extension used on the Measure.   The reported type of the measureScore for continuous variable measures is determined by the result type of the aggregate method operation.",
      "comment" : "This extension corresponds to the additional MeasureScore type added to the R5 version of MeasureReport.",
      "min" : 0,
      "max" : "1"
    },
    {
      "id" : "Extension.url",
      "path" : "Extension.url",
      "type" : [{
        "code" : "uri"
      }],
      "fixedUri" : "http://hl7.org/fhir/uv/deqm/StructureDefinition/deqm-alternateScoreType"
    },
    {
      "id" : "Extension.value[x]",
      "path" : "Extension.value[x]",
      "type" : [{
        "code" : "dateTime"
      },
      {
        "code" : "CodeableConcept"
      },
      {
        "code" : "Period"
      },
      {
        "code" : "Range"
      },
      {
        "code" : "Duration"
      },
      {
        "code" : "boolean"
      },
      {
        "code" : "Ratio"
      }]
    }]
  }
}

```
