{ "description": "The purpose of this operation is to enable composition and execution of a query in a research setting.Please refer to the Implementation Guidance for further information on how to use the task and execute-query operation together for querying research research data marts.", "_filename": "OperationDefinition-daf-execute-query.json", "package_name": "hl7.fhir.us.daf", "date": "2016-07-24", "system": true, "publisher": null, "instance": false, "name": "Execute Query", "type": "false", "experimental": null, "resourceType": "OperationDefinition", "title": null, "package_version": "2.0.0", "status": "draft", "id": "1fc10ddf-1931-4c6c-a3cd-8b2e8901ce68", "kind": "operation", "comment": "Pilots underway in PCORNet", "url": "http://hl7.org/fhir/us/daf-research/OperationDefinition/daf-execute-query", "code": "execute-query", "base": { "reference": "OperationDefinition/daf-execute-query" }, "version": "1.0.0", "parameter": [ { "max": "1", "min": 1, "use": "in", "name": "queryformat", "type": "CodeableConcept", "documentation": "The format of the actual query (e.g SAS, SQL).This will be used by the Data Marts to determine how to execute the query." }, { "max": "1", "min": 1, "use": "in", "name": "queryFormatVersion", "type": "string", "documentation": "The version of the queryFormat that was used to construct the query." }, { "max": "1", "min": 1, "use": "in", "name": "dataModel", "type": "CodeableConcept", "documentation": "The data model that was used to construct the query." }, { "max": "1", "min": 1, "use": "in", "name": "querypackage", "type": "string", "documentation": "The actual query string." }, { "max": "1", "min": 0, "use": "in", "name": "instructions", "type": "string", "documentation": "The actual query string." }, { "max": "1", "min": 0, "use": "in", "name": "queryResultsPhiDisclosureLevel", "type": "string", "documentation": "The parameter indicates whether Aggregate, De-Identified, Patient Level data is expected as part of the query results. By default only aggregate data would be returned." }, { "max": "1", "min": 0, "use": "out", "name": "return", "type": "Bundle", "documentation": "A Bundle containing the resulting data." }, { "max": "1", "min": 0, "use": "out", "name": "issues", "type": "OperationOutcome", "documentation": "A list of hints and warnings about problems encountered while executing the query. These might be shown to the user as an advisory note. Note: if the query cannot be executed at all, then the operation should fail, and an OperationOutcome is returned directly with the failure, rather than using this parameter." } ] }