Package org.projecthusky.common.at.enums
Enum Class AuthorRole
- All Implemented Interfaces:
Serializable
,Comparable<AuthorRole>
,Constable
,ValueSetEnumInterfaceAt
,CodedMetadataEnumInterface
,TranslatedEnumInterface
,ValueSetEnumInterface
-
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
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Identifier of the value setstatic final String
Name of the value set -
Method Summary
Modifier and TypeMethodDescriptionGets the code system identifier.Gets the code system name.Gets the actual Code as stringgetDisplayNameAt
(LanguageCode languageCode) Gets the display name defined by the language param.static AuthorRole
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 AuthorRole
Returns the enum constant of this class with the specified name.static AuthorRole[]
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, getCE, getCode, getCode, getCodedString, getIpfCode, isContainedIn, isEqualTo, name
Methods inherited from interface org.projecthusky.common.at.enums.ValueSetEnumInterfaceAt
getDisplayName, getDisplayName, getHl7cdar2CE
-
Enum Constant Details
-
DENTIST
-
HOSPITAL
-
PHARMACIST
-
PHYSICIAN
-
CARE_HOME
-
ELGA_CONSULTING
-
ELGA_OFFICE_OF_OMBUDSMAN
-
ELGA_OBJECTION_OFFICE
-
ELGA_RULES_ADMINISTRATOR
-
ELGA_SECURITY_ADMINISTRATOR
-
ELGA_PARTICIPANT
-
AUTHORIZED_ELGA_PARTICIPANT
-
-
Field Details
-
PHYSICIAN_CODE
- See Also:
-
DENTIST_CODE
- See Also:
-
HOSPITAL_CODE
- See Also:
-
CARE_HOME_CODE
- See Also:
-
PHARMACY_CODE
- See Also:
-
ELGA_CONSULTING_CODE
- See Also:
-
ELGA_OFFICE_OF_OMBUDSMAN_CODE
- See Also:
-
ELGA_OBJECTION_OFFICE_CODE
- See Also:
-
ELGA_RULES_ADMINISTRATOR_CODE
- See Also:
-
ELGA_SECURITY_ADMINISTRATOR_CODE
- See Also:
-
ELGA_PARTICIPANT_CODE
- See Also:
-
AUTHORIZED_ELGA_PARTICIPANT_CODE
- See Also:
-
VALUE_SET_ID
Identifier of the value set- See Also:
-
VALUE_SET_NAME
Name of the value set- 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 is in value set
-
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 identifier
-
getCodeValue
Gets the actual Code as string- Specified by:
getCodeValue
in interfaceValueSetEnumInterface
- Returns:
- the code
-
getDisplayNameAt
Gets the display name defined by the language param. If there is no english translation, the default display 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
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
-