Class XPathUsageType

  • All Implemented Interfaces:
    Visitable

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

      • NORMAL

        public static final XPathUsageType NORMAL
        Normal

        The search parameter is derived directly from the selected nodes based on the type definitions.

      • PHONETIC

        public static final XPathUsageType PHONETIC
        Phonetic

        The search parameter is derived by a phonetic transform from the selected nodes.

      • NEARBY

        public static final XPathUsageType NEARBY
        Nearby

        The search parameter is based on a spatial transform of the selected nodes.

      • DISTANCE

        public static final XPathUsageType DISTANCE
        Distance

        The search parameter is based on a spatial transform of the selected nodes, using physical distance from the middle.

      • OTHER

        public static final XPathUsageType OTHER
        Other

        The interpretation of the xpath statement is unknown (and can't be automated).

    • Method Detail

      • of

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