FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions icon

Responsible Owner: Clinical Quality Information icon Work GroupNormative Compartments: N/A

The care-gaps operation is used to determine gaps-in-care based on the results of quality measures.

The canonical URL for this operation definition is

 http://hl7.org/fhir/OperationDefinition/Measure-care-gaps

Formal Definition (as a OperationDefinition).

URL: [base]/Measure/$care-gaps

This is an idempotent operation

In Parameters:
Name Scope Cardinality Type Binding Profile Documentation
measureUrl 1..* canonical

The URL of a measure for which the gaps in care report will be created. A measure URL is specified in the url icon element of the Measure resource. The measure URL remains the same when the measure is stored on different servers.

periodStart 1..1 date

The start of a gaps through period. This may be the start of the measurement period defined by a measure, or a customized desired performance period start date determined by a payer, a provider, a measure program, and etc.

periodEnd 1..1 date

The end of a gaps through period (the gaps through date). The gaps through date could be a past date or a future date. For example, today's date is 2020-06-18, 1) if periodEnd date is 2020-09-30, it returns gaps through 2020-09-30, and 2) if the periodEnd date is 2020-05-31, it returns gaps through 2020-05-31.

subject 0..1 string
(reference)

Subject(s) for which the care gaps report will be produced. The subject may be a Patient, Practitioner, PractitionerRole, Organization, Location, Device, or Group. Subjects provided in this parameter SHALL match the subjectType of the measure being evaluated (e.g. if the Measure.group.subjectType is Patient, the subject SHALL be a reference to a Patient or a Group of Patients). If no subject is provided, what subjects are evaluated is up to the server. This parameter cannot be used with the subjectGroup parameter.

subjectGroup 0..1 Group

Subject for which the gaps in care report will be created is provided as a Group resource. Subjects provided in this parameter SHALL match the subjectType of the measure being evaluated. (e.g. if the Measure.group.subjectType is Patient, the subject SHALL be a reference to a Patient or a Group of Patients). If no subject is provided, what subjects are evaluated is up to the server. This parameter cannot be used with the subject parameter.

practitioner 0..1 string
(reference)

Reference to a Practitioner for which the gaps in care report will be created. For a practitioner focused gaps in care report, this is a required In Parameter. The Server needs to make sure that practitioner is authorized to get the gaps in care report for and know what measures the practitioner are eligible or qualified.

organization 0..1 string
(reference)

Reference to an Organization for which the gaps in care report will be created. Either 'organization' or 'organizationResource' SHALL be provided, but not both.

organizationResource 0..1 Organization

Organization for which the gaps in care report will be created is provided as an Organization resource. This is intended to support the use case in which the organization information is not on the server performing the evaluation, for example an ad-hoc group of practitioners that are part of a provider group. Either 'organization' or 'organizationResource' SHALL be provided, but not both.

location 0..* string
(reference)

The location(s) for which the gaps in care report will be run. This parameter is reflected in the location element of the resulting MeasureReport(s).

status 1..* code

Indicates status of a care gap. For all [open, closed, and prospective gaps], three seperate status parameters must be provided. For a positive proportion measure, gap means the patient is not in the numerator. For an inverse (negative) proportion measure (e.g., Diabetes: Hemoglobin A1c (HbA1c) Poor Control (> 9%)), gap means the patient is in the numerator.

isDocument 0..1 boolean

The isDocument parameter controls whether a Gaps in Care Composition is returned in the Bundle (i.e. if the Bundle is of type 'Document'). When 'true,' the returned Bundles contain the Gaps in Care Composition. This parameter defaults to 'true.'

parameters 0..1 Parameters

Any input parameters for the evaluation. Parameters defined in this input will be made available by name to the CQL expression. Parameter types are mapped to CQL as specified in the Using CQL with FHIR icon implementation guide. 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.

manifest 0..1 canonical(Library)

Specifies an asset-collection library that provides dependency version resolution and expansion rules for the operation. See the version manifest discussion in the Canonical Resource Management Infrastructure IG icon 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.

Out Parameters:
Name Scope Cardinality Type Binding Profile Documentation
return 0..* Bundle

