Enum Class TimeUnitCodeAmbu
- All Implemented Interfaces:
Serializable,Comparable<TimeUnitCodeAmbu>,Constable,CodedMetadataEnumInterface,TranslatedEnumInterface,ValueSetEnumInterface,FhirValueSetEnumInterface
@Generated(value="org.projecthusky.codegenerator.ch.valuesets.UpdateValueSets",
date="2024-07-18")
public enum TimeUnitCodeAmbu
extends Enum<TimeUnitCodeAmbu>
implements ValueSetEnumInterface, FhirValueSetEnumInterface
Enumeration of TimeUnitCodeAmbu values
EN: No designation found.
DE: No designation found.
FR: No designation found.
IT: No designation found.
Identifier: 2.16.756.5.30.1.127.77.12.11.4
Effective date: 2022-04-15 09:05
Version: 2022
Status: DRAFT
-
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 StringIdentifier of the code system (all values share the same).static final StringEN: Code for h.
DE: Code für h.
FR: Code de h.
IT: Code per h.static final StringEN: Code for min.
DE: Code für min.
FR: Code de min.
IT: Code per min.static final StringEN: Code for sec.
DE: Code für sec.
FR: Code de sec.
IT: Code per sec.static final StringIdentifier of the value set.static final StringName of the value set. -
Method Summary
Modifier and TypeMethodDescription@NonNull org.hl7.fhir.r4.model.CodeableConceptReturns the enum value as a FHIR CodeableConcept.@NonNull org.hl7.fhir.r4.model.CodeableConceptgetCodeableConcept(LanguageCode languageCode) Returns the enum value as a FHIR CodeableConcept, translated in the requested language.@NonNull StringGets the code system identifier.@NonNull StringGets the code system name.@NonNull StringGets the code value as a string.@NonNull org.hl7.fhir.r4.model.CodingReturns the enum value as a FHIR Coding.@NonNull org.hl7.fhir.r4.model.CodinggetCoding(LanguageCode languageCode) Returns the enum value as a FHIR Coding, translated in the requested language.@NonNull StringgetDisplayName(@Nullable LanguageCode languageCode) Gets the display name defined by the language param.static @Nullable TimeUnitCodeAmbuGets the Enum with a given code.static @Nullable TimeUnitCodeAmbugetEnum(@Nullable org.hl7.fhir.r4.model.Coding coding) Gets the Enum with a given FHIR Coding.@NonNull StringReturns the code system, as used in FHIR.@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.booleanisEqualTo(org.hl7.fhir.r4.model.Coding coding) Compares the enum value to the given FHIR Coding.static booleanisInValueSet(@Nullable String codeValue) Checks if a given code value is in this value set.static booleanisInValueSet(@Nullable org.hl7.fhir.r4.model.Coding coding) Checks if a given FHIR Coding is in this value set.static TimeUnitCodeAmbuReturns the enum constant of this class with the specified name.static TimeUnitCodeAmbu[]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
-
H
EN: h.
DE: h.
FR: h.
IT: h. -
MIN
EN: min.
DE: min.
FR: min.
IT: min. -
SEC
EN: sec.
DE: sec.
FR: sec.
IT: sec.
-
-
Field Details
-
H_CODE
EN: Code for h.
DE: Code für h.
FR: Code de h.
IT: Code per h.- See Also:
-
MIN_CODE
EN: Code for min.
DE: Code für min.
FR: Code de min.
IT: Code per min.- See Also:
-
SEC_CODE
EN: Code for sec.
DE: Code für sec.
FR: Code de sec.
IT: Code per sec.- 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
-
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.
-
getFhirSystem
Returns the code system, as used in FHIR.- Specified by:
getFhirSystemin interfaceFhirValueSetEnumInterface
-
getCoding
public @NonNull org.hl7.fhir.r4.model.Coding getCoding()Returns the enum value as a FHIR Coding.- Specified by:
getCodingin interfaceFhirValueSetEnumInterface
-
getCodeableConcept
public @NonNull org.hl7.fhir.r4.model.CodeableConcept getCodeableConcept()Returns the enum value as a FHIR CodeableConcept.- Specified by:
getCodeableConceptin interfaceFhirValueSetEnumInterface
-
getCoding
Returns the enum value as a FHIR Coding, translated in the requested language.- Specified by:
getCodingin interfaceFhirValueSetEnumInterface
-
getCodeableConcept
Returns the enum value as a FHIR CodeableConcept, translated in the requested language.- Specified by:
getCodeableConceptin interfaceFhirValueSetEnumInterface
-
isEqualTo
public boolean isEqualTo(org.hl7.fhir.r4.model.Coding coding) Compares the enum value to the given FHIR Coding.- Specified by:
isEqualToin interfaceFhirValueSetEnumInterface- Parameters:
coding- The FHIR Coding to be compared.- Returns:
trueif they have the same system and value,falseotherwise.
-
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.
-
getEnum
Gets the Enum with a given FHIR Coding.- Parameters:
coding- The FHIR Coding.- Returns:
- the enum value found or
null.
-
isInValueSet
public static boolean isInValueSet(@Nullable org.hl7.fhir.r4.model.Coding coding) Checks if a given FHIR Coding is in this value set.- Parameters:
coding- The FHIR Coding.- Returns:
trueif the value is found in this value set,falseotherwise.
-