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 classContract.Term.Action.Builderstatic classContract.Term.Action.SubjectEntity 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 voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static Contract.Term.Action.Builderbuilder()booleanequals(Object obj)ReferencegetContext()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.BooleangetDoNotPerform()True if the term prohibits the action.CodeableConceptgetIntent()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.ElementgetOccurrence()When action happens.ReferencegetPerformer()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.CodeableConceptgetPerformerRole()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.CodeableConceptgetStatus()Current state of the term action.List<Contract.Term.Action.Subject>getSubject()Entity of the action.CodeableConceptgetType()Activity or service obligation to be done or not done, performed or not performed, effectuated or not by this Contract term.booleanhasChildren()inthashCode()Contract.Term.Action.BuildertoBuilder()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
Booleanthat 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
CodeableConceptthat 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.Subjectthat may be empty.
-
getIntent
public CodeableConcept getIntent()
Reason or purpose for the action stipulated by this Contract Provision.- Returns:
- An immutable object of type
CodeableConceptthat 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
Stringthat may be empty.
-
getStatus
public CodeableConcept getStatus()
Current state of the term action.- Returns:
- An immutable object of type
CodeableConceptthat is non-null.
-
getContext
public Reference getContext()
Encounter or Episode with primary association to specified term activity.- Returns:
- An immutable object of type
Referencethat 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
Stringthat 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
Referencethat 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
Stringthat 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
CodeableConceptthat 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
CodeableConceptthat 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
Referencethat 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
Stringthat 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
CodeableConceptthat 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
Referencethat 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
Stringthat 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
Stringthat 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
Annotationthat may be empty.
-
getSecurityLabelNumber
public List<UnsignedInt> getSecurityLabelNumber()
Security labels that protects the action.- Returns:
- An unmodifiable list containing immutable objects of type
UnsignedIntthat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classBackboneElement
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept 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:
acceptin interfaceVisitable- Specified by:
acceptin 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:ElementCreate a new Builder from the contents of this Element- Specified by:
toBuilderin classBackboneElement
-
builder
public static Contract.Term.Action.Builder builder()
-
-