Enum SystemVersionProcessingMode
- java.lang.Object
-
- java.lang.Enum<SystemVersionProcessingMode>
-
- org.hl7.fhir.dstu3.model.codesystems.SystemVersionProcessingMode
-
- All Implemented Interfaces:
Serializable,Comparable<SystemVersionProcessingMode>
public enum SystemVersionProcessingMode extends Enum<SystemVersionProcessingMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKUse this version of the code system.DEFAULTUse this version of the code system if a value set doesn't specify a versionNULLadded to help the parsersOVERRIDEUse this version of the code system irrespective of which version is specified by a value set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SystemVersionProcessingModefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static SystemVersionProcessingModevalueOf(String name)Returns the enum constant of this type with the specified name.static SystemVersionProcessingMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final SystemVersionProcessingMode DEFAULT
Use this version of the code system if a value set doesn't specify a version
-
CHECK
public static final SystemVersionProcessingMode CHECK
Use this version of the code system. If a value set specifies a different version, the expansion operation should fail
-
OVERRIDE
public static final SystemVersionProcessingMode OVERRIDE
Use this version of the code system irrespective of which version is specified by a value set. Note that this has obvious safety issues, in that it may result in a value set expansion giving a different list of codes that is both wrong and unsafe, and implementers should only use this capability reluctantly. It primarily exists to deal with situations where specifications have fallen into decay as time passes. If a version is override, the version used SHALL explicitly be represented in the expansion parameters
-
NULL
public static final SystemVersionProcessingMode NULL
added to help the parsers
-
-
Method Detail
-
values
public static SystemVersionProcessingMode[] 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 (SystemVersionProcessingMode c : SystemVersionProcessingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemVersionProcessingMode 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 SystemVersionProcessingMode fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-