Class RequestGroup.Action

  • All Implemented Interfaces:
    Visitable
    Enclosing class:
    RequestGroup

    public static class RequestGroup.Action
    extends BackboneElement
    The actions, if any, produced by the evaluation of the artifact.
    • Method Detail

      • getPrefix

        public String getPrefix()
        A user-visible prefix for the action.
        Returns:
        An immutable object of type String that may be null.
      • getTitle

        public String getTitle()
        The title of the action displayed to a user.
        Returns:
        An immutable object of type String that may be null.
      • getDescription

        public String getDescription()
        A short description of the action used to provide a summary to display to the user.
        Returns:
        An immutable object of type String that may be null.
      • getTextEquivalent

        public String getTextEquivalent()
        A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically.
        Returns:
        An immutable object of type String that may be null.
      • getPriority

        public RequestPriority getPriority()
        Indicates how quickly the action should be addressed with respect to other actions.
        Returns:
        An immutable object of type RequestPriority that may be null.
      • getCode

        public List<CodeableConcept> getCode()
        A code that provides meaning for the action or action group. For example, a section may have a LOINC code for a section of a documentation template.
        Returns:
        An unmodifiable list containing immutable objects of type CodeableConcept that may be empty.
      • getDocumentation

        public List<RelatedArtifact> getDocumentation()
        Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources.
        Returns:
        An unmodifiable list containing immutable objects of type RelatedArtifact that may be empty.
      • getParticipant

        public List<Reference> getParticipant()
        The participant that should perform or be responsible for this action.
        Returns:
        An unmodifiable list containing immutable objects of type Reference that may be empty.
      • getType

        public CodeableConcept getType()
        The type of action to perform (create, update, remove).
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • getResource

        public Reference getResource()
        The resource that is the target of the action (e.g. CommunicationRequest).
        Returns:
        An immutable object of type Reference that may be null.
      • 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 interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object