Enum IdentifierUseEnum

java.lang.Object
java.lang.Enum<IdentifierUseEnum>
ca.uhn.fhir.model.dstu2.valueset.IdentifierUseEnum
All Implemented Interfaces:
Serializable, Comparable<IdentifierUseEnum>, java.lang.constant.Constable

  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Display: Official
    Code Value: official The identifier considered to be most trusted for the identification of this item.
    Display: Secondary
    Code Value: 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.
    Display: Temp
    Code Value: temp A temporary identifier.
    Display: Usual
    Code Value: usual The identifier recommended for display and use in real-world interactions.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static ca.uhn.fhir.model.api.IValueSetEnumBinder<IdentifierUseEnum>
    Converts codes to their respective enumerated values
    static String
    Identifier for this Value Set:
    static String
    Name for this Value Set: IdentifierUse
  • Method Summary

    Modifier and Type
    Method
    Description
    forCode​(String theCode)
    Returns the enumerated value associated with this code
    Returns the code associated with this enumerated value
    Returns the code system associated with this enumerated value
    valueOf​(String name)
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • USUAL

      public static final IdentifierUseEnum USUAL
      Display: Usual
      Code Value: usual The identifier recommended for display and use in real-world interactions.
    • OFFICIAL

      public static final IdentifierUseEnum OFFICIAL
      Display: Official
      Code Value: official The identifier considered to be most trusted for the identification of this item.
    • TEMP

      public static final IdentifierUseEnum TEMP
      Display: Temp
      Code Value: temp A temporary identifier.
    • SECONDARY

      public static final IdentifierUseEnum SECONDARY
      Display: Secondary
      Code Value: 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.
  • Field Details

  • Method Details

    • values

      public static IdentifierUseEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static IdentifierUseEnum 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
    • getCode

      public String getCode()
      Returns the code associated with this enumerated value
    • getSystem

      public String getSystem()
      Returns the code system associated with this enumerated value
    • forCode

      public static IdentifierUseEnum forCode(String theCode)
      Returns the enumerated value associated with this code