The $care-gaps operation returns zero or more document Bundles, one for each input subject. Consistent with FHIR Documents generally, each Bundle SHALL have a Composition as the first entry in the document Bundle, and that Composition SHALL be limited to a single subject. See the guidance on Bundle structure icon for discussion about the Bundle content and organization.\n\nNote that even though there is a single parameter named return of type Bundle, it is a multi-cardinality parameter, and so will still be returned using a Parameters resource, as described in the general operations framework response.

The effect of invoking this operation is to calculate a set of measures for a particular topic (e.g. Preventive Care and Screening) and return a document describing the results of each measure for the given subject. Note that it is up to the server to determine whether or not the generated care gaps report is persisted. If the server does not persist the results, the operation does not affect state and can be invoked with a GET

Request: A care gaps report for a patient for all Preventive Care and Screening measures

GET [base]/Measure/$care-gaps?periodStart=2014&periodEnd=2014&measureUrl=http://example.org/fhir/Measure/measure-bcs&patient=Patient/123

Request: The evaluation of the CMS130 measure (with measureId EXM130-7.3.000) over a gaps through period of the first 3 months of 2014, with open gaps, for patient 124.

GET [base]/Measure/$care-gaps?measureId=EXM130-7.3.000&periodStart=2014-01&periodEnd=2014-03&status=open-gap&subject=Patient/124

Request: The first example with a topic of 57024-2.

GET [base]/Measure/$care-gaps?measureId=EXM130-7.3.000&periodStart=2014-01&periodEnd=2014-03&status=open-gap&subject=Patient/124&topic=57024-2

Request: The first example with a topic of the code "treatment" in the valueset "definition-topic".

GET [base]/Measure/$care-gaps?measureId=EXM130-7.3.000&periodStart=2014-01&periodEnd=2014-03&status=open-gap&subject=Patient/124&topic=http://hl7.org/fhir/ValueSet/definition-topic|treatment

Request: The first example with a subject of group 124.

GET [base]/Measure/$care-gaps?measureId=EXM130-7.3.000&periodStart=2014-01&periodEnd=2014-03&status=open-gap&subject=Group/124

Request: Evaluation with a status of open gap.

GET [base]/Measure/$care-gaps?measureId=EXM130-7.3.000&periodStart=2014-01&periodEnd=2014-03&subject=Patient/124&status=open-gap

Request: Evaluation with a status of closed gap.

GET [base]/Measure/$care-gaps?measureId=EXM130-7.3.000&periodStart=2014-01&periodEnd=2014-03&subject=Patient/124&status=closed-gap

Request: Evaluation with a status of open or closed gap.

GET [base]/Measure/$care-gaps?measureId=EXM130-7.3.000&periodStart=2014-01&periodEnd=2014-03&subject=Patient/124&status=open-gap&status=closed-gap

Request: Evaluation with a status of open, closed, or prospective gap.

GET [base]/Measure/$care-gaps?measureId=EXM130-7.3.000&periodStart=2014-01&periodEnd=2014-03&subject=Patient/124&status=open-gap&status=closed-gap&status=prospective-gap

Request: The first example with a measureIdentifier.

GET [base]/Measure/$care-gaps?measureIdentifier=http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/cms|130&periodStart=2014-01&periodEnd=2014-03&status=open-gap&subject=Patient/124

Request: The first example with a measureUrl.

GET [base]/Measure/$care-gaps?measureUrl=http://hl7.org/fhir/us/cqfmeasures/Measure/EXM130|7.3.000&periodStart=2014-01&periodEnd=2014-03&status=open-gap&subject=Patient/124

Request: Request: the first example with an organization instead of a subject.

GET [base]/Measure/$care-gaps?measureIdentifier=http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/cms|130&periodStart=2014-01&periodEnd=2014-03&status=open-gap&organization=Organization/124

Request: Request the first example with a practitioner and an organization instead of a subject.

GET [base]/Measure/$care-gaps?measureUrl=http://hl7.org/fhir/us/cqfmeasures/Measure/EXM130|7.3.000&periodStart=2014-01&periodEnd=2014-03&status=open-gap&&organization=Organization/124&practitioner=Practitioner/124

Response: Returned on successful evaluation for request for a care gaps report for a patient for all Preventive Care and Screening measures

