Enum Class ElgaPregnanciesSummary
java.lang.Object
java.lang.Enum<ElgaPregnanciesSummary>
org.projecthusky.cda.elga.generated.artdecor.ps.enums.ElgaPregnanciesSummary
- All Implemented Interfaces:
Serializable
,Comparable<ElgaPregnanciesSummary>
,Constable
,CodedMetadataEnumInterface
,TranslatedEnumInterface
,ValueSetEnumInterface
@Generated(value="org.projecthusky.codegenerator.ch.valuesets.UpdateValueSets",
date="2022-03-01")
public enum ElgaPregnanciesSummary
extends Enum<ElgaPregnanciesSummary>
implements ValueSetEnumInterface
Enumeration of ELGA_PregnanciesSummary values
EN: Value Set PregnanciesSummary.
DE: No designation found.
FR: No designation found.
IT: No designation found.
Identifier: 1.2.40.0.34.10.203
Effective date: 2017-09-06 21:33
Version: 201709(-beta)
Status: DRAFT
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEN: [#] Abortions.EN: [#] Abortions.induced.EN: [#] Abortions.spontaneous.EN: [#] Births.live.EN: [#] Births.preterm.EN: [#] Births.still living.EN: [#] Births.term.EN: [#] Births total.EN: [#] Ectopic pregnancy. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
EN: Code for [#] Abortions.static final String
EN: Code for [#] Abortions.induced.static final String
EN: Code for [#] Abortions.spontaneous.static final String
EN: Code for [#] Births.live.static final String
EN: Code for [#] Births.preterm.static final String
EN: Code for [#] Births.still living.static final String
EN: Code for [#] Births.term.static final String
EN: Code for [#] Births total.static final String
EN: Code for [#] Ectopic pregnancy.static final String
Identifier of the code system (all values share the same).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 ElgaPregnanciesSummary
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 ElgaPregnanciesSummary
Returns the enum constant of this class with the specified name.static ElgaPregnanciesSummary[]
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
-
_ABORTIONS
EN: [#] Abortions. -
_ABORTIONS_INDUCED
EN: [#] Abortions.induced. -
_ABORTIONS_SPONTANEOUS
EN: [#] Abortions.spontaneous. -
_BIRTHS_LIVE
EN: [#] Births.live. -
_BIRTHS_PRETERM
EN: [#] Births.preterm. -
_BIRTHS_STILL_LIVING
EN: [#] Births.still living. -
_BIRTHS_TERM
EN: [#] Births.term. -
_BIRTHS_TOTAL
EN: [#] Births total. -
_ECTOPIC_PREGNANCY
EN: [#] Ectopic pregnancy.
-
-
Field Details
-
_ABORTIONS_CODE
EN: Code for [#] Abortions.- See Also:
-
_ABORTIONS_INDUCED_CODE
EN: Code for [#] Abortions.induced.- See Also:
-
_ABORTIONS_SPONTANEOUS_CODE
EN: Code for [#] Abortions.spontaneous.- See Also:
-
_BIRTHS_LIVE_CODE
EN: Code for [#] Births.live.- See Also:
-
_BIRTHS_PRETERM_CODE
EN: Code for [#] Births.preterm.- See Also:
-
_BIRTHS_STILL_LIVING_CODE
EN: Code for [#] Births.still living.- See Also:
-
_BIRTHS_TERM_CODE
EN: Code for [#] Births.term.- See Also:
-
_BIRTHS_TOTAL_CODE
EN: Code for [#] Births total.- See Also:
-
_ECTOPIC_PREGNANCY_CODE
EN: Code for [#] Ectopic pregnancy.- 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.
-