Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example CodeSystem/task-status (JSON)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: Informative

Raw JSON (canonical form + also see JSON Format Specification)

Definition for Code SystemTaskStatus

{
  "resourceType" : "CodeSystem",
  "id" : "task-status",
  "meta" : {
    "lastUpdated" : "2023-03-26T15:21:02.749+11:00",
    "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system <code>http://hl7.org/fhir/task-status</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">draft<a name=\"task-status-draft\"> </a></td><td>Draft</td><td>The task is not yet ready to be acted upon.</td></tr><tr><td style=\"white-space:nowrap\">requested<a name=\"task-status-requested\"> </a></td><td>Requested</td><td>The task is ready to be acted upon and action is sought.</td></tr><tr><td style=\"white-space:nowrap\">received<a name=\"task-status-received\"> </a></td><td>Received</td><td>A potential performer has claimed ownership of the task and is evaluating whether to perform it.</td></tr><tr><td style=\"white-space:nowrap\">accepted<a name=\"task-status-accepted\"> </a></td><td>Accepted</td><td>The potential performer has agreed to execute the task but has not yet started work.</td></tr><tr><td style=\"white-space:nowrap\">rejected<a name=\"task-status-rejected\"> </a></td><td>Rejected</td><td>The potential performer who claimed ownership of the task has decided not to execute it prior to performing any action.</td></tr><tr><td style=\"white-space:nowrap\">ready<a name=\"task-status-ready\"> </a></td><td>Ready</td><td>The task is ready to be performed, but no action has yet been taken.  Used in place of requested/received/accepted/rejected when request assignment and acceptance is a given.</td></tr><tr><td style=\"white-space:nowrap\">cancelled<a name=\"task-status-cancelled\"> </a></td><td>Cancelled</td><td>The task was not completed.</td></tr><tr><td style=\"white-space:nowrap\">in-progress<a name=\"task-status-in-progress\"> </a></td><td>In Progress</td><td>The task has been started but is not yet complete.</td></tr><tr><td style=\"white-space:nowrap\">on-hold<a name=\"task-status-on-hold\"> </a></td><td>On Hold</td><td>The task has been started but work has been paused.</td></tr><tr><td style=\"white-space:nowrap\">failed<a name=\"task-status-failed\"> </a></td><td>Failed</td><td>The task was attempted but could not be completed due to some error.</td></tr><tr><td style=\"white-space:nowrap\">completed<a name=\"task-status-completed\"> </a></td><td>Completed</td><td>The task has been completed.</td></tr><tr><td style=\"white-space:nowrap\">entered-in-error<a name=\"task-status-entered-in-error\"> </a></td><td>Entered in Error</td><td>The task should never have existed and is retained only because of the possibility it may have used.</td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "oo"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 2
  }],
  "url" : "http://hl7.org/fhir/task-status",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.4.791"
  },
  {
    "use" : "old",
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.1.774"
  }],
  "version" : "5.0.0",
  "name" : "TaskStatus",
  "title" : "Task Status",
  "status" : "active",
  "experimental" : false,
  "date" : "2021-01-05T10:01:24+11:00",
  "publisher" : "HL7 (FHIR Project)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    },
    {
      "system" : "email",
      "value" : "fhir@lists.hl7.org"
    }]
  }],
  "description" : "The current status of the task.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/task-status",
  "content" : "complete",
  "concept" : [{
    "code" : "draft",
    "display" : "Draft",
    "definition" : "The task is not yet ready to be acted upon."
  },
  {
    "code" : "requested",
    "display" : "Requested",
    "definition" : "The task is ready to be acted upon and action is sought."
  },
  {
    "code" : "received",
    "display" : "Received",
    "definition" : "A potential performer has claimed ownership of the task and is evaluating whether to perform it."
  },
  {
    "code" : "accepted",
    "display" : "Accepted",
    "definition" : "The potential performer has agreed to execute the task but has not yet started work."
  },
  {
    "code" : "rejected",
    "display" : "Rejected",
    "definition" : "The potential performer who claimed ownership of the task has decided not to execute it prior to performing any action."
  },
  {
    "code" : "ready",
    "display" : "Ready",
    "definition" : "The task is ready to be performed, but no action has yet been taken.  Used in place of requested/received/accepted/rejected when request assignment and acceptance is a given."
  },
  {
    "code" : "cancelled",
    "display" : "Cancelled",
    "definition" : "The task was not completed."
  },
  {
    "code" : "in-progress",
    "display" : "In Progress",
    "definition" : "The task has been started but is not yet complete."
  },
  {
    "code" : "on-hold",
    "display" : "On Hold",
    "definition" : "The task has been started but work has been paused."
  },
  {
    "code" : "failed",
    "display" : "Failed",
    "definition" : "The task was attempted but could not be completed due to some error."
  },
  {
    "code" : "completed",
    "display" : "Completed",
    "definition" : "The task has been completed."
  },
  {
    "code" : "entered-in-error",
    "display" : "Entered in Error",
    "definition" : "The task should never have existed and is retained only because of the possibility it may have used."
  }]
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.