Package org.hl7.fhir.r4.model
Enum TriggerDefinition.TriggerType
- java.lang.Object
-
- java.lang.Enum<TriggerDefinition.TriggerType>
-
- org.hl7.fhir.r4.model.TriggerDefinition.TriggerType
-
- All Implemented Interfaces:
Serializable,Comparable<TriggerDefinition.TriggerType>
- Enclosing class:
- TriggerDefinition
public static enum TriggerDefinition.TriggerType extends Enum<TriggerDefinition.TriggerType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATAACCESSEDThe trigger occurs whenever data of a particular type is accessed.DATAACCESSENDEDThe trigger occurs whenever access to data of a particular type is completed.DATAADDEDThe trigger occurs whenever data of a particular type is added.DATACHANGEDThe trigger occurs whenever data of a particular type is changed in any way, either added, modified, or removed.DATAMODIFIEDThe trigger occurs whenever data of a particular type is modified.DATAREMOVEDThe trigger occurs whenever data of a particular type is removed.NAMEDEVENTThe trigger occurs in response to a specific named event, and no other information about the trigger is specified.NULLadded to help the parsers with the generic typesPERIODICThe trigger occurs at a specific time or periodically as described by a timing or schedule.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TriggerDefinition.TriggerTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static TriggerDefinition.TriggerTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TriggerDefinition.TriggerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAMEDEVENT
public static final TriggerDefinition.TriggerType NAMEDEVENT
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 TriggerDefinition.TriggerType 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.
-
DATACHANGED
public static final TriggerDefinition.TriggerType DATACHANGED
The trigger occurs whenever data of a particular type is changed in any way, either added, modified, or removed.
-
DATAADDED
public static final TriggerDefinition.TriggerType DATAADDED
The trigger occurs whenever data of a particular type is added.
-
DATAMODIFIED
public static final TriggerDefinition.TriggerType DATAMODIFIED
The trigger occurs whenever data of a particular type is modified.
-
DATAREMOVED
public static final TriggerDefinition.TriggerType DATAREMOVED
The trigger occurs whenever data of a particular type is removed.
-
DATAACCESSED
public static final TriggerDefinition.TriggerType DATAACCESSED
The trigger occurs whenever data of a particular type is accessed.
-
DATAACCESSENDED
public static final TriggerDefinition.TriggerType DATAACCESSENDED
The trigger occurs whenever access to data of a particular type is completed.
-
NULL
public static final TriggerDefinition.TriggerType NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static TriggerDefinition.TriggerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TriggerDefinition.TriggerType c : TriggerDefinition.TriggerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TriggerDefinition.TriggerType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromCode
public static TriggerDefinition.TriggerType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-