The Task resource represents work items that need to be completed as part of patient care coordination. Tasks support assignment, prioritization, and status tracking.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/amankiit/OmniEHR/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints
Create Task
Admin can create tasks for any practitioner. Practitioners can only create tasks assigned to themselves.
Must be
"Task"draft, requested, received, accepted, rejected, ready, cancelled, in-progress, on-hold, failed, completed, entered-in-errorproposal, plan, order, original-order, etc.routine, urgent, asap, statTask code (Care coordination, Medication reconciliation, etc.)
Human-readable description of the task
Reference to Patient:
{"reference": "Patient/{id}"}When the task was created
Most recent task modification timestamp
Who is requesting the task
Practitioner responsible for the task:
{"reference": "Practitioner/{userId}"}Constraints on task execution (period, recipients)
Comments about the task
Example Request
cURL
Response
List Tasks
Filter by task owner:
Practitioner/{userId}Filter by task status
Filter by priority level
Filter by patient:
Patient/{id}Practitioners can only see tasks assigned to themselves. Admins and auditors can see all tasks.
Example Request
Get Task by ID
Practitioners can only retrieve their own tasks.
Update Task
Practitioners can only update tasks assigned to themselves. Typically used to change status (e.g., from
requested to in-progress to completed).Example: Mark Task as Completed
Task Priority Levels
| Priority | Description | Typical Use Case |
|---|---|---|
routine | Normal priority | Scheduled tasks, documentation |
urgent | Higher priority | Follow-up on test results |
asap | As soon as possible | Patient callbacks, medication issues |
stat | Immediate action required | Critical lab values, safety alerts |
Task Status Workflow
Common Task Categories
Care Coordination
Coordinate care across providers
Medication Reconciliation
Review and update medication list
Lab Follow-up
Review and act on lab results
Patient Outreach
Contact patient for follow-up
Documentation
Complete clinical documentation
Referral Management
Process specialist referrals
Role Permissions
| Role | Create | Read | Update | Scope |
|---|---|---|---|---|
| Admin | ✅ | ✅ | ✅ | All tasks |
| Practitioner | ✅ | ✅ | ✅ | Own tasks only |
| Auditor | ❌ | ✅ | ❌ | All tasks |