Enum Class ConfidentialityCode

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

public enum ConfidentialityCode extends Enum<ConfidentialityCode> implements ValueSetEnumInterfaceAt
The Enum ConfidentialityCode contains the codes of the HL7 Vocabulary.
  • Enum Constant Details

  • Field Details

  • 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 ConfidentialityCode getEnum(String code)
      Gets the Enum with a given code
      Parameters:
      code -
      Returns:
      the enum
    • isEnumOfValueSet

      public static boolean isEnumOfValueSet(String enumName)
      Checks if a given enum is part of this value set.
      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.
      Parameters:
      codeValue -
      Returns:
      true, if one enum of this valueset contains the given code
    • getCE

      public CE getCE()
      Gets the Code of this Enum as MDHT Object.
      Specified by:
      getCE in interface ValueSetEnumInterface
      Returns:
      The MDHT Code
    • getCode

      public Code getCode()
      Gets the ehealthconnector Code Object
      Specified by:
      getCode in interface ValueSetEnumInterface
      Returns:
      the code
    • getCodeSystemId

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

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

      public String getCodeSystemOid()
      Gets the code system id.
      Returns:
      the code system id
    • getCodeValue

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

      public String getDisplayName()
      Gets the display name.
      Specified by:
      getDisplayName in interface TranslatedEnumInterface
      Specified by:
      getDisplayName in interface ValueSetEnumInterfaceAt
      Returns:
      the display name
    • getDisplayNameAt

      public String getDisplayNameAt(LanguageCode languageCode)
      Description copied from interface: ValueSetEnumInterfaceAt
      Gets the display name defined by the language parameter. If the language is unknown, german name is returned
      Specified by:
      getDisplayNameAt in interface ValueSetEnumInterfaceAt
      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()
      Description copied from interface: ValueSetEnumInterface
      Gets the value set identifier.
      Specified by:
      getValueSetId in interface ValueSetEnumInterface
      Returns:
      the value set identifier.
    • getValueSetName

      public String getValueSetName()
      Description copied from interface: ValueSetEnumInterface
      Gets the value set name.
      Specified by:
      getValueSetName in interface ValueSetEnumInterface
      Returns:
      the value set name.