Package org.projecthusky.common.enums
Enum Class NullFlavor
- All Implemented Interfaces:
Serializable
,Comparable<NullFlavor>
,Constable
,CodedMetadataEnumInterface
,TranslatedEnumInterface
,ValueSetEnumInterface
@Generated(value="org.projecthusky.codegenerator.ch.valuesets.UpdateValueSets",
date="2022-04-19")
public enum NullFlavor
extends Enum<NullFlavor>
implements ValueSetEnumInterface
Enumeration of NullFlavor values
DE: No designation found.
FR: No designation found.
IT: No designation found.
EN:
History description 2014-03-26: Lock all vaue sets untouched since 2014-03-26 to trackingId 2014T1_2014_03_26
.DE: No designation found.
FR: No designation found.
IT: No designation found.
Identifier: 2.16.840.1.113883.1.11.10609
Effective date: 2014-03-26 00:00
Version: DEFN=UV=VO=1360-20160323
Status: FINAL
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEN: asked but unknown.EN: derived.EN: invalid.EN: masked.EN: negative infinity.EN: NoInformation.EN: not applicable.EN: not asked.EN: Not available.EN: other.EN: positive infinity.EN: Sufficient Quantity.EN: temporarily unavailable.EN: trace.EN: un-encoded.EN: unknown. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
EN: Code for asked but unknown.static final String
Identifier of the code system (all values share the same).static final String
EN: Code for derived.static final String
EN: Code for invalid.static final String
EN: Code for masked.static final String
EN: Code for negative infinity.static final String
EN: Code for NoInformation.static final String
EN: Code for not applicable.static final String
EN: Code for not asked.static final String
EN: Code for Not available.static final String
EN: Code for other.static final String
EN: Code for positive infinity.static final String
EN: Code for Sufficient Quantity.static final String
EN: Code for temporarily unavailable.static final String
EN: Code for trace.static final String
EN: Code for un-encoded.static final String
EN: Code for unknown.static final String
Identifier of the value set.static final String
Name of the value set. -
Method Summary
Modifier and TypeMethodDescription@NonNull String
Gets the code system identifier.@NonNull String
Gets the code system name.@NonNull String
Gets the code value as a string.@NonNull String
getDisplayName
(@Nullable LanguageCode languageCode) Gets the display name defined by the language param.static @Nullable NullFlavor
Gets the Enum with a given code.@NonNull String
Gets the value set identifier.@NonNull String
Gets the value set name.static boolean
isEnumOfValueSet
(@Nullable String enumName) Checks if a given enum is part of this value set.static boolean
isInValueSet
(@Nullable String codeValue) Checks if a given code value is in this value set.static NullFlavor
Returns the enum constant of this class with the specified name.static NullFlavor[]
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.TranslatedEnumInterface
getDisplayName
Methods inherited from interface org.projecthusky.common.enums.ValueSetEnumInterface
getCD, getCD, getCE, getCE, getCode, getCode, getCodedString, getIpfCode, isContainedIn, isEqualTo, name
-
Enum Constant Details
-
ASKED_BUT_UNKNOWN_L2
EN: asked but unknown. -
DERIVED_L2
EN: derived. -
INVALID_L1
EN: invalid. -
MASKED_L1
EN: masked. -
NEGATIVE_INFINITY_L3
EN: negative infinity. -
NOINFORMATION
EN: NoInformation. -
NOT_APPLICABLE_L1
EN: not applicable. -
NOT_ASKED_L2
EN: not asked. -
NOT_AVAILABLE_L2
EN: Not available. -
OTHER_L2
EN: other. -
POSITIVE_INFINITY_L3
EN: positive infinity. -
SUFFICIENT_QUANTITY_L2
EN: Sufficient Quantity. -
TEMPORARILY_UNAVAILABLE_L3
EN: temporarily unavailable. -
TRACE_L2
EN: trace. -
UNKNOWN_L1
EN: unknown. -
UN_ENCODED_L2
EN: un-encoded.
-
-
Field Details
-
ASKED_BUT_UNKNOWN_L2_CODE
EN: Code for asked but unknown.- See Also:
-
DERIVED_L2_CODE
EN: Code for derived.- See Also:
-
INVALID_L1_CODE
EN: Code for invalid.- See Also:
-
MASKED_L1_CODE
EN: Code for masked.- See Also:
-
NEGATIVE_INFINITY_L3_CODE
EN: Code for negative infinity.- See Also:
-
NOINFORMATION_CODE
EN: Code for NoInformation.- See Also:
-
NOT_APPLICABLE_L1_CODE
EN: Code for not applicable.- See Also:
-
NOT_ASKED_L2_CODE
EN: Code for not asked.- See Also:
-
NOT_AVAILABLE_L2_CODE
EN: Code for Not available.- See Also:
-
OTHER_L2_CODE
EN: Code for other.- See Also:
-
POSITIVE_INFINITY_L3_CODE
EN: Code for positive infinity.- See Also:
-
SUFFICIENT_QUANTITY_L2_CODE
EN: Code for Sufficient Quantity.- See Also:
-
TEMPORARILY_UNAVAILABLE_L3_CODE
EN: Code for temporarily unavailable.- See Also:
-
TRACE_L2_CODE
EN: Code for trace.- See Also:
-
UNKNOWN_L1_CODE
EN: Code for unknown.- See Also:
-
UN_ENCODED_L2_CODE
EN: Code for un-encoded.- See Also:
-
VALUE_SET_ID
Identifier of the value set.- See Also:
-
VALUE_SET_NAME
Name of the value set.- See Also:
-
CODE_SYSTEM_ID
Identifier of the code system (all values share the same).- 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
- The code value.- Returns:
- the enum value found or
null
.
-
isEnumOfValueSet
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
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
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.
-
getCodeValue
Gets the code value as a string.- Specified by:
getCodeValue
in interfaceValueSetEnumInterface
- Returns:
- the code value.
-
getDisplayName
Gets the display name defined by the language param.- Specified by:
getDisplayName
in interfaceTranslatedEnumInterface
- 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
Gets the value set identifier.- Specified by:
getValueSetId
in interfaceValueSetEnumInterface
- Returns:
- the value set identifier.
-
getValueSetName
Gets the value set name.- Specified by:
getValueSetName
in interfaceValueSetEnumInterface
- Returns:
- the value set name.
-