Enum Class DispenseSupplyType

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

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

EN: No designation found.
DE: IHE DIS 6.3.4.5.3.4 Code.
FR: No designation found.
IT: No designation found.

Identifier: 2.16.756.5.30.1.127.77.4.11.7
Effective date: 2017-01-10 20:44
Version: 2021
Status: DRAFT

  • Enum Constant Details

    • FIRST_FILL_COMPLETE

      public static final DispenseSupplyType FIRST_FILL_COMPLETE
      EN: First Fill - Complete.
      DE: Erstbefüllung - Voll.
      FR: Premier remplissage - complet.
      IT: Prima consegna - completa.
    • FIRST_FILL_PART_FILL

      public static final DispenseSupplyType FIRST_FILL_PART_FILL
      EN: First Fill - Part Fill.
      DE: Erstbefüllung - Teilbefüllung.
      FR: Premier remplissage - partiel.
      IT: Prima consegna - parziale.
    • REFILL_COMPLETE

      public static final DispenseSupplyType REFILL_COMPLETE
      EN: Refill - Complete.
      DE: Nachfüllung - Voll.
      FR: Prochain remplissage - complet.
      IT: Consegna successiva - completa.
    • REFILL_PART_FILL

      public static final DispenseSupplyType REFILL_PART_FILL
      EN: Refill - Part Fill.
      DE: Nachfüllung - Teilbefüllung.
      FR: Prochain remplissage - partiel.
      IT: Consegna successiva - parziale.
  • Field Details

    • FIRST_FILL_COMPLETE_CODE

      public static final String FIRST_FILL_COMPLETE_CODE
      EN: Code for First Fill - Complete.
      DE: Code für Erstbefüllung - Voll.
      FR: Code de Premier remplissage - complet.
      IT: Code per Prima consegna - completa.
      See Also:
    • FIRST_FILL_PART_FILL_CODE

      public static final String FIRST_FILL_PART_FILL_CODE
      EN: Code for First Fill - Part Fill.
      DE: Code für Erstbefüllung - Teilbefüllung.
      FR: Code de Premier remplissage - partiel.
      IT: Code per Prima consegna - parziale.
      See Also:
    • REFILL_COMPLETE_CODE

      public static final String REFILL_COMPLETE_CODE
      EN: Code for Refill - Complete.
      DE: Code für Nachfüllung - Voll.
      FR: Code de Prochain remplissage - complet.
      IT: Code per Consegna successiva - completa.
      See Also:
    • REFILL_PART_FILL_CODE

      public static final String REFILL_PART_FILL_CODE
      EN: Code for Refill - Part Fill.
      DE: Code für Nachfüllung - Teilbefüllung.
      FR: Code de Prochain remplissage - partiel.
      IT: Code per Consegna successiva - parziale.
      See Also:
    • VALUE_SET_ID

      public static final String VALUE_SET_ID
      Identifier of the value set.
      See Also:
    • VALUE_SET_NAME

      public static final String VALUE_SET_NAME
      Name of the value set.
      See Also:
    • CODE_SYSTEM_ID

      public static final String CODE_SYSTEM_ID
      Identifier of the code system (all values share the same).
      See Also:
  • Method Details

    • values

      public static DispenseSupplyType[] 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 DispenseSupplyType 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 DispenseSupplyType 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.