Package com.ibm.fhir.model.resource
Class Contract.Term.Action
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.BackboneElement
-
- com.ibm.fhir.model.resource.Contract.Term.Action
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- Contract.Term
public static class Contract.Term.Action extends BackboneElement
An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Contract.Term.Action.Builder
static class
Contract.Term.Action.Subject
Entity of the action.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static Contract.Term.Action.Builder
builder()
boolean
equals(Object obj)
Reference
getContext()
Encounter or Episode with primary association to specified term activity.List<String>
getContextLinkId()
Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse.Boolean
getDoNotPerform()
True if the term prohibits the action.CodeableConcept
getIntent()
Reason or purpose for the action stipulated by this Contract Provision.List<String>
getLinkId()
Id [identifier??] of the clause or question text related to this action in the referenced form or QuestionnaireResponse.List<Annotation>
getNote()
Comments made about the term action made by the requester, performer, subject or other participants.Element
getOccurrence()
When action happens.Reference
getPerformer()
Indicates who or what is being asked to perform (or not perform) the ction.List<String>
getPerformerLinkId()
Id [identifier??] of the clause or question text related to the reason type or reference of this action in the referenced form or QuestionnaireResponse.CodeableConcept
getPerformerRole()
The type of role or competency of an individual desired or required to perform or not perform the action.List<CodeableConcept>
getPerformerType()
The type of individual that is desired or required to perform or not perform the action.List<String>
getReason()
Describes why the action is to be performed or not performed in textual form.List<CodeableConcept>
getReasonCode()
Rationale for the action to be performed or not performed.List<String>
getReasonLinkId()
Id [identifier??] of the clause or question text related to the reason type or reference of this action in the referenced form or QuestionnaireResponse.List<Reference>
getReasonReference()
Indicates another resource whose existence justifies permitting or not permitting this action.List<Reference>
getRequester()
Who or what initiated the action and has responsibility for its activation.List<String>
getRequesterLinkId()
Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse.List<UnsignedInt>
getSecurityLabelNumber()
Security labels that protects the action.CodeableConcept
getStatus()
Current state of the term action.List<Contract.Term.Action.Subject>
getSubject()
Entity of the action.CodeableConcept
getType()
Activity or service obligation to be done or not done, performed or not performed, effectuated or not by this Contract term.boolean
hasChildren()
int
hashCode()
Contract.Term.Action.Builder
toBuilder()
Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement
getModifierExtension
-
-
-
-
Method Detail
-
getDoNotPerform
public Boolean getDoNotPerform()
True if the term prohibits the action.- Returns:
- An immutable object of type
Boolean
that may be null.
-
getType
public CodeableConcept getType()
Activity or service obligation to be done or not done, performed or not performed, effectuated or not by this Contract term.- Returns:
- An immutable object of type
CodeableConcept
that is non-null.
-
getSubject
public List<Contract.Term.Action.Subject> getSubject()
Entity of the action.- Returns:
- An unmodifiable list containing immutable objects of type
Contract.Term.Action.Subject
that may be empty.
-
getIntent
public CodeableConcept getIntent()
Reason or purpose for the action stipulated by this Contract Provision.- Returns:
- An immutable object of type
CodeableConcept
that is non-null.
-
getLinkId
public List<String> getLinkId()
Id [identifier??] of the clause or question text related to this action in the referenced form or QuestionnaireResponse.- Returns:
- An unmodifiable list containing immutable objects of type
String
that may be empty.
-
getStatus
public CodeableConcept getStatus()
Current state of the term action.- Returns:
- An immutable object of type
CodeableConcept
that is non-null.
-
getContext
public Reference getContext()
Encounter or Episode with primary association to specified term activity.- Returns:
- An immutable object of type
Reference
that may be null.
-
getContextLinkId
public List<String> getContextLinkId()
Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse.- Returns:
- An unmodifiable list containing immutable objects of type
String
that may be empty.
-
getOccurrence
public Element getOccurrence()
When action happens.
-
getRequester
public List<Reference> getRequester()
Who or what initiated the action and has responsibility for its activation.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getRequesterLinkId
public List<String> getRequesterLinkId()
Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse.- Returns:
- An unmodifiable list containing immutable objects of type
String
that may be empty.
-
getPerformerType
public List<CodeableConcept> getPerformerType()
The type of individual that is desired or required to perform or not perform the action.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that may be empty.
-
getPerformerRole
public CodeableConcept getPerformerRole()
The type of role or competency of an individual desired or required to perform or not perform the action.- Returns:
- An immutable object of type
CodeableConcept
that may be null.
-
getPerformer
public Reference getPerformer()
Indicates who or what is being asked to perform (or not perform) the ction.- Returns:
- An immutable object of type
Reference
that may be null.
-
getPerformerLinkId
public List<String> getPerformerLinkId()
Id [identifier??] of the clause or question text related to the reason type or reference of this action in the referenced form or QuestionnaireResponse.- Returns:
- An unmodifiable list containing immutable objects of type
String
that may be empty.
-
getReasonCode
public List<CodeableConcept> getReasonCode()
Rationale for the action to be performed or not performed. Describes why the action is permitted or prohibited.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConcept
that may be empty.
-
getReasonReference
public List<Reference> getReasonReference()
Indicates another resource whose existence justifies permitting or not permitting this action.- Returns:
- An unmodifiable list containing immutable objects of type
Reference
that may be empty.
-
getReason
public List<String> getReason()
Describes why the action is to be performed or not performed in textual form.- Returns:
- An unmodifiable list containing immutable objects of type
String
that may be empty.
-
getReasonLinkId
public List<String> getReasonLinkId()
Id [identifier??] of the clause or question text related to the reason type or reference of this action in the referenced form or QuestionnaireResponse.- Returns:
- An unmodifiable list containing immutable objects of type
String
that may be empty.
-
getNote
public List<Annotation> getNote()
Comments made about the term action made by the requester, performer, subject or other participants.- Returns:
- An unmodifiable list containing immutable objects of type
Annotation
that may be empty.
-
getSecurityLabelNumber
public List<UnsignedInt> getSecurityLabelNumber()
Security labels that protects the action.- Returns:
- An unmodifiable list containing immutable objects of type
UnsignedInt
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classBackboneElement
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }
- Specified by:
accept
in interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
toBuilder
public Contract.Term.Action.Builder toBuilder()
Description copied from class:Element
Create a new Builder from the contents of this Element- Specified by:
toBuilder
in classBackboneElement
-
builder
public static Contract.Term.Action.Builder builder()
-
-