Class BindingStrength

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class BindingStrength
    extends Code
    • Field Detail

      • REQUIRED

        public static final BindingStrength REQUIRED
        Required

        To be conformant, the concept in this element SHALL be from the specified value set.

      • EXTENSIBLE

        public static final BindingStrength EXTENSIBLE
        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
        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
        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.

    • Method Detail

      • 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
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code