Enum Class ElgaActEncounterCode
java.lang.Object
java.lang.Enum<ElgaActEncounterCode>
org.projecthusky.cda.elga.generated.artdecor.enums.ElgaActEncounterCode
- All Implemented Interfaces:
Serializable,Comparable<ElgaActEncounterCode>,Constable,CodedMetadataEnumInterface,TranslatedEnumInterface,ValueSetEnumInterface
@Generated(value="org.projecthusky.codegenerator.ch.valuesets.UpdateValueSets",
date="2022-02-18")
public enum ElgaActEncounterCode
extends Enum<ElgaActEncounterCode>
implements ValueSetEnumInterface
Enumeration of ELGA_ActEncounterCode values
EN: No designation found.
DE: No designation found.
FR: No designation found.
IT: No designation found.
Identifier: 1.2.40.0.34.10.5
Effective date: 2015-10-05 00:00
Version: 3.1
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: ActEncounterCode.EN: ambulatory.EN: emergency.EN: field.EN: home health.EN: inpatient acute.EN: inpatient encounter.EN: inpatient non-acute.EN: pre-admission.EN: short stay.EN: virtual. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringEN: Code for ActEncounterCode.static final StringEN: Code for ambulatory.static final StringIdentifier of the code system (all values share the same).static final StringEN: Code for emergency.static final StringEN: Code for field.static final StringEN: Code for home health.static final StringEN: Code for inpatient acute.static final StringEN: Code for inpatient encounter.static final StringEN: Code for inpatient non-acute.static final StringEN: Code for pre-admission.static final StringEN: Code for short stay.static final StringIdentifier of the value set.static final StringName of the value set.static final StringEN: Code for virtual. -
Method Summary
Modifier and TypeMethodDescription@NonNull StringGets the code system identifier.@NonNull StringGets the code system name.@NonNull StringGets the code value as a string.@NonNull StringgetDisplayName(@Nullable LanguageCode languageCode) Gets the display name defined by the language param.static @Nullable ElgaActEncounterCodeGets the Enum with a given code.@NonNull StringGets the value set identifier.@NonNull StringGets the value set name.static booleanisEnumOfValueSet(@Nullable String enumName) Checks if a given enum is part of this value set.static booleanisInValueSet(@Nullable String codeValue) Checks if a given code value is in this value set.static ElgaActEncounterCodeReturns the enum constant of this class with the specified name.static ElgaActEncounterCode[]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, valueOfMethods inherited from interface org.projecthusky.common.enums.TranslatedEnumInterface
getDisplayNameMethods inherited from interface org.projecthusky.common.enums.ValueSetEnumInterface
getCD, getCD, getCE, getCE, getCode, getCode, getCodedString, getIpfCode, isContainedIn, isEqualTo, name
-
Enum Constant Details
-
ACTENCOUNTERCODE
EN: ActEncounterCode. -
AMBULATORY_L1
EN: ambulatory. -
EMERGENCY_L1
EN: emergency. -
FIELD_L1
EN: field. -
HOME_HEALTH_L1
EN: home health. -
INPATIENT_ACUTE_L2
EN: inpatient acute. -
INPATIENT_ENCOUNTER_L1
EN: inpatient encounter. -
INPATIENT_NON_ACUTE_L2
EN: inpatient non-acute. -
PRE_ADMISSION_L1
EN: pre-admission. -
SHORT_STAY_L1
EN: short stay. -
VIRTUAL_L1
EN: virtual.
-
-
Field Details
-
ACTENCOUNTERCODE_CODE
EN: Code for ActEncounterCode.- See Also:
-
AMBULATORY_L1_CODE
EN: Code for ambulatory.- See Also:
-
EMERGENCY_L1_CODE
EN: Code for emergency.- See Also:
-
FIELD_L1_CODE
EN: Code for field.- See Also:
-
HOME_HEALTH_L1_CODE
EN: Code for home health.- See Also:
-
INPATIENT_ACUTE_L2_CODE
EN: Code for inpatient acute.- See Also:
-
INPATIENT_ENCOUNTER_L1_CODE
EN: Code for inpatient encounter.- See Also:
-
INPATIENT_NON_ACUTE_L2_CODE
EN: Code for inpatient non-acute.- See Also:
-
PRE_ADMISSION_L1_CODE
EN: Code for pre-admission.- See Also:
-
SHORT_STAY_L1_CODE
EN: Code for short stay.- See Also:
-
VIRTUAL_L1_CODE
EN: Code for virtual.- 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:
trueif the name is found in this value set,falseotherwise.
-
isInValueSet
Checks if a given code value is in this value set.- Parameters:
codeValue- The code value.- Returns:
trueif the value is found in this value set,falseotherwise.
-
getCodeSystemId
Gets the code system identifier.- Specified by:
getCodeSystemIdin interfaceValueSetEnumInterface- Returns:
- the code system identifier.
-
getCodeSystemName
Gets the code system name.- Specified by:
getCodeSystemNamein interfaceValueSetEnumInterface- Returns:
- the code system name.
-
getCodeValue
Gets the code value as a string.- Specified by:
getCodeValuein interfaceValueSetEnumInterface- Returns:
- the code value.
-
getDisplayName
Gets the display name defined by the language param.- Specified by:
getDisplayNamein interfaceTranslatedEnumInterface- Parameters:
languageCode- The language code to get the display name for,nullto get the default display name.- Returns:
- the display name in the desired language.
-
getValueSetId
Gets the value set identifier.- Specified by:
getValueSetIdin interfaceValueSetEnumInterface- Returns:
- the value set identifier.
-
getValueSetName
Gets the value set name.- Specified by:
getValueSetNamein interfaceValueSetEnumInterface- Returns:
- the value set name.
-