This page is part of the Da Vinci Data Exchange for Quality Measures (DEQM) FHIR IG (v0.1.0: STU 1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R3. The current version which supersedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
DEQM Collect Measure Data OperationDefinition
OPERATION: DEQM Collect Measure Data OperationDefinition
The official URL for this operation definition is:
http://hl7.org/fhir/us/davinci-deqm/STU3/OperationDefinition/collect-data
The Collect Measure Data operation returns the MeasureReport resource and required patient resources that satisfy the data requirements for a given Measure definition.
URL: [base]/MeasureReport/[id]/$collect-data
Parameters
Use | Name | Cardinality | Type | Binding | Documentation |
IN | periodStart | 0..1 | date | 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 | |
IN | periodEnd | 0..1 | date | 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 | |
IN | patient | 0..1 | uri | Patient to evaluate against. This is a reference to a QI Core Patient Profile e.g. 'Patient/123'. If not specified, the measure will be evaluated for all patients that meet the requirements of the measure. If specified, only the referenced patient will be evaluated. | |
IN | practitioner | 0..1 | uri | Practitioner to evaluate. This is a reference to a DEQM Practitioner e.g. 'Practitioner/123'. If specified, the measure will be evaluated only for patients whose primary practitioner is the identified practitioner | |
IN | lastReceivedOn | 0..1 | dateTime | 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. If the lastReceivedOn parameter is supplied, only data that is new or has been changed since the lastReceivedOn date is included in the response | |
OUT | measureReport | 1..1 | MeasureReport | A MeasureReport of type | |
OUT | resource | 0..* | Resource | The result resources that make up the data-of-interest for the measure |
- The effect of invoking this operation is to gather the data required for reporting a measure for a patient.
- The id of the instance endpoint, for example 'measure-mrp' in
[base]/MeasureReport/measure-mrp/$collectData
determines which measure data is returned. - The required data for each measure is discoverable by invoking the
$[measure]-requirements
operation on the payer'sMeasure
endpoint. - If the lastReceivedOn parameter is supplied, only data that is new or has been changed since the lastReceivedOn date is included in the response
Examples
Scenario: Payer Z fetches MRP data from Provider X for Patient Z
Request using GET Syntax
GET [base]/MeasureReport/measure-mrp/$collect-data?patient=Patient/patient-z&provider=Practitioner/provider-x&periodStart=2018-06-19
Request using POST Syntax
POST [base]/MeasureReport/measure-mrp/$collect-data
Request body
{
"resourceType":"Parameters",
"parameter":[
{
"name":"patient",
"valueUri":"Patient/patient-z"
},
{
"name":"practitioner",
"valueUri":"Practitioner/provider-x"
},
{
"name":"periodStart",
"valueDate":"Practitioner/2018-06-19"
}
]
}
Response
HTTP/1.1 200 OK
[other headers]
Response body
{
"resourceType":"Parameters",
"parameter":[
{
"name":"measurereport",
"resource":"{"resourceType": "MeasureReport",
...}
},
{
"name":"resource",
"resource":"{"resourceType": "Task",
...}
},
{
"name":"resource",
"resource":"{"resourceType": "Patient",
...}
},
{
"name":"resource",
"resource":"{"resourceType": "Location",
...}
},
{
"name":"resource",
"resource":"{"resourceType": "Practitioner",
...}
},
{
"name":"resource",
"resource":"{"resourceType": "Organization",
...}
},
{
"name":"resource",
"resource":"{"resourceType": "Encounter",
...}
},
{
"name":"resource",
"resource":"{"resourceType": "Coverage",
...}
},
]
}