HTTP/1.1 200 OK

<Bundle xmlns="http://hl7.org/fhir">
    <type value="document"/>
    <entry>
        <resource>
            <Composition xmlns="http://hl7.org/fhir">
                <status value="final"/>
                <type>
                    <coding>
                        <system value="http://loinc.org"/>
                        <code value="57024-2"/>
                    </coding>
                </type>
                <subject>
                    <reference value="Patient/Patient-1153"/>
                </subject>
                <date value="2018-07-22"/>
                <author>
					<reference value="Organization/123"/>
                </author>
                <title value="Preventive Care and Screening Care Gap Report"/>
                <section>
                    <title value="Breast Cancer Screening Cohort Definition"/>
                    <entry>
                        <reference value="MeasureReport/be224ee3-20aa-4058-bf41-52a6be342d81"/>
                    </entry>
                </section>
                <section>
                  <title value="Cervical Cancer Screening Cohort Definition"/>
                  <entry>
                      <reference value="MeasureReport/86fa5aed-8193-4f55-835b-5bbafbd1e7d6"/>
                  </entry>
                </section>
            </Composition>
        </resource>
    </entry>
    <entry>
        <resource>
            <MeasureReport xmlns="http://hl7.org/fhir">
                <id value="be224ee3-20aa-4058-bf41-52a6be342d81"/>
                <contained>
                    <Bundle xmlns="http://hl7.org/fhir">
                        <id value="3eb57f94-7b33-48b1-9673-3b18634dca04"/>
                        <type value="collection"/>
                    </Bundle>
                </contained>
                <status value="complete"/>
                <type value="individual"/>
                <measure value="http://example.org/fhir/Measure/measure-bcs"/>
                <subject>
                    <reference value="Patient/Patient-1153"/>
                </subject>
                <period>
                    <start value="2017-01-01T00:00:00+00:00"/>
                    <end value="2017-12-31T00:00:00+00:00"/>
                </period>
                <group>
                    <population>
                        <code>
                            <coding>
                                <code value="initial-population"/>
                            </coding>
                        </code>
                        <count value="1"/>
                    </population>
                    <population>
                        <code>
                            <coding>
                                <code value="numerator"/>
                            </coding>
                        </code>
                        <count value="0"/>
                    </population>
                    <population>
                        <code>
                            <coding>
                                <code value="denominator"/>
                            </coding>
                        </code>
                        <count value="1"/>
                    </population>
                </group>
                <evaluatedResource>
                    <reference value="#3eb57f94-7b33-48b1-9673-3b18634dca04"/>
                </evaluatedResource>
            </MeasureReport>
        </resource>
    </entry>
    <entry>
      <resource>
        <MeasureReport xmlns="http://hl7.org/fhir">
            <id value="86fa5aed-8193-4f55-835b-5bbafbd1e7d6"/>
            <contained>
                <Bundle xmlns="http://hl7.org/fhir">
                    <id value="8e6e9224-59b6-4edd-b17f-58981a754e57"/>
                    <type value="collection"/>
                </Bundle>
            </contained>
            <status value="complete"/>
            <type value="individual"/>
            <measure value="http://example.org/fhir/Measure/measure-ccs"/>
            <subject>
                <reference value="Patient/Patient-1153"/>
            </subject>
            <period>
                <start value="2017-01-01T00:00:00+00:00"/>
                <end value="2017-12-31T00:00:00+00:00"/>
            </period>
            <group>
                <population>
                    <code>
                        <coding>
                            <code value="initial-population"/>
                        </coding>
                    </code>
                    <count value="1"/>
                </population>
                <population>
                    <code>
                        <coding>
                            <code value="numerator"/>
                        </coding>
                    </code>
                    <count value="1"/>
                </population>
                <population>
                    <code>
                        <coding>
                            <code value="denominator"/>
                        </coding>
                    </code>
                    <count value="1"/>
                </population>
            </group>
            <evaluatedResource>
                <reference value="#8e6e9224-59b6-4edd-b17f-58981a754e57"/>
            </evaluatedResource>
        </MeasureReport>
      </resource>
    </entry>
</Bundle>

 

For more information about operations, including how they are invoked, see Operations.