Enum SearchParamType

    • Enum Constant Detail

      • NUMBER

        public static final SearchParamType NUMBER
        Search parameter SHALL be a number (a whole number, or a decimal).
      • DATE

        public static final SearchParamType DATE
        Search parameter is on a date/time. The date format is the standard XML format, though other formats may be supported.
      • STRING

        public static final SearchParamType STRING
        Search parameter is a simple string, like a name part. Search is case-insensitive and accent-insensitive. May match just the start of a string. String parameters may contain spaces.
      • TOKEN

        public static final SearchParamType TOKEN
        Search parameter on a coded element or identifier. May be used to search through the text, displayname, code and code/codesystem (for codes) and label, system and key (for identifier). Its value is either a string or a pair of namespace and value, separated by a "|", depending on the modifier used.
      • COMPOSITE

        public static final SearchParamType COMPOSITE
        A composite search parameter that combines a search on two values together.
      • URI

        public static final SearchParamType URI
        A search parameter that searches on a URI (RFC 3986).
    • Method Detail

      • values

        public static SearchParamType[] 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 (SearchParamType c : SearchParamType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SearchParamType 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 name
        NullPointerException - if the argument is null
      • fromCode

        public static SearchParamType fromCode​(String codeString)
                                        throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException