Enum Class ActSubstanceAdminSubstitutionCode
java.lang.Object
java.lang.Enum<ActSubstanceAdminSubstitutionCode>
org.projecthusky.fhir.emed.ch.common.enums.ActSubstanceAdminSubstitutionCode
- All Implemented Interfaces:
Serializable
,Comparable<ActSubstanceAdminSubstitutionCode>
,Constable
,CodedMetadataEnumInterface
,TranslatedEnumInterface
,ValueSetEnumInterface
,FhirValueSetEnumInterface
@Generated(value="org.projecthusky.codegenerator.ch.valuesets.UpdateValueSets",
date="2024-07-18")
public enum ActSubstanceAdminSubstitutionCode
extends Enum<ActSubstanceAdminSubstitutionCode>
implements ValueSetEnumInterface, FhirValueSetEnumInterface
Enumeration of ActSubstanceAdminSubstitutionCode values
EN: No designation found.
DE: No designation found.
FR: No designation found.
IT: No designation found.
Identifier: 2.16.756.5.30.1.1.11.81
Effective date: 2020-07-10 00:52
Version: 2020
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: brand composition.
DE: Äquivalent, andere Marke.
FR: équivalent autre fabriquant.
IT: equivalente altra marca.EN: equivalent composition.
DE: äquivalente Zusammensetzung.
FR: composition équivalente.
IT: composizione simile.EN: equivalent.
DE: Äquivalent.
FR: équivalent.
IT: equivalente.EN: generic composition.
DE: Äquivalent, Generikum.
FR: équivalent générique.
IT: equivalente generico.EN: none.
DE: nicht autorisiert.
FR: non autorisé.
IT: non autorizzato.EN: therapeutic alternative.
DE: therapeutische Alternative.
FR: alternative thérapeutique.
IT: alternativa terapeutica.EN: therapeutic brand.
DE: therapeutische Alternative, andere Marke.
FR: lternative thérapeutique autre marque.
IT: alternativa terapeutica altra marca.EN: therapeutic generic.
DE: therapeutische Alternative, Generikum.
FR: alternative thérapeutique générique.
IT: alternativa terapeutica generico. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
EN: Code for brand composition.
DE: Code für Äquivalent, andere Marke.
FR: Code de équivalent autre fabriquant.
IT: Code per equivalente altra marca.static final String
Identifier of the code system (all values share the same).static final String
EN: Code for equivalent composition.
DE: Code für äquivalente Zusammensetzung.
FR: Code de composition équivalente.
IT: Code per composizione simile.static final String
EN: Code for equivalent.
DE: Code für Äquivalent.
FR: Code de équivalent.
IT: Code per equivalente.static final String
EN: Code for generic composition.
DE: Code für Äquivalent, Generikum.
FR: Code de équivalent générique.
IT: Code per equivalente generico.static final String
EN: Code for none.
DE: Code für nicht autorisiert.
FR: Code de non autorisé.
IT: Code per non autorizzato.static final String
EN: Code for therapeutic alternative.
DE: Code für therapeutische Alternative.
FR: Code de alternative thérapeutique.
IT: Code per alternativa terapeutica.static final String
EN: Code for therapeutic brand.
DE: Code für therapeutische Alternative, andere Marke.
FR: Code de lternative thérapeutique autre marque.
IT: Code per alternativa terapeutica altra marca.static final String
EN: Code for therapeutic generic.
DE: Code für therapeutische Alternative, Generikum.
FR: Code de alternative thérapeutique générique.
IT: Code per alternativa terapeutica generico.static final String
Identifier of the value set.static final String
Name of the value set. -
Method Summary
Modifier and TypeMethodDescription@NonNull org.hl7.fhir.r4.model.CodeableConcept
Returns the enum value as a FHIR CodeableConcept.@NonNull org.hl7.fhir.r4.model.CodeableConcept
getCodeableConcept
(LanguageCode languageCode) Returns the enum value as a FHIR CodeableConcept, translated in the requested language.@NonNull String
Gets the code system identifier.@NonNull String
Gets the code system name.@NonNull String
Gets the code value as a string.@NonNull org.hl7.fhir.r4.model.Coding
Returns the enum value as a FHIR Coding.@NonNull org.hl7.fhir.r4.model.Coding
getCoding
(LanguageCode languageCode) Returns the enum value as a FHIR Coding, translated in the requested language.@NonNull String
getDisplayName
(@Nullable LanguageCode languageCode) Gets the display name defined by the language param.static @Nullable ActSubstanceAdminSubstitutionCode
Gets the Enum with a given code.static @Nullable ActSubstanceAdminSubstitutionCode
getEnum
(@Nullable org.hl7.fhir.r4.model.Coding coding) Gets the Enum with a given FHIR Coding.@NonNull String
Returns the code system, as used in FHIR.@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.boolean
isEqualTo
(org.hl7.fhir.r4.model.Coding coding) Compares the enum value to the given FHIR Coding.static boolean
isInValueSet
(@Nullable String codeValue) Checks if a given code value is in this value set.static boolean
isInValueSet
(@Nullable org.hl7.fhir.r4.model.Coding coding) Checks if a given FHIR Coding is in this value set.Returns the enum constant of this class with the specified name.static ActSubstanceAdminSubstitutionCode[]
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
-
BRAND_COMPOSITION_L3
EN: brand composition.
DE: Äquivalent, andere Marke.
FR: équivalent autre fabriquant.
IT: equivalente altra marca. -
EQUIVALENT_COMPOSITION_L2
EN: equivalent composition.
DE: äquivalente Zusammensetzung.
FR: composition équivalente.
IT: composizione simile. -
EQUIVALENT_L1
EN: equivalent.
DE: Äquivalent.
FR: équivalent.
IT: equivalente. -
GENERIC_COMPOSITION_L3
EN: generic composition.
DE: Äquivalent, Generikum.
FR: équivalent générique.
IT: equivalente generico. -
NONE_L1
EN: none.
DE: nicht autorisiert.
FR: non autorisé.
IT: non autorizzato. -
THERAPEUTIC_ALTERNATIVE_L2
EN: therapeutic alternative.
DE: therapeutische Alternative.
FR: alternative thérapeutique.
IT: alternativa terapeutica. -
THERAPEUTIC_BRAND_L3
EN: therapeutic brand.
DE: therapeutische Alternative, andere Marke.
FR: lternative thérapeutique autre marque.
IT: alternativa terapeutica altra marca. -
THERAPEUTIC_GENERIC_L3
EN: therapeutic generic.
DE: therapeutische Alternative, Generikum.
FR: alternative thérapeutique générique.
IT: alternativa terapeutica generico.
-
-
Field Details
-
BRAND_COMPOSITION_L3_CODE
EN: Code for brand composition.
DE: Code für Äquivalent, andere Marke.
FR: Code de équivalent autre fabriquant.
IT: Code per equivalente altra marca.- See Also:
-
EQUIVALENT_COMPOSITION_L2_CODE
EN: Code for equivalent composition.
DE: Code für äquivalente Zusammensetzung.
FR: Code de composition équivalente.
IT: Code per composizione simile.- See Also:
-
EQUIVALENT_L1_CODE
EN: Code for equivalent.
DE: Code für Äquivalent.
FR: Code de équivalent.
IT: Code per equivalente.- See Also:
-
GENERIC_COMPOSITION_L3_CODE
EN: Code for generic composition.
DE: Code für Äquivalent, Generikum.
FR: Code de équivalent générique.
IT: Code per equivalente generico.- See Also:
-
NONE_L1_CODE
EN: Code for none.
DE: Code für nicht autorisiert.
FR: Code de non autorisé.
IT: Code per non autorizzato.- See Also:
-
THERAPEUTIC_ALTERNATIVE_L2_CODE
EN: Code for therapeutic alternative.
DE: Code für therapeutische Alternative.
FR: Code de alternative thérapeutique.
IT: Code per alternativa terapeutica.- See Also:
-
THERAPEUTIC_BRAND_L3_CODE
EN: Code for therapeutic brand.
DE: Code für therapeutische Alternative, andere Marke.
FR: Code de lternative thérapeutique autre marque.
IT: Code per alternativa terapeutica altra marca.- See Also:
-
THERAPEUTIC_GENERIC_L3_CODE
EN: Code for therapeutic generic.
DE: Code für therapeutische Alternative, Generikum.
FR: Code de alternative thérapeutique générique.
IT: Code per alternativa terapeutica generico.- 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:
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.
-
getFhirSystem
Returns the code system, as used in FHIR.- Specified by:
getFhirSystem
in interfaceFhirValueSetEnumInterface
-
getCoding
public @NonNull org.hl7.fhir.r4.model.Coding getCoding()Returns the enum value as a FHIR Coding.- Specified by:
getCoding
in interfaceFhirValueSetEnumInterface
-
getCodeableConcept
public @NonNull org.hl7.fhir.r4.model.CodeableConcept getCodeableConcept()Returns the enum value as a FHIR CodeableConcept.- Specified by:
getCodeableConcept
in interfaceFhirValueSetEnumInterface
-
getCoding
Returns the enum value as a FHIR Coding, translated in the requested language.- Specified by:
getCoding
in interfaceFhirValueSetEnumInterface
-
getCodeableConcept
Returns the enum value as a FHIR CodeableConcept, translated in the requested language.- Specified by:
getCodeableConcept
in interfaceFhirValueSetEnumInterface
-
isEqualTo
public boolean isEqualTo(org.hl7.fhir.r4.model.Coding coding) Compares the enum value to the given FHIR Coding.- Specified by:
isEqualTo
in interfaceFhirValueSetEnumInterface
- Parameters:
coding
- The FHIR Coding to be compared.- Returns:
true
if they have the same system and value,false
otherwise.
-
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.
-
getEnum
public static @Nullable ActSubstanceAdminSubstitutionCode getEnum(@Nullable org.hl7.fhir.r4.model.Coding coding) 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:
true
if the value is found in this value set,false
otherwise.
-