Data Exchange For Quality Measures Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 5.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-deqm/ and changes regularly. See the Directory of published versions
Active as of 2024-11-05 |
<OperationDefinition xmlns="http://hl7.org/fhir">
<id value="evaluate"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition evaluate</b></p><a name="evaluate"> </a><a name="hcevaluate"> </a><a name="evaluate-en-US"> </a><p>URL: [base]/Measure/$evaluate</p><p>URL: [base]/Measure/[id]/$evaluate</p><h3>Parameters</h3><table class="grid"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>periodStart</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#date">date</a></td><td/><td><div><p>The start of the measurement period. In keeping with the semantics of the date parameter used in the FHIR search operation, the period will start at the beginning of the period implied by the supplied timestamp. E.g. a value of 2014 would set the period start to be 2014-01-01T00:00:00 inclusive</p>
</div></td></tr><tr><td>IN</td><td>periodEnd</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#date">date</a></td><td/><td><div><p>The end of the measurement period. The period will end at the end of the period implied by the supplied timestamp. E.g. a value of 2014 would set the period end to be 2014-12-31T23:59:59 inclusive</p>
</div></td></tr><tr><td>IN</td><td>manifest</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#canonical">canonical</a> (<a href="http://hl7.org/fhir/uv/crmi/1.0.0-snapshot/StructureDefinition-crmi-manifestlibrary.html" title="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-manifestlibrary">CRMI Manifest Library</a>)</td><td/><td><div><p>Specifies an asset-collection library that provides dependency version resolution and expansion rules for the operation. See the description of manifest in the Canonical Resource Management Infrastructure IG for a complete description of how manifest values are used to provide defaults for dependency version resolution and expansion parameters. Parameters specified directly in the operation override behaviors specified by the manifest parameter. In general, if this parameter is supplied, it is expected to be used in nested operation calls. For example, in evaluating a measure, if the expansion of a value set is required, this parameter SHALL be supplied to that expansion.</p>
</div></td></tr><tr><td>IN</td><td>programCode</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td><a href="http://hl7.org/fhir/us/cqfmeasures/2024May/ValueSet-quality-programs-example.html">Quality Programs Example</a> (Extensible)</td><td><div><p>The quality program being reported via code from the <a href="http://hl7.org/fhir/us/cqfmeasures/ValueSet/quality-programs-example">Reporting Program value set</a> indicating which quality program is being reported.</p>
</div></td></tr><tr><td>IN</td><td>measureId</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#id">id</a></td><td/><td><div><p>The id of a Measure resource that is on the server for which the measure will be evaluated. E.g., the id of the Measure resource for Breast Cancer Screening measure.</p>
</div></td></tr><tr><td>IN</td><td>measureIdentifier</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a><br/>(<a href="http://hl7.org/fhir/R4/search.html#token">token</a>)</td><td/><td><div><p>The business identifier of the measure to be evaluated. E.g., CMS125 is a CMS assigned identifier for the Breast Cancer Screening eCQM in their system.</p>
</div></td></tr><tr><td>IN</td><td>measureUrl</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#canonical">canonical</a></td><td/><td><div><p>The URL of the measure to be evaluated. A measure URL is specified in the <a href="https://www.hl7.org/fhir/measure-definitions.html#Measure.url">url</a> element of the Measure resource. The measure URL remains the same when the measure is stored on different servers.</p>
</div></td></tr><tr><td>IN</td><td>measure</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a><br/>(<a href="http://hl7.org/fhir/R4/search.html#reference">reference</a>)</td><td/><td><div><p>The measure to evaluate. This parameter is only required when the operation is invoked on the resource type, it is not used when invoking the operation on a Measure instance</p>
</div></td></tr><tr><td>IN</td><td>measureResource</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/measure.html">Measure</a></td><td/><td><div><p>The measure to be evaluated is provided as a Measure resource.</p>
</div></td></tr><tr><td>IN</td><td>reportType</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td/><td><div><p>The type of measure report: subject, subject-list, or population. If not specified, a default value of subject will be used if the subject parameter is supplied, otherwise, population will be used</p>
</div></td></tr><tr><td>IN</td><td>subject</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a><br/>(<a href="http://hl7.org/fhir/R4/search.html#reference">reference</a>)</td><td/><td><div><p>Subject for which the measure will be evaluated. If not specified, the measure will be evaluated for all subjects that meet the requirements of the measure. If specified, the measure will only be evaluated for the referenced subject(s)</p>
</div></td></tr><tr><td>IN</td><td>subjectGroup</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/group.html">Group</a></td><td/><td><div><p>Subject for which the measure will be evaluated provided as a Group resource.</p>
</div></td></tr><tr><td>IN</td><td>parameters</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/parameters.html">Parameters</a></td><td/><td><div><p>Any input parameters for the Measure evaluation. If the measure uses CQL, the parameter types are mapped to CQL as specified in the Parameters and Data Requirements section of the Using CQL with FHIR Implementation Guide. Any parameters defined in this input will be bound by name to parameters defined in the logic library referenced from library element of the Measure. If a parameter appears more than once in the input Parameters resource, it is represented with a List in the input CQL. If a parameter has parts, it is represented as a Tuple in the input CQL.</p>
</div></td></tr><tr><td>IN</td><td>practitioner</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a><br/>(<a href="http://hl7.org/fhir/R4/search.html#reference">reference</a>)</td><td/><td><div><p>Practitioner (references <a href="http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner">QICore Practitioner</a>) for which the measure will be evaluated. If specified, the measure will be evaluated only for subjects that have a primary relationship to the identified practitioner</p>
</div></td></tr><tr><td>IN</td><td>lastReceivedOn</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td/><td><div><p>The date the results of this measure were last received. This parameter is only valid for patient-level reports and is used to indicate when the last time a result for this patient was received. This information can be used to limit the set of resources returned for a patient-level report</p>
</div></td></tr><tr><td>IN</td><td>reporter</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a><br/>(<a href="http://hl7.org/fhir/R4/search.html#reference">reference</a>)</td><td/><td><div><p>A reference to an Organization that will be populated in the MeasureReport.reporter</p>
</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/bundle.html">Bundle</a></td><td/><td><div><p>Returns <a href="https://www.hl7.org/fhir/parameters.html">Parameters</a> resource, which contains one or more bundles. The first entry of the bundle is either a <a href="StructureDefinition-indv-measurereport-deqm.html">DEQM Individual MeasureReport</a>, a <a href="StructureDefinition-summary-measurereport-deqm.html">DEQM Summary MeasureReport</a>, or a <a href="StructureDefinition-subjectlist-measurereport-deqm.html">DEQM Subject List MeasureReport</a> and subsequent entries in the bundle are resources created and/or evaluated as part of the measure calculation. Note that the result of the $evaluate operation must be returned using the Parameters resource, even when the result contains only one bundle, because the cardinality of the return parameter is specified as 0..*</p>
</div></td></tr></table></div>
</text>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="cqi"/>
</extension>
<url
value="http://hl7.org/fhir/us/davinci-deqm/OperationDefinition/evaluate"/>
<version value="5.0.0"/>
<name value="Evaluate"/>
<title value="Evaluate Operation"/>
<status value="active"/>
<kind value="operation"/>
<date value="2024-11-05T15:10:55+00:00"/>
<publisher value="HL7 International / Clinical Quality Information"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/cqi"/>
</telecom>
</contact>
<description
value="The evaluate operation is used to calculate an eMeasure and obtain the results."/>
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="US"/>
</coding>
</jurisdiction>
<code value="evaluate"/>
<resource value="Measure"/>
<system value="false"/>
<type value="true"/>
<instance value="true"/>
<parameter>
<name value="periodStart"/>
<use value="in"/>
<min value="1"/>
<max value="1"/>
<documentation
value="The start of the measurement period. In keeping with the semantics of the date parameter used in the FHIR search operation, the period will start at the beginning of the period implied by the supplied timestamp. E.g. a value of 2014 would set the period start to be 2014-01-01T00:00:00 inclusive"/>
<type value="date"/>
</parameter>
<parameter>
<name value="periodEnd"/>
<use value="in"/>
<min value="1"/>
<max value="1"/>
<documentation
value="The end of the measurement period. The period will end at the end of the period implied by the supplied timestamp. E.g. a value of 2014 would set the period end to be 2014-12-31T23:59:59 inclusive"/>
<type value="date"/>
</parameter>
<parameter>
<name value="manifest"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="Specifies an asset-collection library that provides dependency version resolution and expansion rules for the operation. See the description of manifest in the Canonical Resource Management Infrastructure IG for a complete description of how manifest values are used to provide defaults for dependency version resolution and expansion parameters. Parameters specified directly in the operation override behaviors specified by the manifest parameter. In general, if this parameter is supplied, it is expected to be used in nested operation calls. For example, in evaluating a measure, if the expansion of a value set is required, this parameter SHALL be supplied to that expansion."/>
<type value="canonical"/>
<targetProfile
value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-manifestlibrary"/>
</parameter>
<parameter>
<name value="programCode"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="The quality program being reported via code from the [Reporting Program value set](http://hl7.org/fhir/us/cqfmeasures/ValueSet/quality-programs-example) indicating which quality program is being reported."/>
<type value="CodeableConcept"/>
<binding>
<strength value="extensible"/>
<valueSet
value="http://hl7.org/fhir/us/cqfmeasures/ValueSet/quality-programs-example"/>
</binding>
</parameter>
<parameter>
<name value="measureId"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<documentation
value="The id of a Measure resource that is on the server for which the measure will be evaluated. E.g., the id of the Measure resource for Breast Cancer Screening measure."/>
<type value="id"/>
</parameter>
<parameter>
<name value="measureIdentifier"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<documentation
value="The business identifier of the measure to be evaluated. E.g., CMS125 is a CMS assigned identifier for the Breast Cancer Screening eCQM in their system."/>
<type value="string"/>
<searchType value="token"/>
</parameter>
<parameter>
<name value="measureUrl"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<documentation
value="The URL of the measure to be evaluated. A measure URL is specified in the [url](https://www.hl7.org/fhir/measure-definitions.html#Measure.url) element of the Measure resource. The measure URL remains the same when the measure is stored on different servers."/>
<type value="canonical"/>
</parameter>
<parameter>
<name value="measure"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<documentation
value="The measure to evaluate. This parameter is only required when the operation is invoked on the resource type, it is not used when invoking the operation on a Measure instance"/>
<type value="string"/>
<searchType value="reference"/>
</parameter>
<parameter>
<name value="measureResource"/>
<use value="in"/>
<min value="0"/>
<max value="*"/>
<documentation
value="The measure to be evaluated is provided as a Measure resource."/>
<type value="Measure"/>
</parameter>
<parameter>
<name value="reportType"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="The type of measure report: subject, subject-list, or population. If not specified, a default value of subject will be used if the subject parameter is supplied, otherwise, population will be used"/>
<type value="code"/>
</parameter>
<parameter>
<name value="subject"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="Subject for which the measure will be evaluated. If not specified, the measure will be evaluated for all subjects that meet the requirements of the measure. If specified, the measure will only be evaluated for the referenced subject(s)"/>
<type value="string"/>
<searchType value="reference"/>
</parameter>
<parameter>
<name value="subjectGroup"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="Subject for which the measure will be evaluated provided as a Group resource."/>
<type value="Group"/>
</parameter>
<parameter>
<name value="parameters"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="Any input parameters for the Measure evaluation. If the measure uses CQL, the parameter types are mapped to CQL as specified in the Parameters and Data Requirements section of the Using CQL with FHIR Implementation Guide. Any parameters defined in this input will be bound by name to parameters defined in the logic library referenced from library element of the Measure. If a parameter appears more than once in the input Parameters resource, it is represented with a List in the input CQL. If a parameter has parts, it is represented as a Tuple in the input CQL."/>
<type value="Parameters"/>
</parameter>
<parameter>
<name value="practitioner"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="Practitioner (references [QICore Practitioner](http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner)) for which the measure will be evaluated. If specified, the measure will be evaluated only for subjects that have a primary relationship to the identified practitioner"/>
<type value="string"/>
<searchType value="reference"/>
</parameter>
<parameter>
<name value="lastReceivedOn"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="The date the results of this measure were last received. This parameter is only valid for patient-level reports and is used to indicate when the last time a result for this patient was received. This information can be used to limit the set of resources returned for a patient-level report"/>
<type value="dateTime"/>
</parameter>
<parameter>
<name value="reporter"/>
<use value="in"/>
<min value="0"/>
<max value="1"/>
<documentation
value="A reference to an Organization that will be populated in the MeasureReport.reporter"/>
<type value="string"/>
<searchType value="reference"/>
</parameter>
<parameter>
<name value="return"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<documentation
value="Returns [Parameters](https://www.hl7.org/fhir/parameters.html) resource, which contains one or more bundles. The first entry of the bundle is either a [DEQM Individual MeasureReport](StructureDefinition-indv-measurereport-deqm.html), a [DEQM Summary MeasureReport](StructureDefinition-summary-measurereport-deqm.html), or a [DEQM Subject List MeasureReport](StructureDefinition-subjectlist-measurereport-deqm.html) and subsequent entries in the bundle are resources created and/or evaluated as part of the measure calculation. Note that the result of the $evaluate operation must be returned using the Parameters resource, even when the result contains only one bundle, because the cardinality of the return parameter is specified as 0..*"/>
<type value="Bundle"/>
</parameter>
</OperationDefinition>