{ "description": "Enable data extraction from Clinical Data Sources (e.g EMRs) for Research Purposes", "_filename": "OperationDefinition-daf-extract-operation.json", "package_name": "hl7.fhir.us.daf", "date": "2016-07-24", "system": true, "publisher": null, "instance": false, "name": "Extract Data", "type": null, "experimental": null, "resourceType": "OperationDefinition", "title": null, "package_version": "1.6.0", "status": "draft", "id": "c3bc61ff-19d8-450d-a547-6bf294e620a4", "kind": "operation", "comment": "Pilots underway in PCORNet", "url": "http://hl7.org/fhir/us/daf/OperationDefinition/daf-extract-operation", "code": "extract-data", "base": { "reference": "OperationDefinition/daf-extract-operation" }, "version": null, "parameter": [ { "max": "1", "min": 1, "use": "in", "name": "timereference", "type": "dateTime", "documentation": "This is the reference time based on which the extraction program will retrieve data for only those patients whose records have been created/updated after the reference time." }, { "max": "1", "min": 0, "use": "in", "name": "patient", "type": "Reference", "documentation": "When a Patient is specified, the extraction program needs to only extract the data for a specific patient.If not specified, the extraction program will evaluate all consented patient records based on the reference time to identify the ones that have changed and need to be extracted." }, { "max": "1", "min": 0, "use": "out", "name": "return", "type": "Bundle", "documentation": "The results of the extraction would provide the data for each patient whose data has been created/updated based on the referenceTime. This data will be in the form of a Bundle which has all the resources that are pertinent for each patient whose data has been extracted. " }, { "max": "1", "min": 0, "use": "out", "name": "issues", "type": "OperationOutcome", "documentation": "A list of hints and warnings about problems encountered while extracting the data. These might be show to the user as an advisory note. Note: if the extraction cannot be performed at all, then the operation should fail, and an OperationOutcome is returned directly with the failure, rather than using this parameter. " } ] }