Class TriggerType

  • All Implemented Interfaces:
    Visitable

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

      • NAMED_EVENT

        public static final TriggerType NAMED_EVENT
        Named Event

        The trigger occurs in response to a specific named event, and no other information about the trigger is specified. Named events are completely pre-coordinated, and the formal semantics of the trigger are not provided.

      • PERIODIC

        public static final TriggerType PERIODIC
        Periodic

        The trigger occurs at a specific time or periodically as described by a timing or schedule. A periodic event cannot have any data elements, but may have a name assigned as a shorthand for the event.

      • DATA_CHANGED

        public static final TriggerType DATA_CHANGED
        Data Changed

        The trigger occurs whenever data of a particular type is changed in any way, either added, modified, or removed.

      • DATA_ADDED

        public static final TriggerType DATA_ADDED
        Data Added

        The trigger occurs whenever data of a particular type is added.

      • DATA_MODIFIED

        public static final TriggerType DATA_MODIFIED
        Data Updated

        The trigger occurs whenever data of a particular type is modified.

      • DATA_REMOVED

        public static final TriggerType DATA_REMOVED
        Data Removed

        The trigger occurs whenever data of a particular type is removed.

      • DATA_ACCESSED

        public static final TriggerType DATA_ACCESSED
        Data Accessed

        The trigger occurs whenever data of a particular type is accessed.

      • DATA_ACCESS_ENDED

        public static final TriggerType DATA_ACCESS_ENDED
        Data Access Ended

        The trigger occurs whenever access to data of a particular type is completed.

    • Method Detail

      • of

        public static TriggerType of​(String value)
        Factory method for creating TriggerType 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 TriggerType 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 TriggerType 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