Enum V3SubstitutionCondition
- java.lang.Object
-
- java.lang.Enum<V3SubstitutionCondition>
-
- org.hl7.fhir.r4.model.codesystems.V3SubstitutionCondition
-
- All Implemented Interfaces:
Serializable,Comparable<V3SubstitutionCondition>
public enum V3SubstitutionCondition extends Enum<V3SubstitutionCondition>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description _CONDITIONALSome conditions may be attached to an allowable substitution.CONFIRMConfirmation with Contact Person prior to making any substitutions has or will occur.NOSUBSubstitution is not permitted.NOTIFYNotification to the Contact Person, prior to substitution and through normal institutional procedures, has or will be made.NULLadded to help the parsersUNCONDNo conditions are required.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static V3SubstitutionConditionfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static V3SubstitutionConditionvalueOf(String name)Returns the enum constant of this type with the specified name.static V3SubstitutionCondition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_CONDITIONAL
public static final V3SubstitutionCondition _CONDITIONAL
Some conditions may be attached to an allowable substitution. An allowable substitution is based on a match to any other attributes that may be specified.
-
CONFIRM
public static final V3SubstitutionCondition CONFIRM
Confirmation with Contact Person prior to making any substitutions has or will occur.
-
NOTIFY
public static final V3SubstitutionCondition NOTIFY
Notification to the Contact Person, prior to substitution and through normal institutional procedures, has or will be made.
-
NOSUB
public static final V3SubstitutionCondition NOSUB
Substitution is not permitted.
-
UNCOND
public static final V3SubstitutionCondition UNCOND
No conditions are required.
-
NULL
public static final V3SubstitutionCondition NULL
added to help the parsers
-
-
Method Detail
-
values
public static V3SubstitutionCondition[] 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 (V3SubstitutionCondition c : V3SubstitutionCondition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static V3SubstitutionCondition 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 V3SubstitutionCondition fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-