Da Vinci Health Record Exchange (HRex)
1.2.0-cibuild - STU 1.1

Da Vinci Health Record Exchange (HRex), published by HL7 International / Clinical Interoperability Council. This guide is not an authorized publication; it is the continuous build for version 1.2.0-cibuild built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-ehrx/ and changes regularly. See the Directory of published versions

## Example Task: HRex Task Data Request - completed query example

Page standards status: Informative

This is the final stage of the HRex Task Data Request (the next step after the (status example)[Task-query-status.html]). The status changes to 'complete' and the output is filled in. In this case, the output is contained within the Task because the requested searchset is not going to be persisted in the source EHR for retrieval by others. This will be most common for 'query' Tasks. However, it is not required that the searchset Bundle be contained. See the document example for an example of a non-contained output.

Generated Narrative: Task query-complete

Profile: HRex Task Data Request Profile

basedOn: http://example.org/new-payer/CommunicationRequest/57

status: Completed

intent: order

code: data request task

for: http://example.org/new-payer/fhir/Patient/pat1

authoredOn: 2020-07-30 20:07:15-0600

requester: http://example.org/new-payer/fhir/Organization/hl7pay

owner: http://example.org/provider/fhir/Organization/hl7prov

reasonCode: Support prior authorization decision-making

reasonReference: http://example.org/new-payer/fhir/Claim/123

### Inputs

- | Type | Value[x]
* | data query input | Condition?patient=Patient/pat1&clinical-status=active&code:below=http%3A%2F%2Fsnomed.info%2Fsct%7C73211009

### Outputs

- | Type | Value[x]
* | data values output | Bundle: type = searchset; total = 1

> Generated Narrative: Bundle #results

> Bundle results of type searchset

> Entry 1 - fullUrl = http://local.fhir.org:960/r4/Condition/example

> Search:Mode = match

> Resource Condition:

> > Severe burn of left ear (Date: 24-June 2012)