Class Task
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.Task
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class Task extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for Task complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Task"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="identifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/> <element name="type" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="performerType" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/> <element name="priority" type="{http://hl7.org/fhir}TaskPriority" minOccurs="0"/> <element name="status" type="{http://hl7.org/fhir}TaskStatus"/> <element name="failureReason" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/> <element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="for" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="definition" type="{http://hl7.org/fhir}uri" minOccurs="0"/> <element name="created" type="{http://hl7.org/fhir}dateTime"/> <element name="lastModified" type="{http://hl7.org/fhir}dateTime"/> <element name="creator" type="{http://hl7.org/fhir}Reference"/> <element name="owner" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="parent" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="input" type="{http://hl7.org/fhir}Task.Input" maxOccurs="unbounded" minOccurs="0"/> <element name="output" type="{http://hl7.org/fhir}Task.Output" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Reference_forprotected DateTimecreatedprotected Referencecreatorprotected Uridefinitionprotected Stringdescriptionprotected CodeableConceptfailureReasonprotected Identifieridentifierprotected java.util.List<TaskInput>inputprotected DateTimelastModifiedprotected java.util.List<TaskOutput>outputprotected Referenceownerprotected Referenceparentprotected java.util.List<Coding>performerTypeprotected TaskPrioritypriorityprotected TaskStatusstatusprotected Referencesubjectprotected CodeableConcepttype-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description Task()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)DateTimegetCreated()Gets the value of the created property.ReferencegetCreator()Gets the value of the creator property.UrigetDefinition()Gets the value of the definition property.StringgetDescription()Gets the value of the description property.CodeableConceptgetFailureReason()Gets the value of the failureReason property.ReferencegetFor()Gets the value of the for property.IdentifiergetIdentifier()Gets the value of the identifier property.java.util.List<TaskInput>getInput()Gets the value of the input property.DateTimegetLastModified()Gets the value of the lastModified property.java.util.List<TaskOutput>getOutput()Gets the value of the output property.ReferencegetOwner()Gets the value of the owner property.ReferencegetParent()Gets the value of the parent property.java.util.List<Coding>getPerformerType()Gets the value of the performerType property.TaskPrioritygetPriority()Gets the value of the priority property.TaskStatusgetStatus()Gets the value of the status property.ReferencegetSubject()Gets the value of the subject property.CodeableConceptgetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCreated(DateTime value)Sets the value of the created property.voidsetCreator(Reference value)Sets the value of the creator property.voidsetDefinition(Uri value)Sets the value of the definition property.voidsetDescription(String value)Sets the value of the description property.voidsetFailureReason(CodeableConcept value)Sets the value of the failureReason property.voidsetFor(Reference value)Sets the value of the for property.voidsetIdentifier(Identifier value)Sets the value of the identifier property.voidsetLastModified(DateTime value)Sets the value of the lastModified property.voidsetOwner(Reference value)Sets the value of the owner property.voidsetParent(Reference value)Sets the value of the parent property.voidsetPriority(TaskPriority value)Sets the value of the priority property.voidsetStatus(TaskStatus value)Sets the value of the status property.voidsetSubject(Reference value)Sets the value of the subject property.voidsetType(CodeableConcept value)Sets the value of the type property.java.lang.StringtoString()TaskwithContained(java.util.Collection<ResourceContainer> values)TaskwithContained(ResourceContainer... values)TaskwithCreated(DateTime value)TaskwithCreator(Reference value)TaskwithDefinition(Uri value)TaskwithDescription(String value)TaskwithExtension(java.util.Collection<Extension> values)TaskwithExtension(Extension... values)TaskwithFailureReason(CodeableConcept value)TaskwithFor(Reference value)TaskwithId(Id value)TaskwithIdentifier(Identifier value)TaskwithImplicitRules(Uri value)TaskwithInput(java.util.Collection<TaskInput> values)TaskwithInput(TaskInput... values)TaskwithLanguage(Code value)TaskwithLastModified(DateTime value)TaskwithMeta(Meta value)TaskwithModifierExtension(java.util.Collection<Extension> values)TaskwithModifierExtension(Extension... values)TaskwithOutput(java.util.Collection<TaskOutput> values)TaskwithOutput(TaskOutput... values)TaskwithOwner(Reference value)TaskwithParent(Reference value)TaskwithPerformerType(java.util.Collection<Coding> values)TaskwithPerformerType(Coding... values)TaskwithPriority(TaskPriority value)TaskwithStatus(TaskStatus value)TaskwithSubject(Reference value)TaskwithText(Narrative value)TaskwithType(CodeableConcept value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected Identifier identifier
-
type
protected CodeableConcept type
-
description
protected String description
-
performerType
protected java.util.List<Coding> performerType
-
priority
protected TaskPriority priority
-
status
protected TaskStatus status
-
failureReason
protected CodeableConcept failureReason
-
subject
protected Reference subject
-
_for
protected Reference _for
-
definition
protected Uri definition
-
created
protected DateTime created
-
lastModified
protected DateTime lastModified
-
creator
protected Reference creator
-
owner
protected Reference owner
-
parent
protected Reference parent
-
input
protected java.util.List<TaskInput> input
-
output
protected java.util.List<TaskOutput> output
-
-
Method Detail
-
getIdentifier
public Identifier getIdentifier()
Gets the value of the identifier property.- Returns:
- possible object is
Identifier
-
setIdentifier
public void setIdentifier(Identifier value)
Sets the value of the identifier property.- Parameters:
value- allowed object isIdentifier
-
getType
public CodeableConcept getType()
Gets the value of the type property.- Returns:
- possible object is
CodeableConcept
-
setType
public void setType(CodeableConcept value)
Sets the value of the type property.- Parameters:
value- allowed object isCodeableConcept
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getPerformerType
public java.util.List<Coding> getPerformerType()
Gets the value of the performerType property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the performerType property.For example, to add a new item, do as follows:
getPerformerType().add(newItem);Objects of the following type(s) are allowed in the list
Coding
-
getPriority
public TaskPriority getPriority()
Gets the value of the priority property.- Returns:
- possible object is
TaskPriority
-
setPriority
public void setPriority(TaskPriority value)
Sets the value of the priority property.- Parameters:
value- allowed object isTaskPriority
-
getStatus
public TaskStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
TaskStatus
-
setStatus
public void setStatus(TaskStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isTaskStatus
-
getFailureReason
public CodeableConcept getFailureReason()
Gets the value of the failureReason property.- Returns:
- possible object is
CodeableConcept
-
setFailureReason
public void setFailureReason(CodeableConcept value)
Sets the value of the failureReason property.- Parameters:
value- allowed object isCodeableConcept
-
getSubject
public Reference getSubject()
Gets the value of the subject property.- Returns:
- possible object is
Reference
-
setSubject
public void setSubject(Reference value)
Sets the value of the subject property.- Parameters:
value- allowed object isReference
-
getFor
public Reference getFor()
Gets the value of the for property.- Returns:
- possible object is
Reference
-
setFor
public void setFor(Reference value)
Sets the value of the for property.- Parameters:
value- allowed object isReference
-
getDefinition
public Uri getDefinition()
Gets the value of the definition property.- Returns:
- possible object is
Uri
-
setDefinition
public void setDefinition(Uri value)
Sets the value of the definition property.- Parameters:
value- allowed object isUri
-
getCreated
public DateTime getCreated()
Gets the value of the created property.- Returns:
- possible object is
DateTime
-
setCreated
public void setCreated(DateTime value)
Sets the value of the created property.- Parameters:
value- allowed object isDateTime
-
getLastModified
public DateTime getLastModified()
Gets the value of the lastModified property.- Returns:
- possible object is
DateTime
-
setLastModified
public void setLastModified(DateTime value)
Sets the value of the lastModified property.- Parameters:
value- allowed object isDateTime
-
getCreator
public Reference getCreator()
Gets the value of the creator property.- Returns:
- possible object is
Reference
-
setCreator
public void setCreator(Reference value)
Sets the value of the creator property.- Parameters:
value- allowed object isReference
-
getOwner
public Reference getOwner()
Gets the value of the owner property.- Returns:
- possible object is
Reference
-
setOwner
public void setOwner(Reference value)
Sets the value of the owner property.- Parameters:
value- allowed object isReference
-
getParent
public Reference getParent()
Gets the value of the parent property.- Returns:
- possible object is
Reference
-
setParent
public void setParent(Reference value)
Sets the value of the parent property.- Parameters:
value- allowed object isReference
-
getInput
public java.util.List<TaskInput> getInput()
Gets the value of the input property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the input property.For example, to add a new item, do as follows:
getInput().add(newItem);Objects of the following type(s) are allowed in the list
TaskInput
-
getOutput
public java.util.List<TaskOutput> getOutput()
Gets the value of the output property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the output property.For example, to add a new item, do as follows:
getOutput().add(newItem);Objects of the following type(s) are allowed in the list
TaskOutput
-
withIdentifier
public Task withIdentifier(Identifier value)
-
withType
public Task withType(CodeableConcept value)
-
withPriority
public Task withPriority(TaskPriority value)
-
withStatus
public Task withStatus(TaskStatus value)
-
withFailureReason
public Task withFailureReason(CodeableConcept value)
-
withOutput
public Task withOutput(TaskOutput... values)
-
withOutput
public Task withOutput(java.util.Collection<TaskOutput> values)
-
withText
public Task withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public Task withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public Task withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public Task withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public Task withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public Task withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public Task withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public Task withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public Task withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public Task withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public Task withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-