Enum ReferenceHandlingPolicy.ValueSet
- java.lang.Object
-
- java.lang.Enum<ReferenceHandlingPolicy.ValueSet>
-
- com.ibm.fhir.model.type.code.ReferenceHandlingPolicy.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<ReferenceHandlingPolicy.ValueSet>
- Enclosing class:
- ReferenceHandlingPolicy
public static enum ReferenceHandlingPolicy.ValueSet extends Enum<ReferenceHandlingPolicy.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReferenceHandlingPolicy.ValueSetfrom(String value)Factory method for creating ReferenceHandlingPolicy.ValueSet values from a passed string value.Stringvalue()static ReferenceHandlingPolicy.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static ReferenceHandlingPolicy.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LITERAL
public static final ReferenceHandlingPolicy.ValueSet LITERAL
Literal ReferencesThe server supports and populates Literal references (i.e. using Reference.reference) where they are known (this code does not guarantee that all references are literal; see 'enforced').
-
LOGICAL
public static final ReferenceHandlingPolicy.ValueSet LOGICAL
Logical ReferencesThe server allows logical references (i.e. using Reference.identifier).
-
RESOLVES
public static final ReferenceHandlingPolicy.ValueSet RESOLVES
Resolves ReferencesThe server will attempt to resolve logical references to literal references - i.e. converting Reference.identifier to Reference.reference (if resolution fails, the server may still accept resources; see logical).
-
ENFORCED
public static final ReferenceHandlingPolicy.ValueSet ENFORCED
Reference Integrity EnforcedThe server enforces that references have integrity - e.g. it ensures that references can always be resolved. This is typically the case for clinical record systems, but often not the case for middleware/proxy systems.
-
LOCAL
public static final ReferenceHandlingPolicy.ValueSet LOCAL
Local References OnlyThe server does not support references that point to other servers.
-
-
Method Detail
-
values
public static ReferenceHandlingPolicy.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 (ReferenceHandlingPolicy.ValueSet c : ReferenceHandlingPolicy.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 ReferenceHandlingPolicy.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 ReferenceHandlingPolicy.ValueSet from(String value)
Factory method for creating ReferenceHandlingPolicy.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
-
-