Package org.hl7.fhir

Class ActionDefinition

java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.ActionDefinition
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class ActionDefinition extends Element 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 a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions

Java class for ActionDefinition complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ActionDefinition">
   <complexContent>
     <extension base="{http://hl7.org/fhir}Element">
       <sequence>
         <element name="actionIdentifier" type="{http://hl7.org/fhir}Identifier" minOccurs="0"/>
         <element name="label" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="title" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="textEquivalent" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="concept" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
         <element name="supportingEvidence" type="{http://hl7.org/fhir}Attachment" maxOccurs="unbounded" minOccurs="0"/>
         <element name="documentation" type="{http://hl7.org/fhir}Attachment" maxOccurs="unbounded" minOccurs="0"/>
         <element name="relatedAction" type="{http://hl7.org/fhir}ActionDefinition.RelatedAction" minOccurs="0"/>
         <element name="participantType" type="{http://hl7.org/fhir}ParticipantType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="type" type="{http://hl7.org/fhir}ActionType" minOccurs="0"/>
         <element name="behavior" type="{http://hl7.org/fhir}ActionDefinition.Behavior" maxOccurs="unbounded" minOccurs="0"/>
         <element name="resource" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
         <element name="customization" type="{http://hl7.org/fhir}ActionDefinition.Customization" maxOccurs="unbounded" minOccurs="0"/>
         <element name="action" type="{http://hl7.org/fhir}ActionDefinition" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ActionDefinition

      public ActionDefinition()
  • Method Details

    • getActionIdentifier

      public Identifier getActionIdentifier()
      Gets the value of the actionIdentifier property.
      Returns:
      possible object is Identifier
    • setActionIdentifier

      public void setActionIdentifier(Identifier value)
      Sets the value of the actionIdentifier property.
      Parameters:
      value - allowed object is Identifier
    • getLabel

      public String getLabel()
      Gets the value of the label property.
      Returns:
      possible object is String
    • setLabel

      public void setLabel(String value)
      Sets the value of the label property.
      Parameters:
      value - allowed object is String
    • getTitle

      public String getTitle()
      Gets the value of the title property.
      Returns:
      possible object is String
    • setTitle

      public void setTitle(String value)
      Sets the value of the title property.
      Parameters:
      value - allowed object is String
    • 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 is String
    • getTextEquivalent

      public String getTextEquivalent()
      Gets the value of the textEquivalent property.
      Returns:
      possible object is String
    • setTextEquivalent

      public void setTextEquivalent(String value)
      Sets the value of the textEquivalent property.
      Parameters:
      value - allowed object is String
    • getConcept

      public List<CodeableConcept> getConcept()
      Gets the value of the concept 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 Jakarta XML Binding object. This is why there is not a set method for the concept property.

      For example, to add a new item, do as follows:

          getConcept().add(newItem);
       

      Objects of the following type(s) are allowed in the list CodeableConcept

    • getSupportingEvidence

      public List<Attachment> getSupportingEvidence()
      Gets the value of the supportingEvidence 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 Jakarta XML Binding object. This is why there is not a set method for the supportingEvidence property.

      For example, to add a new item, do as follows:

          getSupportingEvidence().add(newItem);
       

      Objects of the following type(s) are allowed in the list Attachment

    • getDocumentation

      public List<Attachment> getDocumentation()
      Gets the value of the documentation 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 Jakarta XML Binding object. This is why there is not a set method for the documentation property.

      For example, to add a new item, do as follows:

          getDocumentation().add(newItem);
       

      Objects of the following type(s) are allowed in the list Attachment

    • getRelatedAction

      public ActionDefinitionRelatedAction getRelatedAction()
      Gets the value of the relatedAction property.
      Returns:
      possible object is ActionDefinitionRelatedAction
    • setRelatedAction

      public void setRelatedAction(ActionDefinitionRelatedAction value)
      Sets the value of the relatedAction property.
      Parameters:
      value - allowed object is ActionDefinitionRelatedAction
    • getParticipantType

      public List<ParticipantType> getParticipantType()
      Gets the value of the participantType 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 Jakarta XML Binding object. This is why there is not a set method for the participantType property.

      For example, to add a new item, do as follows:

          getParticipantType().add(newItem);
       

      Objects of the following type(s) are allowed in the list ParticipantType

    • getType

      public ActionType getType()
      Gets the value of the type property.
      Returns:
      possible object is ActionType
    • setType

      public void setType(ActionType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is ActionType
    • getBehavior

      public List<ActionDefinitionBehavior> getBehavior()
      Gets the value of the behavior 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 Jakarta XML Binding object. This is why there is not a set method for the behavior property.

      For example, to add a new item, do as follows:

          getBehavior().add(newItem);
       

      Objects of the following type(s) are allowed in the list ActionDefinitionBehavior

    • getResource

      public Reference getResource()
      Gets the value of the resource property.
      Returns:
      possible object is Reference
    • setResource

      public void setResource(Reference value)
      Sets the value of the resource property.
      Parameters:
      value - allowed object is Reference
    • getCustomization

      public List<ActionDefinitionCustomization> getCustomization()
      Gets the value of the customization 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 Jakarta XML Binding object. This is why there is not a set method for the customization property.

      For example, to add a new item, do as follows:

          getCustomization().add(newItem);
       

      Objects of the following type(s) are allowed in the list ActionDefinitionCustomization

    • getAction

      public List<ActionDefinition> getAction()
      Gets the value of the action 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 Jakarta XML Binding object. This is why there is not a set method for the action property.

      For example, to add a new item, do as follows:

          getAction().add(newItem);
       

      Objects of the following type(s) are allowed in the list ActionDefinition

    • withActionIdentifier

      public ActionDefinition withActionIdentifier(Identifier value)
    • withLabel

      public ActionDefinition withLabel(String value)
    • withTitle

      public ActionDefinition withTitle(String value)
    • withDescription

      public ActionDefinition withDescription(String value)
    • withTextEquivalent

      public ActionDefinition withTextEquivalent(String value)
    • withConcept

      public ActionDefinition withConcept(CodeableConcept... values)
    • withConcept

      public ActionDefinition withConcept(Collection<CodeableConcept> values)
    • withSupportingEvidence

      public ActionDefinition withSupportingEvidence(Attachment... values)
    • withSupportingEvidence

      public ActionDefinition withSupportingEvidence(Collection<Attachment> values)
    • withDocumentation

      public ActionDefinition withDocumentation(Attachment... values)
    • withDocumentation

      public ActionDefinition withDocumentation(Collection<Attachment> values)
    • withRelatedAction

      public ActionDefinition withRelatedAction(ActionDefinitionRelatedAction value)
    • withParticipantType

      public ActionDefinition withParticipantType(ParticipantType... values)
    • withParticipantType

      public ActionDefinition withParticipantType(Collection<ParticipantType> values)
    • withType

      public ActionDefinition withType(ActionType value)
    • withBehavior

      public ActionDefinition withBehavior(ActionDefinitionBehavior... values)
    • withBehavior

      public ActionDefinition withBehavior(Collection<ActionDefinitionBehavior> values)
    • withResource

      public ActionDefinition withResource(Reference value)
    • withCustomization

      public ActionDefinition withCustomization(ActionDefinitionCustomization... values)
    • withCustomization

      public ActionDefinition withCustomization(Collection<ActionDefinitionCustomization> values)
    • withAction

      public ActionDefinition withAction(ActionDefinition... values)
    • withAction

      public ActionDefinition withAction(Collection<ActionDefinition> values)
    • withExtension

      public ActionDefinition withExtension(Extension... values)
      Overrides:
      withExtension in class Element
    • withExtension

      public ActionDefinition withExtension(Collection<Extension> values)
      Overrides:
      withExtension in class Element
    • withId

      public ActionDefinition withId(String value)
      Overrides:
      withId in class Element
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      Overrides:
      equals in class Element
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Element
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      Overrides:
      hashCode in class Element
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Element
    • toString

      public String toString()
      Overrides:
      toString in class Element
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class Element
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class Element
    • setConcept

      public void setConcept(List<CodeableConcept> value)
    • setSupportingEvidence

      public void setSupportingEvidence(List<Attachment> value)
    • setDocumentation

      public void setDocumentation(List<Attachment> value)
    • setParticipantType

      public void setParticipantType(List<ParticipantType> value)
    • setBehavior

      public void setBehavior(List<ActionDefinitionBehavior> value)
    • setCustomization

      public void setCustomization(List<ActionDefinitionCustomization> value)
    • setAction

      public void setAction(List<ActionDefinition> value)