Package org.hl7.fhir.r5.model
Enum Enumerations.SubscriptionState
- java.lang.Object
-
- java.lang.Enum<Enumerations.SubscriptionState>
-
- org.hl7.fhir.r5.model.Enumerations.SubscriptionState
-
- All Implemented Interfaces:
Serializable,Comparable<Enumerations.SubscriptionState>
- Enclosing class:
- Enumerations
public static enum Enumerations.SubscriptionState extends Enum<Enumerations.SubscriptionState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEThe subscription is active.ENTEREDINERRORThis subscription has been flagged as incorrect.ERRORThe server has an error executing the notification.NULLadded to help the parsersOFFToo many errors have occurred or the subscription has expired.REQUESTEDThe client has requested the subscription, and the server has not yet set it up.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Enumerations.SubscriptionStatefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Enumerations.SubscriptionStatevalueOf(String name)Returns the enum constant of this type with the specified name.static Enumerations.SubscriptionState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUESTED
public static final Enumerations.SubscriptionState REQUESTED
The client has requested the subscription, and the server has not yet set it up.
-
ACTIVE
public static final Enumerations.SubscriptionState ACTIVE
The subscription is active.
-
ERROR
public static final Enumerations.SubscriptionState ERROR
The server has an error executing the notification.
-
OFF
public static final Enumerations.SubscriptionState OFF
Too many errors have occurred or the subscription has expired.
-
ENTEREDINERROR
public static final Enumerations.SubscriptionState ENTEREDINERROR
This subscription has been flagged as incorrect.
-
NULL
public static final Enumerations.SubscriptionState NULL
added to help the parsers
-
-
Method Detail
-
values
public static Enumerations.SubscriptionState[] 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 (Enumerations.SubscriptionState c : Enumerations.SubscriptionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Enumerations.SubscriptionState 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 Enumerations.SubscriptionState fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-