Package org.projecthusky.common.at.enums
Enum Class 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetCE()
Gets the Code of this Enum as MDHT Object.getCode()
Gets the ehealthconnector Code ObjectGets the code system identifier.Gets the code system name.Gets the code system id.Gets the actual Code as stringGets the display name.getDisplayNameAt
(LanguageCode languageCode) Gets the display name defined by the language parameter.static ConfidentialityCode
Gets the Enum with a given codeGets the value set identifier.Gets the value set name.static boolean
isEnumOfValueSet
(String enumName) Checks if a given enum is part of this value set.static boolean
isInValueSet
(String codeValue) Checks if a given code value is in this value set.static ConfidentialityCode
Returns the enum constant of this class with the specified name.static ConfidentialityCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.projecthusky.common.enums.ValueSetEnumInterface
getCD, getCD, getCE, getCode, getCodedString, getIpfCode, isContainedIn, isEqualTo, name
Methods inherited from interface org.projecthusky.common.at.enums.ValueSetEnumInterfaceAt
getDisplayName, getHl7cdar2CE
-
Enum Constant Details
-
LOW
-
NORMAL
-
RESTRICTED
-
VERY_RESTRICTED
-
-
Field Details
-
VALUE_SET_ID
The Constant CODE_SYSTEM_NAME.- See Also:
-
VALUE_SET_NAME
- See Also:
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getEnum
Gets the Enum with a given code- Parameters:
code
-- Returns:
- the enum
-
isEnumOfValueSet
Checks if a given enum is part of this value set.- Parameters:
enumName
- enumName- Returns:
- true, if enum is in this value set
-
isInValueSet
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
Gets the Code of this Enum as MDHT Object.- Specified by:
getCE
in interfaceValueSetEnumInterface
- Returns:
- The MDHT Code
-
getCode
Gets the ehealthconnector Code Object- Specified by:
getCode
in interfaceValueSetEnumInterface
- Returns:
- the code
-
getCodeSystemId
Description copied from interface:ValueSetEnumInterface
Gets the code system identifier.- Specified by:
getCodeSystemId
in interfaceValueSetEnumInterface
- Returns:
- the code system identifier.
-
getCodeSystemName
Gets the code system name.- Specified by:
getCodeSystemName
in interfaceValueSetEnumInterface
- Returns:
- the code system name
-
getCodeSystemOid
Gets the code system id.- Returns:
- the code system id
-
getCodeValue
Gets the actual Code as string- Specified by:
getCodeValue
in interfaceValueSetEnumInterface
- Returns:
- the code
-
getDisplayName
Gets the display name.- Specified by:
getDisplayName
in interfaceTranslatedEnumInterface
- Specified by:
getDisplayName
in interfaceValueSetEnumInterfaceAt
- Returns:
- the display name
-
getDisplayNameAt
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 interfaceValueSetEnumInterfaceAt
- 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
Description copied from interface:ValueSetEnumInterface
Gets the value set identifier.- Specified by:
getValueSetId
in interfaceValueSetEnumInterface
- Returns:
- the value set identifier.
-
getValueSetName
Description copied from interface:ValueSetEnumInterface
Gets the value set name.- Specified by:
getValueSetName
in interfaceValueSetEnumInterface
- Returns:
- the value set name.
-