Enum Class NullFlavor

java.lang.Object
java.lang.Enum<NullFlavor>
org.projecthusky.common.enums.NullFlavor
All Implemented Interfaces:
Serializable, Comparable<NullFlavor>, Constable, CodedMetadataEnumInterface, TranslatedEnumInterface, ValueSetEnumInterface

@Generated(value="org.projecthusky.codegenerator.ch.valuesets.UpdateValueSets", date="2022-04-19") public enum NullFlavor extends Enum<NullFlavor> implements ValueSetEnumInterface
Enumeration of NullFlavor values

EN:

History description 2014-03-26: Lock all vaue sets untouched since 2014-03-26 to trackingId 2014T1_2014_03_26

.
DE: No designation found.
FR: No designation found.
IT: No designation found.

Identifier: 2.16.840.1.113883.1.11.10609
Effective date: 2014-03-26 00:00
Version: DEFN=UV=VO=1360-20160323
Status: FINAL

  • Enum Constant Details

    • ASKED_BUT_UNKNOWN_L2

      public static final NullFlavor ASKED_BUT_UNKNOWN_L2
      EN: asked but unknown.
    • DERIVED_L2

      public static final NullFlavor DERIVED_L2
      EN: derived.
    • INVALID_L1

      public static final NullFlavor INVALID_L1
      EN: invalid.
    • MASKED_L1

      public static final NullFlavor MASKED_L1
      EN: masked.
    • NEGATIVE_INFINITY_L3

      public static final NullFlavor NEGATIVE_INFINITY_L3
      EN: negative infinity.
    • NOINFORMATION

      public static final NullFlavor NOINFORMATION
      EN: NoInformation.
    • NOT_APPLICABLE_L1

      public static final NullFlavor NOT_APPLICABLE_L1
      EN: not applicable.
    • NOT_ASKED_L2

      public static final NullFlavor NOT_ASKED_L2
      EN: not asked.
    • NOT_AVAILABLE_L2

      public static final NullFlavor NOT_AVAILABLE_L2
      EN: Not available.
    • OTHER_L2

      public static final NullFlavor OTHER_L2
      EN: other.
    • POSITIVE_INFINITY_L3

      public static final NullFlavor POSITIVE_INFINITY_L3
      EN: positive infinity.
    • SUFFICIENT_QUANTITY_L2

      public static final NullFlavor SUFFICIENT_QUANTITY_L2
      EN: Sufficient Quantity.
    • TEMPORARILY_UNAVAILABLE_L3

      public static final NullFlavor TEMPORARILY_UNAVAILABLE_L3
      EN: temporarily unavailable.
    • TRACE_L2

      public static final NullFlavor TRACE_L2
      EN: trace.
    • UNKNOWN_L1

      public static final NullFlavor UNKNOWN_L1
      EN: unknown.
    • UN_ENCODED_L2

      public static final NullFlavor UN_ENCODED_L2
      EN: un-encoded.
  • Field Details

  • Method Details

    • values

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

      public static NullFlavor valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getEnum

      public static @Nullable NullFlavor getEnum(@Nullable String code)
      Gets the Enum with a given code.
      Parameters:
      code - The code value.
      Returns:
      the enum value found or null.
    • isEnumOfValueSet

      public static boolean isEnumOfValueSet(@Nullable String enumName)
      Checks if a given enum is part of this value set.
      Parameters:
      enumName - The name of the enum.
      Returns:
      true if the name is found in this value set, false otherwise.
    • isInValueSet

      public static boolean isInValueSet(@Nullable String codeValue)
      Checks if a given code value is in this value set.
      Parameters:
      codeValue - The code value.
      Returns:
      true if the value is found in this value set, false otherwise.
    • getCodeSystemId

      public @NonNull String getCodeSystemId()
      Gets the code system identifier.
      Specified by:
      getCodeSystemId in interface ValueSetEnumInterface
      Returns:
      the code system identifier.
    • getCodeSystemName

      public @NonNull String getCodeSystemName()
      Gets the code system name.
      Specified by:
      getCodeSystemName in interface ValueSetEnumInterface
      Returns:
      the code system name.
    • getCodeValue

      public @NonNull String getCodeValue()
      Gets the code value as a string.
      Specified by:
      getCodeValue in interface ValueSetEnumInterface
      Returns:
      the code value.
    • getDisplayName

      public @NonNull String getDisplayName(@Nullable LanguageCode languageCode)
      Gets the display name defined by the language param.
      Specified by:
      getDisplayName in interface TranslatedEnumInterface
      Parameters:
      languageCode - The language code to get the display name for, null to get the default display name.
      Returns:
      the display name in the desired language.
    • getValueSetId

      public @NonNull String getValueSetId()
      Gets the value set identifier.
      Specified by:
      getValueSetId in interface ValueSetEnumInterface
      Returns:
      the value set identifier.
    • getValueSetName

      public @NonNull String getValueSetName()
      Gets the value set name.
      Specified by:
      getValueSetName in interface ValueSetEnumInterface
      Returns:
      the value set name.