public enum ConstraintSeverityEnum extends Enum<ConstraintSeverityEnum>
Enum Constant and Description |
---|
ERROR
Display: Error
Code Value: error If the constraint is violated, the resource is not conformant. |
WARNING
Display: Warning
Code Value: warning If the constraint is violated, the resource is conformant, but it is not necessarily following best practice. |
Modifier and Type | Field and Description |
---|---|
static IValueSetEnumBinder<ConstraintSeverityEnum> |
VALUESET_BINDER
Converts codes to their respective enumerated values
|
static String |
VALUESET_IDENTIFIER
Identifier for this Value Set:
|
static String |
VALUESET_NAME
Name for this Value Set:
ConstraintSeverity
|
Modifier and Type | Method and Description |
---|---|
static ConstraintSeverityEnum |
forCode(String theCode)
Returns the enumerated value associated with this code
|
String |
getCode()
Returns the code associated with this enumerated value
|
String |
getSystem()
Returns the code system associated with this enumerated value
|
static ConstraintSeverityEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintSeverityEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintSeverityEnum ERROR
public static final ConstraintSeverityEnum WARNING
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<ConstraintSeverityEnum> VALUESET_BINDER
public static ConstraintSeverityEnum[] values()
for (ConstraintSeverityEnum c : ConstraintSeverityEnum.values()) System.out.println(c);
public static ConstraintSeverityEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getCode()
public String getSystem()
public static ConstraintSeverityEnum forCode(String theCode)
Copyright © 2014–2019 University Health Network. All rights reserved.