Class SearchModifierCode

  • All Implemented Interfaces:
    Visitable

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

      • MISSING

        public static final SearchModifierCode MISSING
        Missing

        The search parameter returns resources that have a value or not.

      • EXACT

        public static final SearchModifierCode EXACT
        Exact

        The search parameter returns resources that have a value that exactly matches the supplied parameter (the whole string, including casing and accents).

      • CONTAINS

        public static final SearchModifierCode CONTAINS
        Contains

        The search parameter returns resources that include the supplied parameter value anywhere within the field being searched.

      • NOT

        public static final SearchModifierCode NOT
        Not

        The search parameter returns resources that do not contain a match.

      • TEXT

        public static final SearchModifierCode TEXT
        Text

        The search parameter is processed as a string that searches text associated with the code/value - either CodeableConcept.text, Coding.display, or Identifier.type.text.

      • IN

        public static final SearchModifierCode IN
        In

        The search parameter is a URI (relative or absolute) that identifies a value set, and the search parameter tests whether the coding is in the specified value set.

      • NOT_IN

        public static final SearchModifierCode NOT_IN
        Not In

        The search parameter is a URI (relative or absolute) that identifies a value set, and the search parameter tests whether the coding is not in the specified value set.

      • BELOW

        public static final SearchModifierCode BELOW
        Below

        The search parameter tests whether the value in a resource is subsumed by the specified value (is-a, or hierarchical relationships).

      • ABOVE

        public static final SearchModifierCode ABOVE
        Above

        The search parameter tests whether the value in a resource subsumes the specified value (is-a, or hierarchical relationships).

      • TYPE

        public static final SearchModifierCode TYPE
        Type

        The search parameter only applies to the Resource Type specified as a modifier (e.g. the modifier is not actually : type, but :Patient etc.).

      • IDENTIFIER

        public static final SearchModifierCode IDENTIFIER
        Identifier

        The search parameter applies to the identifier on the resource, not the reference.

      • OF_TYPE

        public static final SearchModifierCode OF_TYPE
        Of Type

        The search parameter has the format system|code|value, where the system and code refer to an Identifier.type.coding. system and .code, and match if any of the type codes match. All 3 parts must be present.

    • Method Detail

      • of

        public static SearchModifierCode of​(String value)
        Factory method for creating SearchModifierCode 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 SearchModifierCode 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 SearchModifierCode 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