public class Task extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Task.ParameterComponent |
static class |
Task.TaskOutputComponent |
static class |
Task.TaskPriority |
static class |
Task.TaskPriorityEnumFactory |
static class |
Task.TaskStatus |
static class |
Task.TaskStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected DateTimeType |
created
The date and time this task was created.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
CREATED
Fluent Client search parameter constant for created
|
protected Reference |
creator
The creator of the task.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
CREATOR
Fluent Client search parameter constant for creator
|
protected Resource |
creatorTarget
The actual object that is the target of the reference (The creator of the task.)
|
protected UriType |
definition
A reference to a formal or informal definition of the task.
|
static ca.uhn.fhir.rest.gclient.UriClientParam |
DEFINITION
Fluent Client search parameter constant for definition
|
protected StringType |
description
A description of this task.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
FAILURE
Fluent Client search parameter constant for failure
|
protected CodeableConcept |
failureReason
An explaination as to why this task failed.
|
protected Reference |
for_
The entity who benefits from the performance of the service specified in the task (e.g., the patient).
|
protected Resource |
for_Target
The actual object that is the target of the reference (The entity who benefits from the performance of the service specified in the task (e.g., the patient).)
|
protected Identifier |
identifier
The business identifier for this task.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_CREATOR
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_OWNER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PARENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
protected List<Task.ParameterComponent> |
input
Inputs to the task.
|
protected DateTimeType |
lastModified
The date and time of last modification to this task.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
MODIFIED
Fluent Client search parameter constant for modified
|
protected List<Task.TaskOutputComponent> |
output
Outputs produced by the Task.
|
protected Reference |
owner
The owner of this task.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
OWNER
Fluent Client search parameter constant for owner
|
protected Resource |
ownerTarget
The actual object that is the target of the reference (The owner of this task.
|
protected Reference |
parent
Task that this particular task is part of.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PARENT
Fluent Client search parameter constant for parent
|
protected Task |
parentTarget
The actual object that is the target of the reference (Task that this particular task is part of.)
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
PERFORMER
Fluent Client search parameter constant for performer
|
protected List<Coding> |
performerType
The type of participant that can execute the task.
|
protected Enumeration<Task.TaskPriority> |
priority
The priority of the task among other tasks of the same type.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
PRIORITY
Fluent Client search parameter constant for priority
|
static String |
SP_CREATED
Search parameter: created
|
static String |
SP_CREATOR
Search parameter: creator
|
static String |
SP_DEFINITION
Search parameter: definition
|
static String |
SP_FAILURE
Search parameter: failure
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_MODIFIED
Search parameter: modified
|
static String |
SP_OWNER
Search parameter: owner
|
static String |
SP_PARENT
Search parameter: parent
|
static String |
SP_PERFORMER
Search parameter: performer
|
static String |
SP_PRIORITY
Search parameter: priority
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_SUBJECT
Search parameter: subject
|
static String |
SP_TYPE
Search parameter: type
|
protected Enumeration<Task.TaskStatus> |
status
The current status of the task.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected Reference |
subject
The subject of the task.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (The subject of the task.)
|
protected CodeableConcept |
type
A name or code (or both) briefly describing what the task involves.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Task()
Constructor
|
Task(Enumeration<Task.TaskStatus> status,
DateTimeType created,
DateTimeType lastModified,
Reference creator)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, setIdcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected Identifier identifier
protected CodeableConcept type
protected StringType description
protected List<Coding> performerType
protected Enumeration<Task.TaskPriority> priority
protected Enumeration<Task.TaskStatus> status
protected CodeableConcept failureReason
protected Resource subjectTarget
protected Reference for_
protected Resource for_Target
protected UriType definition
protected DateTimeType created
protected DateTimeType lastModified
protected Resource creatorTarget
protected Resource ownerTarget
protected Task parentTarget
protected List<Task.ParameterComponent> input
protected List<Task.TaskOutputComponent> output
public static final String SP_DEFINITION
Description: Search by task definition
Type: uri
Path: Task.definition
public static final ca.uhn.fhir.rest.gclient.UriClientParam DEFINITION
Description: Search by task definition
Type: uri
Path: Task.definition
public static final String SP_STATUS
Description: Search by task status
Type: token
Path: Task.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: Search by task status
Type: token
Path: Task.status
public static final String SP_SUBJECT
Description: Search by task subject
Type: reference
Path: Task.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description: Search by task subject
Type: reference
Path: Task.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public static final String SP_PARENT
Description: Search by parent task
Type: reference
Path: Task.parent
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARENT
Description: Search by parent task
Type: reference
Path: Task.parent
public static final ca.uhn.fhir.model.api.Include INCLUDE_PARENT
public static final String SP_TYPE
Description: Search by task type
Type: token
Path: Task.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Description: Search by task type
Type: token
Path: Task.type
public static final String SP_MODIFIED
Description: Search by last modification date
Type: date
Path: Task.lastModified
public static final ca.uhn.fhir.rest.gclient.DateClientParam MODIFIED
Description: Search by last modification date
Type: date
Path: Task.lastModified
public static final String SP_CREATOR
Description: Search by task creator
Type: reference
Path: Task.creator
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam CREATOR
Description: Search by task creator
Type: reference
Path: Task.creator
public static final ca.uhn.fhir.model.api.Include INCLUDE_CREATOR
public static final String SP_FAILURE
Description: Search by failure reason
Type: token
Path: Task.failureReason
public static final ca.uhn.fhir.rest.gclient.TokenClientParam FAILURE
Description: Search by failure reason
Type: token
Path: Task.failureReason
public static final String SP_CREATED
Description: Search by creation date
Type: date
Path: Task.created
public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED
Description: Search by creation date
Type: date
Path: Task.created
public static final String SP_PRIORITY
Description: Search by task priority
Type: token
Path: Task.priority
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY
Description: Search by task priority
Type: token
Path: Task.priority
public static final String SP_OWNER
Description: Search by task owner
Type: reference
Path: Task.owner
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OWNER
Description: Search by task owner
Type: reference
Path: Task.owner
public static final ca.uhn.fhir.model.api.Include INCLUDE_OWNER
public static final String SP_PERFORMER
Description: Search by recommended type of performer (e.g., Requester, Performer, Scheduler).
Type: token
Path: Task.performerType
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PERFORMER
Description: Search by recommended type of performer (e.g., Requester, Performer, Scheduler).
Type: token
Path: Task.performerType
public static final String SP_IDENTIFIER
Description: Search for a task instance by its business identifier
Type: token
Path: Task.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Search for a task instance by its business identifier
Type: token
Path: Task.identifier
public Task()
public Task(Enumeration<Task.TaskStatus> status, DateTimeType created, DateTimeType lastModified, Reference creator)
public Identifier getIdentifier()
identifier (The business identifier for this task.)public boolean hasIdentifier()
public Task setIdentifier(Identifier value)
value - identifier (The business identifier for this task.)public CodeableConcept getType()
type (A name or code (or both) briefly describing what the task involves.)public boolean hasType()
public Task setType(CodeableConcept value)
value - type (A name or code (or both) briefly describing what the task involves.)public StringType getDescriptionElement()
description (A description of this task.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic boolean hasDescriptionElement()
public boolean hasDescription()
public Task setDescriptionElement(StringType value)
value - description (A description of this task.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the valuepublic String getDescription()
public Task setDescription(String value)
value - A description of this task.public List<Coding> getPerformerType()
performerType (The type of participant that can execute the task.)public boolean hasPerformerType()
public Coding addPerformerType()
performerType (The type of participant that can execute the task.)public Task addPerformerType(Coding t)
public Enumeration<Task.TaskPriority> getPriorityElement()
priority (The priority of the task among other tasks of the same type.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the valuepublic boolean hasPriorityElement()
public boolean hasPriority()
public Task setPriorityElement(Enumeration<Task.TaskPriority> value)
value - priority (The priority of the task among other tasks of the same type.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the valuepublic Task.TaskPriority getPriority()
public Task setPriority(Task.TaskPriority value)
value - The priority of the task among other tasks of the same type.public Enumeration<Task.TaskStatus> getStatusElement()
status (The current status of the task.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Task setStatusElement(Enumeration<Task.TaskStatus> value)
value - status (The current status of the task.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic Task.TaskStatus getStatus()
public Task setStatus(Task.TaskStatus value)
value - The current status of the task.public CodeableConcept getFailureReason()
failureReason (An explaination as to why this task failed.)public boolean hasFailureReason()
public Task setFailureReason(CodeableConcept value)
value - failureReason (An explaination as to why this task failed.)public Reference getSubject()
subject (The subject of the task.)public boolean hasSubject()
public Task setSubject(Reference value)
value - subject (The subject of the task.)public Resource getSubjectTarget()
subject The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The subject of the task.)public Task setSubjectTarget(Resource value)
value - subject The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The subject of the task.)public Reference getFor()
for_ (The entity who benefits from the performance of the service specified in the task (e.g., the patient).)public boolean hasFor()
public Task setFor(Reference value)
value - for_ (The entity who benefits from the performance of the service specified in the task (e.g., the patient).)public Resource getForTarget()
for_ The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The entity who benefits from the performance of the service specified in the task (e.g., the patient).)public Task setForTarget(Resource value)
value - for_ The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The entity who benefits from the performance of the service specified in the task (e.g., the patient).)public UriType getDefinitionElement()
definition (A reference to a formal or informal definition of the task.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the valuepublic boolean hasDefinitionElement()
public boolean hasDefinition()
public Task setDefinitionElement(UriType value)
value - definition (A reference to a formal or informal definition of the task.). This is the underlying object with id, value and extensions. The accessor "getDefinition" gives direct access to the valuepublic String getDefinition()
public Task setDefinition(String value)
value - A reference to a formal or informal definition of the task.public DateTimeType getCreatedElement()
created (The date and time this task was created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the valuepublic boolean hasCreatedElement()
public boolean hasCreated()
public Task setCreatedElement(DateTimeType value)
value - created (The date and time this task was created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the valuepublic Date getCreated()
public Task setCreated(Date value)
value - The date and time this task was created.public DateTimeType getLastModifiedElement()
lastModified (The date and time of last modification to this task.). This is the underlying object with id, value and extensions. The accessor "getLastModified" gives direct access to the valuepublic boolean hasLastModifiedElement()
public boolean hasLastModified()
public Task setLastModifiedElement(DateTimeType value)
value - lastModified (The date and time of last modification to this task.). This is the underlying object with id, value and extensions. The accessor "getLastModified" gives direct access to the valuepublic Date getLastModified()
public Task setLastModified(Date value)
value - The date and time of last modification to this task.public Reference getCreator()
creator (The creator of the task.)public boolean hasCreator()
public Task setCreator(Reference value)
value - creator (The creator of the task.)public Resource getCreatorTarget()
creator The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The creator of the task.)public Task setCreatorTarget(Resource value)
value - creator The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The creator of the task.)public Reference getOwner()
owner (The owner of this task. The participant who can execute this task.)public boolean hasOwner()
public Task setOwner(Reference value)
value - owner (The owner of this task. The participant who can execute this task.)public Resource getOwnerTarget()
owner The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The owner of this task. The participant who can execute this task.)public Task setOwnerTarget(Resource value)
value - owner The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The owner of this task. The participant who can execute this task.)public boolean hasParent()
public Task setParent(Reference value)
value - parent (Task that this particular task is part of.)public Task getParentTarget()
parent The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Task that this particular task is part of.)public Task setParentTarget(Task value)
value - parent The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Task that this particular task is part of.)public List<Task.ParameterComponent> getInput()
input (Inputs to the task.)public boolean hasInput()
public Task.ParameterComponent addInput()
input (Inputs to the task.)public Task addInput(Task.ParameterComponent t)
public List<Task.TaskOutputComponent> getOutput()
output (Outputs produced by the Task.)public boolean hasOutput()
public Task.TaskOutputComponent addOutput()
output (Outputs produced by the Task.)public Task addOutput(Task.TaskOutputComponent t)
protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Task copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.