{ "resourceType": "OperationDefinition", "id": "Measure-collect-data", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "trial-use" } ], "url": "http://hl7.org/fhir/OperationDefinition/Measure-collect-data", "version": "4.0.1", "name": "Collect Data", "status": "draft", "kind": "operation", "date": "2019-11-01T09:29:23+11:00", "publisher": "HL7 (FHIR Project)", "contact": [ { "telecom": [ { "system": "url", "value": "http://hl7.org/fhir" }, { "system": "email", "value": "fhir@lists.hl7.org" } ] } ], "description": "The collect-data operation is used to collect the data-of-interest for the given measure.", "code": "collect-data", "comment": "The effect of invoking this operation is to gather the data required to perform an evaluation of the measure. If the lastReceivedOn parameter is supplied, only data that is new or has been changed since the lastReceivedOn date is included in the response. Note that the resulting MeasureReport is a transient resource", "resource": [ "Measure" ], "system": false, "type": true, "instance": true, "parameter": [ { "name": "periodStart", "use": "in", "min": 1, "max": "1", "documentation": "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 s", "type": "date" }, { "name": "periodEnd", "use": "in", "min": 1, "max": "1", "documentation": "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": "date" }, { "name": "measure", "use": "in", "min": 0, "max": "1", "documentation": "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": "string", "searchType": "reference" }, { "name": "subject", "use": "in", "min": 0, "max": "1", "documentation": "Subject for which the measure will be collected. If not specified, measure data will be collected for all subjects that meet the requirements of the measure. If specified, the measure will only be calculated for the referenced subject(s)", "type": "string", "searchType": "reference" }, { "name": "practitioner", "use": "in", "min": 0, "max": "1", "documentation": "Practitioner for which the measure will be collected. If specified, measure data will be collected only for subjects that have a primary relationship to the identified practitioner", "type": "string", "searchType": "reference" }, { "name": "lastReceivedOn", "use": "in", "min": 0, "max": "1", "documentation": "The date the results of this measure were last received. This parameter used to indicate when the last time data for this measure was collected. This information is used to support incremental data collection scenarios", "type": "dateTime" }, { "name": "measureReport", "use": "out", "min": 1, "max": "1", "documentation": "A MeasureReport of type data-collection detailing the results of the operation", "type": "MeasureReport" }, { "name": "resource", "use": "out", "min": 0, "max": "*", "documentation": "The result resources that make up the data-of-interest for the measure", "type": "Resource" } ] }