Package com.ibm.fhir.model.type.code
Enum MessageSignificanceCategory.ValueSet
- java.lang.Object
-
- java.lang.Enum<MessageSignificanceCategory.ValueSet>
-
- com.ibm.fhir.model.type.code.MessageSignificanceCategory.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<MessageSignificanceCategory.ValueSet>
- Enclosing class:
- MessageSignificanceCategory
public static enum MessageSignificanceCategory.ValueSet extends Enum<MessageSignificanceCategory.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSEQUENCEConsequenceCURRENCYCurrencyNOTIFICATIONNotification
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageSignificanceCategory.ValueSetfrom(String value)Factory method for creating MessageSignificanceCategory.ValueSet values from a passed string value.Stringvalue()static MessageSignificanceCategory.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static MessageSignificanceCategory.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSEQUENCE
public static final MessageSignificanceCategory.ValueSet CONSEQUENCE
ConsequenceThe message represents/requests a change that should not be processed more than once; e.g., making a booking for an appointment.
-
CURRENCY
public static final MessageSignificanceCategory.ValueSet CURRENCY
CurrencyThe message represents a response to query for current information. Retrospective processing is wrong and/or wasteful.
-
NOTIFICATION
public static final MessageSignificanceCategory.ValueSet NOTIFICATION
NotificationThe content is not necessarily intended to be current, and it can be reprocessed, though there may be version issues created by processing old notifications.
-
-
Method Detail
-
values
public static MessageSignificanceCategory.ValueSet[] 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 (MessageSignificanceCategory.ValueSet c : MessageSignificanceCategory.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageSignificanceCategory.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static MessageSignificanceCategory.ValueSet from(String value)
Factory method for creating MessageSignificanceCategory.ValueSet values 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
-
-