{
  "resourceType": "CodeSystem",
  "status": "draft",
  "content": "complete",
  "name": "NexusTaskCodeCS",
  "id": "nexus-task-code",
  "title": "Task Code CodeSystem",
  "description": "The category a clinical task is filed under, used to organize tasks into bins in a user's view.\nR4's open \"Task Type\" axis, given a controlled vocabulary that is expected to grow. These codes\nclassify for presentation only: they do not say whether a task carries a suggested resource (that\nis a contained Bundle), whether it is a proposal or an order (`Task.intent`), or what produced\nit (`Task.requester`). Bound extensibly from NexusEmrCoreClinicalTask.code.\n\n**MIGRATION.** Nexus EMR writes these codes today under `http://well.company/task-code`, a system\nthis specification does not publish. It is live in stored `Task.code` codings and in code, and is\nunder migration to `https://fhir.apps.health/CodeSystem/nexus-task-code` (FHIR-373). Write the\ncanonical system; expect both until the migration completes.",
  "url": "https://fhir.apps.health/CodeSystem/nexus-task-code",
  "concept": [
    {
      "code": "reminder",
      "display": "Reminder",
      "definition": "A prompt to do something at or by a time, with no other chart element behind it. The default category where nothing more specific fits the work."
    },
    {
      "code": "call",
      "display": "Call",
      "definition": "Contact the patient or another party by telephone."
    },
    {
      "code": "appointment",
      "display": "Appointment",
      "definition": "Work about booking, rebooking or preparing for a visit."
    },
    {
      "code": "review-report",
      "display": "Review report",
      "definition": "An incoming result or report that needs a clinician's eyes: laboratory results, diagnostic imaging reports, cardiodiagnostics, and anything else arriving on the same inbound stream. NAMED FOR THE WORK, NOT THE SOURCE. `lab` was the obvious name and it is the wrong one: imaging and other non-laboratory reports arrive on that stream in volume, and a category called `lab` either excludes them or quietly redefines `lab` to mean something it does not mean. The task's `Task.focus` names the report itself, so the resource type is already recoverable without the category having to carry it."
    },
    {
      "code": "document-review",
      "display": "Document review",
      "definition": "A chart document routed to a NAMED reviewer for their sign-off: the document form assigns one task per reviewer, the task's `Task.focus` names the document, its owner is the reviewer, and the reviewer's attestation is recorded on the DOCUMENT rather than here -- the `nexus-emr-reviewed` extension on the DocumentReference this task focuses on names who signed off and when, with absent meaning unreviewed, so a reader holding the document needs no task join to know. Completing this task is the workflow half of the same act. Distinct from `review-report` on purpose -- that code is the inbound triage stream (results and reports arriving for a clinician's eyes), while this one is an assignment a user makes from an already-filed document. The code is also this workflow's SELECTOR: the document form lists a document's reviewers by it, and acts on what it lists (a priority change re-saves every listed task; removing a reviewer cancels one), so a task that merely focuses on a document without this code is deliberately not a reviewer."
    },
    {
      "code": "prevention",
      "display": "Prevention",
      "definition": "Screening, immunization and other preventive-care work, typically raised from a care gap."
    },
    {
      "code": "referral",
      "display": "Referral",
      "definition": "Work about sending a patient to another clinician or service, or about a referral already sent."
    },
    {
      "code": "billing",
      "display": "Billing",
      "definition": "Administrative and revenue work: claim correction, uninsured-service collection, rejected-invoice follow-up."
    },
    {
      "code": "medication",
      "display": "Medication",
      "definition": "Work about a patient's medications: renewals, changes, reconciliation, adherence follow-up."
    },
    {
      "code": "privacy-notice",
      "display": "Privacy notice",
      "definition": "A notice to a clinician that something happened to a patient they are responsible for -- most often that somebody broke the glass on a chart where they are the most responsible provider. NOT a request and not work the recipient asked for: it is raised by the system, it carries no deadline, and completing it means the clinician has read it rather than that anything was done. Distinct from `privacy-request`, which is work arising from an INDIVIDUAL exercising a right and carries a statutory response clock."
    },
    {
      "code": "privacy-request",
      "display": "Privacy request",
      "definition": "Work arising from an individual exercising a right over their own record: a request to access it, a request to correct it, or a statement of disagreement to be logged where a correction was refused. NAMED FOR THE RIGHT, NOT THE OUTCOME -- one bin covers access, correction and disagreement because the same privacy role handles all three and they share statutory response clocks. Which one this task is, and where it has got to, are read off `Task.businessStatus` (the correction business-status vocabulary) and off the optional second `code` coding from the international correction task-type system -- both of which are CORRECTION vocabularies, so an access request is identified only by the absence of a second coding and has no state that says the record was released. The statutory deadline is the task due date, `restriction.period.end`. Distinct from `document-review`, which is a clinician signing off a chart document, and from `other`, which says nobody found a bin."
    },
    {
      "code": "other",
      "display": "Other",
      "definition": "Work that fits no category above. A real answer rather than an absent one: it says somebody looked and none applied, which an absent `Task.code` does not."
    }
  ],
  "experimental": false,
  "caseSensitive": true,
  "count": 12
}
