Class ActionGroupingBehavior

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class ActionGroupingBehavior
    extends Code
    • Field Detail

      • VISUAL_GROUP

        public static final ActionGroupingBehavior VISUAL_GROUP
        Visual Group

        Any group marked with this behavior should be displayed as a visual group to the end user.

      • LOGICAL_GROUP

        public static final ActionGroupingBehavior LOGICAL_GROUP
        Logical Group

        A group with this behavior logically groups its sub-elements, and may be shown as a visual group to the end user, but it is not required to do so.

      • SENTENCE_GROUP

        public static final ActionGroupingBehavior SENTENCE_GROUP
        Sentence Group

        A group of related alternative actions is a sentence group if the target referenced by the action is the same in all the actions and each action simply constitutes a different variation on how to specify the details for the target. For example, two actions that could be in a SentenceGroup are "aspirin, 500 mg, 2 times per day" and "aspirin, 300 mg, 3 times per day". In both cases, aspirin is the target referenced by the action, and the two actions represent different options for how aspirin might be ordered for the patient. Note that a SentenceGroup would almost always have an associated selection behavior of "AtMostOne", unless it's a required action, in which case, it would be "ExactlyOne".

    • Method Detail

      • of

        public static ActionGroupingBehavior of​(String value)
        Factory method for creating ActionGroupingBehavior objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating ActionGroupingBehavior objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating ActionGroupingBehavior objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code