Publication Build: This will be filled in by the publication tooling
This is the initial stage of a HRex Task Data Request seeking execution of a query (with possible human review/vetting prior to delivery of the results). This example includes a basedOn element indicating the order authorizing this request. This example has both a coded and reference reason. Tasks can have both, either or neither. The query appears as an input and specifies the resource to be queried as well as the parameters. The for, requester, and owner should all be references, never ‘contained’ resources.
The next (optional) stage after this example is the status example.
Generated Narrative
id: query-initial
basedOn: http://example.org/new-payer/CommunicationRequest/57
status: requested
intent: order
code: data request task
for: http://example.org/new-payer/fhir/Patient/pat1
authoredOn: Jul 31, 2020 2:07:15 AM
owner: http://example.org/new-payer/fhir/Organization/hl7pay
reasonCode: Support prior authorization decision-making
reasonReference: http://example.org/new-payer/fhir/Claim/123
| - | Type | Value[x] |
| * | data query input | Condition?patient=Patient/pat1&clinical-status=active&code=http%3A%2F%2Fsnomed.info%2Fsct%7C73211009 |