Package com.ibm.fhir.model.type.code
Class BindingStrength
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.BindingStrength
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class BindingStrength extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBindingStrength.Builderstatic classBindingStrength.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static BindingStrengthEXAMPLEExamplestatic BindingStrengthEXTENSIBLEExtensiblestatic BindingStrengthPREFERREDPreferredstatic BindingStrengthREQUIREDRequired
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BindingStrength.Builderbuilder()static Codecode(String value)Inherited factory method for creating BindingStrength objects from a passed string value.booleanequals(Object obj)BindingStrength.ValueSetgetValueAsEnumConstant()inthashCode()static BindingStrengthof(BindingStrength.ValueSet value)Factory method for creating BindingStrength objects from a passed enum value.static BindingStrengthof(String value)Factory method for creating BindingStrength objects from a passed string value.static Stringstring(String value)Inherited factory method for creating BindingStrength objects from a passed string value.BindingStrength.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
REQUIRED
public static final BindingStrength REQUIRED
RequiredTo be conformant, the concept in this element SHALL be from the specified value set.
-
EXTENSIBLE
public static final BindingStrength EXTENSIBLE
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. 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
PreferredInstances 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
ExampleInstances 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.
-
-
Method Detail
-
getValueAsEnumConstant
public BindingStrength.ValueSet getValueAsEnumConstant()
-
of
public static BindingStrength of(BindingStrength.ValueSet value)
Factory method for creating BindingStrength objects from a passed enum value.
-
of
public static BindingStrength of(String value)
Factory method for creating BindingStrength objects 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
-
string
public static String string(String value)
Inherited factory method for creating BindingStrength objects 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
-
code
public static Code code(String value)
Inherited factory method for creating BindingStrength objects 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
-
toBuilder
public BindingStrength.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static BindingStrength.Builder builder()
-
-