Enum Class ConfidentialityCode

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

@Generated(value="org.projecthusky.codegenerator.ch.valuesets.UpdateValueSets", date="2023-05-10") public enum ConfidentialityCode extends Enum<ConfidentialityCode> implements ValueSetEnumInterface
Enumeration of DocumentEntry.confidentialityCode values

EN: Document confidentiality as per Annex; EPRO-FDHA.
DE: Vertraulichkeitsstufe gemäss Anhang 3 EPDV-EDI.
FR: Niveau de confidentialité selon l'annexe 3 ODEP-DFI.
IT: Grado di riservatezza secondo l'allegato 3 OCIP-DFI.

Identifier: 2.16.756.5.30.1.127.3.10.1.5
Effective date: 2021-04-01 17:05
Version: 202104.0-stable
Status: DEPRECATED

  • Enum Constant Details

    • NORMALLY_ACCESSIBLE

      public static final ConfidentialityCode NORMALLY_ACCESSIBLE
      EN: Normally accessible.
      DE: Normal zugängliche Dokumente.
      FR: Normal.
      IT: Dati normalmente accessibili.
    • RESTRICTED_ACCESSIBLE

      public static final ConfidentialityCode RESTRICTED_ACCESSIBLE
      EN: Restricted accessible.
      DE: Eingeschränkt zugängliche Dokumente.
      FR: Restreint.
      IT: Dati limitatamente accessibili.
    • SECRET

      public static final ConfidentialityCode SECRET
      EN: Secret.
      DE: Geheime Dokumente.
      FR: Secret.
      IT: Dati segreti.
  • Field Details

    • NORMALLY_ACCESSIBLE_CODE

      public static final String NORMALLY_ACCESSIBLE_CODE
      EN: Code for Normally accessible.
      DE: Code für Normal zugängliche Dokumente.
      FR: Code de Normal.
      IT: Code per Dati normalmente accessibili.
      See Also:
    • RESTRICTED_ACCESSIBLE_CODE

      public static final String RESTRICTED_ACCESSIBLE_CODE
      EN: Code for Restricted accessible.
      DE: Code für Eingeschränkt zugängliche Dokumente.
      FR: Code de Restreint.
      IT: Code per Dati limitatamente accessibili.
      See Also:
    • SECRET_CODE

      public static final String SECRET_CODE
      EN: Code for Secret.
      DE: Code für Geheime Dokumente.
      FR: Code de Secret.
      IT: Code per Dati segreti.
      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:
  • Method Details

    • values

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