Class Task

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IAnyResource, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions, org.hl7.fhir.instance.model.api.IBaseResource, org.hl7.fhir.instance.model.api.IDomainResource

public class Task extends DomainResource
A task to be performed.
See Also:
  • Field Details

    • identifier

      The business identifier for this task.
    • instantiatesCanonical

      The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Task.
    • instantiatesUri

      The URL pointing to an *externally* maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Task.
    • basedOn

      protected List<Reference> basedOn
      BasedOn refers to a higher-level authorization that triggered the creation of the task. It references a "request" resource such as a ServiceRequest, MedicationRequest, CarePlan, etc. which is distinct from the "request" resource the task is seeking to fulfill. This latter resource is referenced by focus. For example, based on a CarePlan (= basedOn), a task is created to fulfill a ServiceRequest ( = focus ) to collect a specimen from a patient.
    • groupIdentifier

      An identifier that links together multiple tasks and other requests that were created in the same context.
    • partOf

      protected List<Reference> partOf
      Task that this particular task is part of.
    • status

      The current status of the task.
    • statusReason

      An explanation as to why this task is held, failed, was refused, etc.
    • businessStatus

      Contains business-specific nuances of the business state.
    • intent

      Indicates the "level" of actionability associated with the Task, i.e. i+R[9]Cs this a proposed task, a planned task, an actionable task, etc.
    • priority

      Indicates how quickly the Task should be addressed with respect to other requests.
    • doNotPerform

      If true indicates that the Task is asking for the specified action to *not* occur.
    • code

      protected CodeableConcept code
      A name or code (or both) briefly describing what the task involves.
    • description

      A free-text description of what is to be performed.
    • focus

      protected Reference focus
      The request being fulfilled or the resource being manipulated (changed, suspended, etc.) by this task.
    • for_

      protected Reference for_
      The entity who benefits from the performance of the service specified in the task (e.g., the patient).
    • encounter

      protected Reference encounter
      The healthcare event (e.g. a patient and healthcare provider interaction) during which this task was created.
    • requestedPeriod

      Indicates the start and/or end of the period of time when completion of the task is desired to take place.
    • executionPeriod

      Identifies the time action was first taken against the task (start) and/or the time final action was taken against the task prior to marking it as completed (end).
    • authoredOn

      The date and time this task was created.
    • lastModified

      The date and time of last modification to this task.
    • requester

      protected Reference requester
      The creator of the task.
    • requestedPerformer

      The kind of participant or specific participant that should perform the task.
    • owner

      protected Reference owner
      Individual organization or Device currently responsible for task execution.
    • location

      protected Reference location
      Principal physical location where the this task is performed.
    • reason

      A description, code, or reference indicating why this task needs to be performed.
    • insurance

      protected List<Reference> insurance
      Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant to the Task.
    • note

      protected List<Annotation> note
      Free-text information captured about the task as it progresses.
    • relevantHistory

      Links to Provenance records for past versions of this Task that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the task.
    • restriction

      If the Task.focus is a request resource and the task is seeking fulfillment (i.e. is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned.
    • input

      Additional information that may be needed in the execution of the task.
    • output

      Outputs produced by the Task.
    • SP_AUTHORED_ON

      public static final String SP_AUTHORED_ON
      Search parameter: authored-on

      Description: Search by creation date
      Type: date
      Path: Task.authoredOn

      See Also:
    • AUTHORED_ON

      public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHORED_ON
      Fluent Client search parameter constant for authored-on

      Description: Search by creation date
      Type: date
      Path: Task.authoredOn

    • SP_BASED_ON

      public static final String SP_BASED_ON
      Search parameter: based-on

      Description: Search by requests this task is based on
      Type: reference
      Path: Task.basedOn

      See Also:
    • BASED_ON

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON
      Fluent Client search parameter constant for based-on

      Description: Search by requests this task is based on
      Type: reference
      Path: Task.basedOn

    • INCLUDE_BASED_ON

      public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Task:based-on".
    • SP_BUSINESS_STATUS

      public static final String SP_BUSINESS_STATUS
      Search parameter: business-status

      Description: Search by business status
      Type: token
      Path: Task.businessStatus

      See Also:
    • BUSINESS_STATUS

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam BUSINESS_STATUS
      Fluent Client search parameter constant for business-status

      Description: Search by business status
      Type: token
      Path: Task.businessStatus

    • SP_CODE

      public static final String SP_CODE
      Search parameter: code

      Description: Search by task code
      Type: token
      Path: Task.code

      See Also:
    • CODE

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
      Fluent Client search parameter constant for code

      Description: Search by task code
      Type: token
      Path: Task.code

    • SP_ENCOUNTER

      public static final String SP_ENCOUNTER
      Search parameter: encounter

      Description: Search by encounter
      Type: reference
      Path: Task.encounter

      See Also:
    • ENCOUNTER

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
      Fluent Client search parameter constant for encounter

      Description: Search by encounter
      Type: reference
      Path: Task.encounter

    • INCLUDE_ENCOUNTER

      public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Task:encounter".
    • SP_FOCUS

      public static final String SP_FOCUS
      Search parameter: focus

      Description: Search by task focus
      Type: reference
      Path: Task.focus

      See Also:
    • FOCUS

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam FOCUS
      Fluent Client search parameter constant for focus

      Description: Search by task focus
      Type: reference
      Path: Task.focus

    • INCLUDE_FOCUS

      public static final ca.uhn.fhir.model.api.Include INCLUDE_FOCUS
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Task:focus".
    • SP_GROUP_IDENTIFIER

      public static final String SP_GROUP_IDENTIFIER
      Search parameter: group-identifier

      Description: Search by group identifier
      Type: token
      Path: Task.groupIdentifier

      See Also:
    • GROUP_IDENTIFIER

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam GROUP_IDENTIFIER
      Fluent Client search parameter constant for group-identifier

      Description: Search by group identifier
      Type: token
      Path: Task.groupIdentifier

    • SP_IDENTIFIER

      public static final String SP_IDENTIFIER
      Search parameter: identifier

      Description: Search for a task instance by its business identifier
      Type: token
      Path: Task.identifier

      See Also:
    • IDENTIFIER

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
      Fluent Client search parameter constant for identifier

      Description: Search for a task instance by its business identifier
      Type: token
      Path: Task.identifier

    • SP_INTENT

      public static final String SP_INTENT
      Search parameter: intent

      Description: Search by task intent
      Type: token
      Path: Task.intent

      See Also:
    • INTENT

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENT
      Fluent Client search parameter constant for intent

      Description: Search by task intent
      Type: token
      Path: Task.intent

    • SP_MODIFIED

      public static final String SP_MODIFIED
      Search parameter: modified

      Description: Search by last modification date
      Type: date
      Path: Task.lastModified

      See Also:
    • MODIFIED

      public static final ca.uhn.fhir.rest.gclient.DateClientParam MODIFIED
      Fluent Client search parameter constant for modified

      Description: Search by last modification date
      Type: date
      Path: Task.lastModified

    • SP_OUTPUT

      public static final String SP_OUTPUT
      Search parameter: output

      Description: Search by task output
      Type: reference
      Path: Task.output

      See Also:
    • OUTPUT

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OUTPUT
      Fluent Client search parameter constant for output

      Description: Search by task output
      Type: reference
      Path: Task.output

    • INCLUDE_OUTPUT

      public static final ca.uhn.fhir.model.api.Include INCLUDE_OUTPUT
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Task:output".
    • SP_OWNER

      public static final String SP_OWNER
      Search parameter: owner

      Description: Search by task owner
      Type: reference
      Path: Task.owner

      See Also:
    • OWNER

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OWNER
      Fluent Client search parameter constant for owner

      Description: Search by task owner
      Type: reference
      Path: Task.owner

    • INCLUDE_OWNER

      public static final ca.uhn.fhir.model.api.Include INCLUDE_OWNER
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Task:owner".
    • SP_PART_OF

      public static final String SP_PART_OF
      Search parameter: part-of

      Description: Search by task this task is part of
      Type: reference
      Path: Task.partOf

      See Also:
    • PART_OF

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF
      Fluent Client search parameter constant for part-of

      Description: Search by task this task is part of
      Type: reference
      Path: Task.partOf

    • INCLUDE_PART_OF

      public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Task:part-of".
    • SP_PATIENT

      public static final String SP_PATIENT
      Search parameter: patient

      Description: Search by patient
      Type: reference
      Path: Task.for.where(resolve() is Patient)

      See Also:
    • PATIENT

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
      Fluent Client search parameter constant for patient

      Description: Search by patient
      Type: reference
      Path: Task.for.where(resolve() is Patient)

    • INCLUDE_PATIENT

      public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Task:patient".
    • SP_PERFORMER

      public static final String SP_PERFORMER
      Search parameter: performer

      Description: Search by specific requested performer.
      Type: reference
      Path: Task.requestedPerformer.reference

      See Also:
    • PERFORMER

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER
      Fluent Client search parameter constant for performer

      Description: Search by specific requested performer.
      Type: reference
      Path: Task.requestedPerformer.reference

    • INCLUDE_PERFORMER

      public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Task:performer".
    • SP_PERIOD

      public static final String SP_PERIOD
      Search parameter: period

      Description: Search by period Task is/was underway
      Type: date
      Path: Task.executionPeriod

      See Also:
    • PERIOD

      public static final ca.uhn.fhir.rest.gclient.DateClientParam PERIOD
      Fluent Client search parameter constant for period

      Description: Search by period Task is/was underway
      Type: date
      Path: Task.executionPeriod

    • SP_PRIORITY

      public static final String SP_PRIORITY
      Search parameter: priority

      Description: Search by task priority
      Type: token
      Path: Task.priority

      See Also:
    • PRIORITY

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY
      Fluent Client search parameter constant for priority

      Description: Search by task priority
      Type: token
      Path: Task.priority

    • SP_REQUESTER

      public static final String SP_REQUESTER
      Search parameter: requester

      Description: Search by task requester
      Type: reference
      Path: Task.requester

      See Also:
    • REQUESTER

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER
      Fluent Client search parameter constant for requester

      Description: Search by task requester
      Type: reference
      Path: Task.requester

    • INCLUDE_REQUESTER

      public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Task:requester".
    • SP_STATUS

      public static final String SP_STATUS
      Search parameter: status

      Description: Search by task status
      Type: token
      Path: Task.status

      See Also:
    • STATUS

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
      Fluent Client search parameter constant for status

      Description: Search by task status
      Type: token
      Path: Task.status

    • SP_SUBJECT

      public static final String SP_SUBJECT
      Search parameter: subject

      Description: Search by subject
      Type: reference
      Path: Task.for

      See Also:
    • SUBJECT

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
      Fluent Client search parameter constant for subject

      Description: Search by subject
      Type: reference
      Path: Task.for

    • INCLUDE_SUBJECT

      public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
      Constant for fluent queries to be used to add include statements. Specifies the path value of "Task:subject".
  • Constructor Details

  • Method Details