Enum BindingStrength
- java.lang.Object
-
- java.lang.Enum<BindingStrength>
-
- org.hl7.fhir.r4.model.codesystems.BindingStrength
-
- All Implemented Interfaces:
Serializable,Comparable<BindingStrength>
public enum BindingStrength extends Enum<BindingStrength>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXAMPLEInstances are not expected or even encouraged to draw from the specified value set.EXTENSIBLETo be conformant, the concept in this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated.NULLadded to help the parsersPREFERREDInstances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.REQUIREDTo be conformant, the concept in this element SHALL be from the specified value set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BindingStrengthfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static BindingStrengthvalueOf(String name)Returns the enum constant of this type with the specified name.static BindingStrength[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUIRED
public static final BindingStrength REQUIRED
To be conformant, the concept in this element SHALL be from the specified value set.
-
EXTENSIBLE
public static final BindingStrength EXTENSIBLE
To be conformant, the concept in this element SHALL be from the specified value set if any of the codes within the value set can apply to the concept being communicated. If the value set does not cover the concept (based on human review), alternate codings (or, data type allowing, text) may be included instead.
-
PREFERRED
public static final BindingStrength PREFERRED
Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant.
-
EXAMPLE
public static final BindingStrength EXAMPLE
Instances are not expected or even encouraged to draw from the specified value set. The value set merely provides examples of the types of concepts intended to be included.
-
NULL
public static final BindingStrength NULL
added to help the parsers
-
-
Method Detail
-
values
public static BindingStrength[] 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 (BindingStrength c : BindingStrength.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BindingStrength 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 BindingStrength fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-