Class IdentifierUse

  • All Implemented Interfaces:
    Visitable

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

      • USUAL

        public static final IdentifierUse USUAL
        Usual

        The identifier recommended for display and use in real-world interactions.

      • OFFICIAL

        public static final IdentifierUse OFFICIAL
        Official

        The identifier considered to be most trusted for the identification of this item. Sometimes also known as "primary" and "main". The determination of "official" is subjective and implementation guides often provide additional guidelines for use.

      • TEMP

        public static final IdentifierUse TEMP
        Temp

        A temporary identifier.

      • SECONDARY

        public static final IdentifierUse SECONDARY
        Secondary

        An identifier that was assigned in secondary use - it serves to identify the object in a relative context, but cannot be consistently assigned to the same object again in a different context.

      • OLD

        public static final IdentifierUse OLD
        Old

        The identifier id no longer considered valid, but may be relevant for search purposes. E.g. Changes to identifier schemes, account merges, etc.

    • Method Detail

      • of

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