Enum Class AuthorRole
- All Implemented Interfaces:
Serializable
,Comparable<AuthorRole>
,Constable
,CodedMetadataEnumInterface
,TranslatedEnumInterface
,ValueSetEnumInterface
@Generated(value="org.projecthusky.codegenerator.ch.valuesets.UpdateValueSets",
date="2022-09-29")
public enum AuthorRole
extends Enum<AuthorRole>
implements ValueSetEnumInterface
Enumeration of DocumentEntry.author.authorRole values
EN: Role of the author. This code defines the role of the author of the document. This is a sub-attribute of epd_xds_author.
DE: Rolle des Autors. Dieser Code definiert die Rolle des Authors vom Dokument. Dies ist ein Sub-Attribut von epd_xds_author.
FR: Rôle de l'auteur. Ce code définit le rôle de l'auteur du document. Il s'agit d'un sous-attribut de epd_xds_author.
IT: Ruolo dell'autore. Questo codice definisce il ruolo dell'autore del documento. È un sottoattributo di epd_xds_author.
Identifier: 2.16.756.5.30.1.127.3.10.1.1.3
Effective date: 2021-04-01 08:55
Version: 202104.0-stable
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: Assistant.
DE: Hilfsperson.
FR: Auxiliaire.
IT: Persona ausiliara.EN: Healthcare professional.
DE: Gesundheitsfachperson.
FR: Professionnel de la santé.
IT: Professionista della salute.EN: Patient.
DE: Patient.
FR: Patient.
IT: Paziente.EN: Representative.
DE: Stellvertretung.
FR: Représentant.
IT: Rappresentante.EN: Technical user.
DE: Technischer Benutzer.
FR: Utilisateur technique.
IT: Utente tecnico. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
EN: Code for Assistant.
DE: Code für Hilfsperson.
FR: Code de Auxiliaire.
IT: Code per Persona ausiliara.static final String
Identifier of the code system (all values share the same).static final String
EN: Code for Healthcare professional.
DE: Code für Gesundheitsfachperson.
FR: Code de Professionnel de la santé.
IT: Code per Professionista della salute.static final String
EN: Code for Patient.
DE: Code für Patient.
FR: Code de Patient.
IT: Code per Paziente.static final String
EN: Code for Representative.
DE: Code für Stellvertretung.
FR: Code de Représentant.
IT: Code per Rappresentante.static final String
EN: Code for Technical user.
DE: Code für Technischer Benutzer.
FR: Code de Utilisateur technique.
IT: Code per Utente tecnico.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 AuthorRole
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 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.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
-
ASSISTANT
EN: Assistant.
DE: Hilfsperson.
FR: Auxiliaire.
IT: Persona ausiliara. -
HEALTHCARE_PROFESSIONAL
EN: Healthcare professional.
DE: Gesundheitsfachperson.
FR: Professionnel de la santé.
IT: Professionista della salute. -
PATIENT
EN: Patient.
DE: Patient.
FR: Patient.
IT: Paziente. -
REPRESENTATIVE
EN: Representative.
DE: Stellvertretung.
FR: Représentant.
IT: Rappresentante. -
TECHNICAL_USER
EN: Technical user.
DE: Technischer Benutzer.
FR: Utilisateur technique.
IT: Utente tecnico.
-
-
Field Details
-
ASSISTANT_CODE
EN: Code for Assistant.
DE: Code für Hilfsperson.
FR: Code de Auxiliaire.
IT: Code per Persona ausiliara.- See Also:
-
HEALTHCARE_PROFESSIONAL_CODE
EN: Code for Healthcare professional.
DE: Code für Gesundheitsfachperson.
FR: Code de Professionnel de la santé.
IT: Code per Professionista della salute.- See Also:
-
PATIENT_CODE
EN: Code for Patient.
DE: Code für Patient.
FR: Code de Patient.
IT: Code per Paziente.- See Also:
-
REPRESENTATIVE_CODE
EN: Code for Representative.
DE: Code für Stellvertretung.
FR: Code de Représentant.
IT: Code per Rappresentante.- See Also:
-
TECHNICAL_USER_CODE
EN: Code for Technical user.
DE: Code für Technischer Benutzer.
FR: Code de Utilisateur technique.
IT: Code per Utente tecnico.- 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.
-