Enum Class AvailabilityStatus

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

@Generated("org.ehealth_connector.codegenerator.ch.valuesets.UpdateValueSets") public enum AvailabilityStatus extends Enum<AvailabilityStatus> implements ValueSetEnumInterface
Document availability status. This is not a value set anymore and won't be updated again.
  • Enum Constant Details

    • APPROVED

      public static final AvailabilityStatus APPROVED
      Approved
      genehmigt
      approuvé
      approvato
    • DEPRECATED

      public static final AvailabilityStatus DEPRECATED
      Deprecated
      veraltet
      caduc
      obsoleto
  • Field Details

    • APPROVED_CODE

      public static final String APPROVED_CODE
      Code for Approved
      Code für genehmigt
      Code de approuvé
      Code per approvato
      See Also:
    • DEPRECATED_CODE

      public static final String DEPRECATED_CODE
      Code for Deprecated
      Code für veraltet
      Code de caduc
      Code per obsoleto
      See Also:
    • VALUE_SET_ID

      public static final String VALUE_SET_ID
      Identifier of the value set
      Identifikator für das Value Set
      See Also:
    • VALUE_SET_NAME

      public static final String VALUE_SET_NAME
      Name of the value set
      Name des Value Sets
      See Also:
  • Method Details

    • values

      public static AvailabilityStatus[] 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 AvailabilityStatus 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 AvailabilityStatus getEnum(String code)
      Gets the Enum with a given code
      Liefert den Enum anhand eines gegebenen codes
      Parameters:
      code -
      code
      Returns:
      the enum
    • isEnumOfValueSet

      public static boolean isEnumOfValueSet(String enumName)
      Checks if a given enum is part of this value set.
      Prüft, ob der gegebene enum Teil dieses Value Sets ist.
      Parameters:
      enumName -
      enumName
      Returns:
      true, if enum is in this value set
    • isInValueSet

      public static boolean isInValueSet(String codeValue)
      Checks if a given code value is in this value set.
      Prüft, ob der gegebene code in diesem Value Set vorhanden ist.
      Parameters:
      codeValue -
      code
      Returns:
      true, if is in value set
    • getCodeSystemId

      public String getCodeSystemId()
      Gets the code system identifier.
      Liefert den Code System Identifikator.
      Specified by:
      getCodeSystemId in interface ValueSetEnumInterface
      Returns:
      the code system identifier
    • getCodeSystemName

      public String getCodeSystemName()
      Gets the code system name.
      Liefert den Code System Namen.
      Specified by:
      getCodeSystemName in interface ValueSetEnumInterface
      Returns:
      the code system identifier
    • getCodeValue

      public String getCodeValue()
      Gets the actual Code as string
      Liefert den eigentlichen Code als String
      Specified by:
      getCodeValue in interface ValueSetEnumInterface
      Returns:
      the code
    • getDisplayName

      public String getDisplayName(LanguageCode languageCode)
      Gets the display name defined by the language param. If there is no english translation, the default display name is returned.
      Liefert display name gemäss Parameter, falls es keine Englische Übersetzung gibt, wird der default-Name zurückgegeben.
      Specified by:
      getDisplayName in interface TranslatedEnumInterface
      Parameters:
      languageCode - the language code to get the display name for
      Returns:
      returns the display name in the desired language. if language not found, display name in german will returned
    • getValueSetId

      public String getValueSetId()
      Gets the value set identifier.
      Liefert den Value Set Identifikator.
      Specified by:
      getValueSetId in interface ValueSetEnumInterface
      Returns:
      the value set identifier
    • getValueSetName

      public String getValueSetName()
      Gets the value set name.
      Liefert den Value Set Namen.
      Specified by:
      getValueSetName in interface ValueSetEnumInterface
      Returns:
      the value set name