Class Contract.Term.Action
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.type.Element
-
- org.linuxforhealth.fhir.model.type.BackboneElement
-
- org.linuxforhealth.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 org.linuxforhealth.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static Contract.Term.Action.Builder
builder()
boolean
equals(java.lang.Object obj)
Reference
getContext()
Encounter or Episode with primary association to specified term activity.java.util.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.java.util.List<String>
getLinkId()
Id [identifier??] of the clause or question text related to this action in the referenced form or QuestionnaireResponse.java.util.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.java.util.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.java.util.List<CodeableConcept>
getPerformerType()
The type of individual that is desired or required to perform or not perform the action.java.util.List<String>
getReason()
Describes why the action is to be performed or not performed in textual form.java.util.List<CodeableConcept>
getReasonCode()
Rationale for the action to be performed or not performed.java.util.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.java.util.List<Reference>
getReasonReference()
Indicates another resource whose existence justifies permitting or not permitting this action.java.util.List<Reference>
getRequester()
Who or what initiated the action and has responsibility for its activation.java.util.List<String>
getRequesterLinkId()
Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse.java.util.List<UnsignedInt>
getSecurityLabelNumber()
Security labels that protects the action.CodeableConcept
getStatus()
Current state of the term action.java.util.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 org.linuxforhealth.fhir.model.type.BackboneElement
getModifierExtension
-
Methods inherited from class org.linuxforhealth.fhir.model.type.Element
as, getExtension, getId, hasValue, is
-
-
-
-
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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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 java.util.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(java.lang.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
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
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()
-
-