Enum CodedContentValidationPolicy
- java.lang.Object
-
- java.lang.Enum<CodedContentValidationPolicy>
-
- org.hl7.fhir.r5.utils.validation.constants.CodedContentValidationPolicy
-
- All Implemented Interfaces:
Serializable,Comparable<CodedContentValidationPolicy>
public enum CodedContentValidationPolicy extends Enum<CodedContentValidationPolicy>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CodedContentValidationPolicyvalueOf(String name)Returns the enum constant of this type with the specified name.static CodedContentValidationPolicy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORE
public static final CodedContentValidationPolicy IGNORE
don't validate the code
-
CODE
public static final CodedContentValidationPolicy CODE
validate the code against the underlying code systems
-
VALUESET
public static final CodedContentValidationPolicy VALUESET
validate the code against the value set too. Note that this isn't much faster than just validating the code since the expensive part is hitting the terminology server (if necessary) and that has to be done for the code part too
-
-
Method Detail
-
values
public static CodedContentValidationPolicy[] 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 (CodedContentValidationPolicy c : CodedContentValidationPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CodedContentValidationPolicy 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
-
-