Enum Class Role
- All Implemented Interfaces:
Serializable,Comparable<Role>,Constable,CodedMetadataEnumInterface,TranslatedEnumInterface,ValueSetEnumInterface
@Generated(value="org.projecthusky.codegenerator.ch.valuesets.UpdateValueSets",
date="2025-03-03")
public enum Role
extends Enum<Role>
implements ValueSetEnumInterface
Enumeration of EprRole values
EN: Role codes as per Annex 5 EPRO-FDHA, version July 2019.
DE: No designation found.
FR: No designation found.
IT: No designation found.
Identifier: 2.16.756.5.30.1.127.3.10.15.1
Effective date: 2022-06-26 15:23
Version: 202306.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: Assistant.
IT: Assistente.EN: Document Administrator.
DE: Dokumenten-Administrator.
FR: Administrateur des documents.
IT: Amministratore documenti.EN: Healthcare professional.
DE: Gesundheitsfachperson.
FR: Professionnel de la santé.
IT: Professionista della salute.EN: Patient.
DE: Patient.
FR: Patient.
IT: Paziente.EN: Policy Administrator.
DE: Datenschutzrichtlinien-Administrator.
FR: Administrateur des directives de protection des données.
IT: Amministratore diritti di accesso.EN: Representative.
DE: Stellvertretung.
FR: Représentant.
IT: Rappresentante.EN: Technical user.
DE: Technischer Nutzer.
FR: Utilisateur technique.
IT: Utente tecnico. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringEN: Code for Assistant.
DE: Code für Hilfsperson.
FR: Code de Assistant.
IT: Code per Assistente.static final StringIdentifier of the code system (all values share the same).static final StringEN: Code for Document Administrator.
DE: Code für Dokumenten-Administrator.
FR: Code de Administrateur des documents.
IT: Code per Amministratore documenti.static final StringEN: Code for Healthcare professional.
DE: Code für Gesundheitsfachperson.
FR: Code de Professionnel de la santé.
IT: Code per Professionista della salute.static final StringEN: Code for Patient.
DE: Code für Patient.
FR: Code de Patient.
IT: Code per Paziente.static final StringEN: Code for Policy Administrator.
DE: Code für Datenschutzrichtlinien-Administrator.
FR: Code de Administrateur des directives de protection des données.
IT: Code per Amministratore diritti di accesso.static final StringEN: Code for Representative.
DE: Code für Stellvertretung.
FR: Code de Représentant.
IT: Code per Rappresentante.static final StringEN: Code for Technical user.
DE: Code für Technischer Nutzer.
FR: Code de Utilisateur technique.
IT: Code per Utente tecnico.static final StringIdentifier of the value set.static final StringName of the value set. -
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 RoleGets 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 RoleReturns the enum constant of this class with the specified name.static Role[]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
-
ASSISTANT
EN: Assistant.
DE: Hilfsperson.
FR: Assistant.
IT: Assistente. -
DOCUMENT_ADMINISTRATOR
EN: Document Administrator.
DE: Dokumenten-Administrator.
FR: Administrateur des documents.
IT: Amministratore documenti. -
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. -
POLICY_ADMINISTRATOR
EN: Policy Administrator.
DE: Datenschutzrichtlinien-Administrator.
FR: Administrateur des directives de protection des données.
IT: Amministratore diritti di accesso. -
REPRESENTATIVE
EN: Representative.
DE: Stellvertretung.
FR: Représentant.
IT: Rappresentante. -
TECHNICAL_USER
EN: Technical user.
DE: Technischer Nutzer.
FR: Utilisateur technique.
IT: Utente tecnico.
-
-
Field Details
-
ASSISTANT_CODE
EN: Code for Assistant.
DE: Code für Hilfsperson.
FR: Code de Assistant.
IT: Code per Assistente.- See Also:
-
DOCUMENT_ADMINISTRATOR_CODE
EN: Code for Document Administrator.
DE: Code für Dokumenten-Administrator.
FR: Code de Administrateur des documents.
IT: Code per Amministratore documenti.- 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:
-
POLICY_ADMINISTRATOR_CODE
EN: Code for Policy Administrator.
DE: Code für Datenschutzrichtlinien-Administrator.
FR: Code de Administrateur des directives de protection des données.
IT: Code per Amministratore diritti di accesso.- 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 Nutzer.
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:
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.
-