Package org.hl7.fhir.dstu3.model
Enum ExpansionProfile.SystemVersionProcessingMode
- java.lang.Object
-
- java.lang.Enum<ExpansionProfile.SystemVersionProcessingMode>
-
- org.hl7.fhir.dstu3.model.ExpansionProfile.SystemVersionProcessingMode
-
- All Implemented Interfaces:
Serializable,Comparable<ExpansionProfile.SystemVersionProcessingMode>
- Enclosing class:
- ExpansionProfile
public static enum ExpansionProfile.SystemVersionProcessingMode extends Enum<ExpansionProfile.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 parsers with the generic typesOVERRIDEUse 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 ExpansionProfile.SystemVersionProcessingModefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static ExpansionProfile.SystemVersionProcessingModevalueOf(String name)Returns the enum constant of this type with the specified name.static ExpansionProfile.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 ExpansionProfile.SystemVersionProcessingMode DEFAULT
Use this version of the code system if a value set doesn't specify a version
-
CHECK
public static final ExpansionProfile.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 ExpansionProfile.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 ExpansionProfile.SystemVersionProcessingMode NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static ExpansionProfile.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 (ExpansionProfile.SystemVersionProcessingMode c : ExpansionProfile.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 ExpansionProfile.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 ExpansionProfile.SystemVersionProcessingMode fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-