Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Gets the code system identifier.
Liefert den Code System Identifikator.
Gets the code system name.
Liefert den Code System Namen.
Gets the actual Code as string
Liefert den eigentlichen Code als String
Gets the display name defined by the language param.
Gets the Enum with a given code
Liefert den Enum anhand eines gegebenen codes
Gets the value set identifier.
Liefert den Value Set Identifikator.
Gets the value set name.
Liefert den Value Set Namen.
static boolean
Checks if a given enum is part of this value set.
Prüft, ob der angegebene enum Teil dieses Value Sets ist.
static boolean
Checks if a given code value is in this value set.
Prüft, ob der angegebene code in diesem Value Set vorhanden ist.
Returns the enum constant of this class with the specified name.
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 , getCE , getCode , getCode , getCodedString , getIpfCode , isContainedIn , isEqualTo , name
Field Details
BRIEFTEXT_CODE
public static final String BRIEFTEXT_CODE
See Also:
ABBEM_CODE
public static final String ABBEM_CODE
See Also:
BEILAGEN_CODE
public static final String BEILAGEN_CODE
See Also:
ALERT_CODE
public static final String ALERT_CODE
See Also:
DISCHARGE_MEDICATION_CODE
public static final String DISCHARGE_MEDICATION_CODE
See Also:
ALLERGIES_CODE
public static final String ALLERGIES_CODE
See Also:
CHIEF_COMPLAINT_CODE
public static final String CHIEF_COMPLAINT_CODE
See Also:
VALUE_SET_ID
public static final String VALUE_SET_ID
See Also:
VALUE_SET_NAME
public static final String 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 name
NullPointerException
- if the argument is null
getEnum
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 angegebene 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 angegebene 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
getDisplayName
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
Gets the value set identifier.
Liefert den Value Set Identifikator.
Specified by:
getValueSetId
in interface ValueSetEnumInterface
Returns:
the value set identifier