Search Tasks by certain parameters
Request
- Base URLhttps://stage.ema-api.com/ema-dev/firm/apiportal/ema
- URLhttps://stage.ema-api.com/ema-dev/firm/apiportal/ema/fhir/v2/Task
- AuthHTTP bearer and API key in header x-api-key
Query parameters
Number of records to use as the page size for paginated search. The maximum page size for this Resource is 50
This is an Optional Date in the format _lastUpdated=gtDATE, _lastUpdated=eqDATE and _lastUpdated=leDATE in the format yyyy-mm-dd. For EMA tasks this searches the task's last-modified date; for PM Recalls it also matches against recall activity timestamps.
Search by the date the task was created (Task.authoredOn).
Search by the ServiceRequest (lab order) this task is based on. The ServiceRequest must resolve to a lab request/order belonging to the authenticated firm; if it doesn't, the search returns zero results.
Selects which task type to search: TASK (default) for general EMA tasks, or PMRECALL for PM Recalls. Does not filter within a type. Any other value returns an OperationOutcome error (400/422) listing the valid values.
Search by the visit (Encounter) associated with the task.
Search by the facility (Location) assigned to the task.
Search by the task's last-modified timestamp. Distinct from _lastUpdated.
Page to be used for paginated search
Search by the patient (Task.for).
Search by assignee. Accepts either a Practitioner reference (an individual assignee) or a CT-GRP|{id} CareTeam identifier (a staff-group assignee).
Search by the task's due date (Task.executionPeriod.end). This is a single due-date match, not a start/end range.
Search by the staff member who created or last modified the task (Task.requester).
ready | received | completed | cancelled
Response
Success
A FHIR resource
Changes
No recorded changes to this operation across all 1 revision of this API.