org.projecthusky.common.ch.enums.r202406.HcpProfession Maven / Gradle / Ivy
Show all versions of husky-common-ch Show documentation
/*
* This code is made available under the terms of the Eclipse Public License v1.0
* in the github project https://github.com/project-husky/husky there you also
* find a list of the contributors and the license information.
*
* This project has been developed further and modified by the joined working group Husky
* on the basis of the eHealth Connector opensource project from June 28, 2021,
* whereas medshare GmbH is the initial and main contributor/author of the eHealth Connector.
*/
package org.projecthusky.common.ch.enums.r202406;
import java.util.Objects;
import javax.annotation.processing.Generated;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.checkerframework.checker.nullness.qual.Nullable;
import org.projecthusky.common.enums.CodeSystems;
import org.projecthusky.common.enums.LanguageCode;
import org.projecthusky.common.enums.ValueSetEnumInterface;
/**
* Enumeration of HCProfessional.hcProfession 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.3.10.8.1
* Effective date: 2022-06-26 15:48
* Version: 202306.0-stable
* Status: FINAL
*/
@Generated(value = "org.projecthusky.codegenerator.ch.valuesets.UpdateValueSets", date = "2024-07-02")
public enum HcpProfession implements ValueSetEnumInterface {
/**
* EN: Activation therapy specialist.
* DE: Fachperson für Aktivierung.
* FR: spécialiste de l'activation.
* IT: specialista in attivazione.
*/
ACTIVATION_THERAPY_SPECIALIST("00100",
"2.16.756.5.30.1.127.3.10.9",
"Aktivierungsfachfrau/Aktivierungsfachmann",
"Activation therapy specialist",
"Fachperson für Aktivierung",
"spécialiste de l'activation",
"specialista in attivazione"),
/**
* EN: Biomedical analyst.
* DE: Biomedizinischer Analytiker/Biomedizinische Analytikerin.
* FR: technicien(ne) en analyses biomédicales.
* IT: tecnico(-a) in analisi biomediche.
*/
BIOMEDICAL_ANALYST("00300",
"2.16.756.5.30.1.127.3.10.9",
"Biomedizinische Analytikerin/Biomedizinischer Analytiker",
"Biomedical analyst",
"Biomedizinischer Analytiker/Biomedizinische Analytikerin",
"technicien(ne) en analyses biomédicales",
"tecnico(-a) in analisi biomediche"),
/**
* EN: Chiropractor.
* DE: Chiropraktiker/Chiropraktikerin.
* FR: chiropraticien(ne).
* IT: chiropratico(-a).
*/
CHIROPRACTOR("3842006",
"2.16.840.1.113883.6.96",
"Chiropractor (occupation)",
"Chiropractor",
"Chiropraktiker/Chiropraktikerin",
"chiropraticien(ne)",
"chiropratico(-a)"),
/**
* EN: Dental hygienist.
* DE: Dentalhygieniker/Dentalhygienikerin.
* FR: hygiéniste dentaire.
* IT: igienista dentale.
*/
DENTAL_HYGIENIST("00400",
"2.16.756.5.30.1.127.3.10.9",
"Dental hygienist",
"Dental hygienist",
"Dentalhygieniker/Dentalhygienikerin",
"hygiéniste dentaire",
"igienista dentale"),
/**
* EN: Dentist.
* DE: Zahnarzt/Zahnärztin.
* FR: dentiste.
* IT: dentista.
*/
DENTIST("106289002",
"2.16.840.1.113883.6.96",
"Dentist (occupation)",
"Dentist",
"Zahnarzt/Zahnärztin",
"dentiste",
"dentista"),
/**
* EN: Dietitian.
* DE: Ernährungsberater/Ernährungsberaterin.
* FR: diététicien(ne).
* IT: dietista.
*/
DIETITIAN("159033005",
"2.16.840.1.113883.6.96",
"Dietitian (occupation)",
"Dietitian",
"Ernährungsberater/Ernährungsberaterin",
"diététicien(ne)",
"dietista"),
/**
* EN: Druggist.
* DE: Drogist/Drogistin.
* FR: droguiste.
* IT: droghiere(-a).
*/
DRUGGIST("00500",
"2.16.756.5.30.1.127.3.10.9",
"Drogist/Drogistin",
"Druggist",
"Drogist/Drogistin",
"droguiste",
"droghiere(-a)"),
/**
* EN: Healthcare assistant.
* DE: Fachperson Gesundheit.
* FR: assistant(e) en soins et santé communautaire.
* IT: operatore(-trice) sociosanitario.
*/
HEALTHCARE_ASSISTANT("00700",
"2.16.756.5.30.1.127.3.10.9",
"Fachfrau Gesundheit/Fachmann Gesundheit",
"Healthcare assistant",
"Fachperson Gesundheit",
"assistant(e) en soins et santé communautaire",
"operatore(-trice) sociosanitario"),
/**
* EN: Medical masseur.
* DE: Medizinischer Masseur/Medizinische Masseurin.
* FR: masseur(-euse) médical.
* IT: massaggiatore(-trice) medicale.
*/
MEDICAL_MASSEUR("00900",
"2.16.756.5.30.1.127.3.10.9",
"Medizinische Masseurin/Medizinischer Masseur",
"Medical masseur",
"Medizinischer Masseur/Medizinische Masseurin",
"masseur(-euse) médical",
"massaggiatore(-trice) medicale"),
/**
* EN: Medical-technical radiology assistant.
* DE: Fachperson für medizinisch-technische Radiologie.
* FR: technicien(ne) en radiologie médicale.
* IT: tecnico(-a) di radiologia medica.
*/
MEDICAL_TECHNICAL_RADIOLOGY_ASSISTANT("00600",
"2.16.756.5.30.1.127.3.10.9",
"Fachfrau für medizinisch-technische Radiologie/Fachmann für medizinisch-technische Radiologie",
"Medical-technical radiology assistant",
"Fachperson für medizinisch-technische Radiologie",
"technicien(ne) en radiologie médicale",
"tecnico(-a) di radiologia medica"),
/**
* EN: Naturopathic practitioner.
* DE: Naturheilpraktiker/Naturheilpraktikerin.
* FR: naturopathe.
* IT: naturopata.
*/
NATUROPATHIC_PRACTITIONER("01000",
"2.16.756.5.30.1.127.3.10.9",
"Naturheilpraktikerin/Naturheilpraktiker",
"Naturopathic practitioner",
"Naturheilpraktiker/Naturheilpraktikerin",
"naturopathe",
"naturopata"),
/**
* EN: Occupational therapist.
* DE: Ergotherapeut/Ergotherapeutin.
* FR: ergothérapeute.
* IT: ergoterapista.
*/
OCCUPATIONAL_THERAPIST("80546007",
"2.16.840.1.113883.6.96",
"Occupational therapist (occupation)",
"Occupational therapist",
"Ergotherapeut/Ergotherapeutin",
"ergothérapeute",
"ergoterapista"),
/**
* EN: Operating room technician.
* DE: Fachperson Operationstechnik.
* FR: technicien(ne) en salle d'opération.
* IT: tecnico(-a) di sala operatoria.
*/
OPERATING_ROOM_TECHNICIAN("00800",
"2.16.756.5.30.1.127.3.10.9",
"Fachfrau Operationstechnik/Fachmann Operationstechnik",
"Operating room technician",
"Fachperson Operationstechnik",
"technicien(ne) en salle d'opération",
"tecnico(-a) di sala operatoria"),
/**
* EN: Optician.
* DE: Optiker/Optikerin.
* FR: opticien(ne).
* IT: ottico(-a).
*/
OPTICIAN("00200",
"2.16.756.5.30.1.127.3.10.9",
"Optician",
"Optician",
"Optiker/Optikerin",
"opticien(ne)",
"ottico(-a)"),
/**
* EN: Optometrist.
* DE: Optometrist/Optometristin.
* FR: optométriste.
* IT: optometrista.
*/
OPTOMETRIST("01100",
"2.16.756.5.30.1.127.3.10.9",
"Optometrist",
"Optometrist",
"Optometrist/Optometristin",
"optométriste",
"optometrista"),
/**
* EN: orthoptist.
* DE: Orthoptist/Orthoptistin.
* FR: orthoptiste.
* IT: ortottista.
*/
ORTHOPTIST("01200",
"2.16.756.5.30.1.127.3.10.9",
"Orthoptist",
"orthoptist",
"Orthoptist/Orthoptistin",
"orthoptiste",
"ortottista"),
/**
* EN: Osteopath.
* DE: Osteopath/Osteopathin.
* FR: ostéopathe.
* IT: osteopata.
*/
OSTEOPATH("01300",
"2.16.756.5.30.1.127.3.10.9",
"Osteopath",
"Osteopath",
"Osteopath/Osteopathin",
"ostéopathe",
"osteopata"),
/**
* EN: Other.
* DE: Andere.
* FR: autre.
* IT: altro.
*/
OTHER("00000",
"2.16.756.5.30.1.127.3.10.9",
"Other",
"Other",
"Andere",
"autre",
"altro"),
/**
* EN: Paramedic.
* DE: Rettungssanitäter/Rettungssanitäterin.
* FR: ambulancier(-ère).
* IT: soccorritore(-trice).
*/
PARAMEDIC("01500",
"2.16.756.5.30.1.127.3.10.9",
"Rettungssanitäterin/Rettungssanitäter",
"Paramedic",
"Rettungssanitäter/Rettungssanitäterin",
"ambulancier(-ère)",
"soccorritore(-trice)"),
/**
* EN: Pharmacist.
* DE: Apotheker/Apothekerin.
* FR: pharmacien(ne).
* IT: farmacista.
*/
PHARMACIST("46255001",
"2.16.840.1.113883.6.96",
"Pharmacist (occupation)",
"Pharmacist",
"Apotheker/Apothekerin",
"pharmacien(ne)",
"farmacista"),
/**
* EN: Physician.
* DE: Arzt/Ärztin.
* FR: médecin.
* IT: medico.
*/
PHYSICIAN("309343006",
"2.16.840.1.113883.6.96",
"Physician (occupation)",
"Physician",
"Arzt/Ärztin",
"médecin",
"medico"),
/**
* EN: Physiotherapist.
* DE: Physiotherapeut/Physiotherapeutin.
* FR: physiothérapeute.
* IT: fisioterapista.
*/
PHYSIOTHERAPIST("36682004",
"2.16.840.1.113883.6.96",
"Physiotherapist (occupation)",
"Physiotherapist",
"Physiotherapeut/Physiotherapeutin",
"physiothérapeute",
"fisioterapista"),
/**
* EN: Podiatrist.
* DE: Podologe/Podologin.
* FR: podologue.
* IT: podologo(-a).
*/
PODIATRIST("01400",
"2.16.756.5.30.1.127.3.10.9",
"Podologin/Podologe",
"Podiatrist",
"Podologe/Podologin",
"podologue",
"podologo(-a)"),
/**
* EN: Professional nurse.
* DE: Pflegefachmann/Pflegefachfrau.
* FR: infirmier(-ère).
* IT: infermiere(-a).
*/
PROFESSIONAL_NURSE("106292003",
"2.16.840.1.113883.6.96",
"Professional nurse (occupation)",
"Professional nurse",
"Pflegefachmann/Pflegefachfrau",
"infirmier(-ère)",
"infermiere(-a)"),
/**
* EN: Psychologist.
* DE: Psychologe/Psychologin.
* FR: psychologue.
* IT: psicologo(-a).
*/
PSYCHOLOGIST("59944000",
"2.16.840.1.113883.6.96",
"Psychologist (occupation)",
"Psychologist",
"Psychologe/Psychologin",
"psychologue",
"psicologo(-a)"),
/**
* EN: Registered midwife.
* DE: Registrierte Hebamme.
* FR: sage-femme.
* IT: levatrice.
*/
REGISTERED_MIDWIFE("309453006",
"2.16.840.1.113883.6.96",
"Registered midwife (occupation)",
"Registered midwife",
"Registrierte Hebamme",
"sage-femme",
"levatrice"),
/**
* EN: Speech/language therapist.
* DE: Sprachtherapeut/Sprachtherapeutin.
* FR: orthophoniste.
* IT: logopedista.
*/
SPEECH_LANGUAGE_THERAPIST("159026005",
"2.16.840.1.113883.6.96",
"Speech/language therapist (occupation)",
"Speech/language therapist",
"Sprachtherapeut/Sprachtherapeutin",
"orthophoniste",
"logopedista");
/**
* EN: Code for Activation therapy specialist.
* DE: Code für Fachperson für Aktivierung.
* FR: Code de spécialiste de l'activation.
* IT: Code per specialista in attivazione.
*/
public static final String ACTIVATION_THERAPY_SPECIALIST_CODE = "00100";
/**
* EN: Code for Biomedical analyst.
* DE: Code für Biomedizinischer Analytiker/Biomedizinische Analytikerin.
* FR: Code de technicien(ne) en analyses biomédicales.
* IT: Code per tecnico(-a) in analisi biomediche.
*/
public static final String BIOMEDICAL_ANALYST_CODE = "00300";
/**
* EN: Code for Chiropractor.
* DE: Code für Chiropraktiker/Chiropraktikerin.
* FR: Code de chiropraticien(ne).
* IT: Code per chiropratico(-a).
*/
public static final String CHIROPRACTOR_CODE = "3842006";
/**
* EN: Code for Dental hygienist.
* DE: Code für Dentalhygieniker/Dentalhygienikerin.
* FR: Code de hygiéniste dentaire.
* IT: Code per igienista dentale.
*/
public static final String DENTAL_HYGIENIST_CODE = "00400";
/**
* EN: Code for Dentist.
* DE: Code für Zahnarzt/Zahnärztin.
* FR: Code de dentiste.
* IT: Code per dentista.
*/
public static final String DENTIST_CODE = "106289002";
/**
* EN: Code for Dietitian.
* DE: Code für Ernährungsberater/Ernährungsberaterin.
* FR: Code de diététicien(ne).
* IT: Code per dietista.
*/
public static final String DIETITIAN_CODE = "159033005";
/**
* EN: Code for Druggist.
* DE: Code für Drogist/Drogistin.
* FR: Code de droguiste.
* IT: Code per droghiere(-a).
*/
public static final String DRUGGIST_CODE = "00500";
/**
* EN: Code for Healthcare assistant.
* DE: Code für Fachperson Gesundheit.
* FR: Code de assistant(e) en soins et santé communautaire.
* IT: Code per operatore(-trice) sociosanitario.
*/
public static final String HEALTHCARE_ASSISTANT_CODE = "00700";
/**
* EN: Code for Medical masseur.
* DE: Code für Medizinischer Masseur/Medizinische Masseurin.
* FR: Code de masseur(-euse) médical.
* IT: Code per massaggiatore(-trice) medicale.
*/
public static final String MEDICAL_MASSEUR_CODE = "00900";
/**
* EN: Code for Medical-technical radiology assistant.
* DE: Code für Fachperson für medizinisch-technische Radiologie.
* FR: Code de technicien(ne) en radiologie médicale.
* IT: Code per tecnico(-a) di radiologia medica.
*/
public static final String MEDICAL_TECHNICAL_RADIOLOGY_ASSISTANT_CODE = "00600";
/**
* EN: Code for Naturopathic practitioner.
* DE: Code für Naturheilpraktiker/Naturheilpraktikerin.
* FR: Code de naturopathe.
* IT: Code per naturopata.
*/
public static final String NATUROPATHIC_PRACTITIONER_CODE = "01000";
/**
* EN: Code for Occupational therapist.
* DE: Code für Ergotherapeut/Ergotherapeutin.
* FR: Code de ergothérapeute.
* IT: Code per ergoterapista.
*/
public static final String OCCUPATIONAL_THERAPIST_CODE = "80546007";
/**
* EN: Code for Operating room technician.
* DE: Code für Fachperson Operationstechnik.
* FR: Code de technicien(ne) en salle d'opération.
* IT: Code per tecnico(-a) di sala operatoria.
*/
public static final String OPERATING_ROOM_TECHNICIAN_CODE = "00800";
/**
* EN: Code for Optician.
* DE: Code für Optiker/Optikerin.
* FR: Code de opticien(ne).
* IT: Code per ottico(-a).
*/
public static final String OPTICIAN_CODE = "00200";
/**
* EN: Code for Optometrist.
* DE: Code für Optometrist/Optometristin.
* FR: Code de optométriste.
* IT: Code per optometrista.
*/
public static final String OPTOMETRIST_CODE = "01100";
/**
* EN: Code for orthoptist.
* DE: Code für Orthoptist/Orthoptistin.
* FR: Code de orthoptiste.
* IT: Code per ortottista.
*/
public static final String ORTHOPTIST_CODE = "01200";
/**
* EN: Code for Osteopath.
* DE: Code für Osteopath/Osteopathin.
* FR: Code de ostéopathe.
* IT: Code per osteopata.
*/
public static final String OSTEOPATH_CODE = "01300";
/**
* EN: Code for Other.
* DE: Code für Andere.
* FR: Code de autre.
* IT: Code per altro.
*/
public static final String OTHER_CODE = "00000";
/**
* EN: Code for Paramedic.
* DE: Code für Rettungssanitäter/Rettungssanitäterin.
* FR: Code de ambulancier(-ère).
* IT: Code per soccorritore(-trice).
*/
public static final String PARAMEDIC_CODE = "01500";
/**
* EN: Code for Pharmacist.
* DE: Code für Apotheker/Apothekerin.
* FR: Code de pharmacien(ne).
* IT: Code per farmacista.
*/
public static final String PHARMACIST_CODE = "46255001";
/**
* EN: Code for Physician.
* DE: Code für Arzt/Ärztin.
* FR: Code de médecin.
* IT: Code per medico.
*/
public static final String PHYSICIAN_CODE = "309343006";
/**
* EN: Code for Physiotherapist.
* DE: Code für Physiotherapeut/Physiotherapeutin.
* FR: Code de physiothérapeute.
* IT: Code per fisioterapista.
*/
public static final String PHYSIOTHERAPIST_CODE = "36682004";
/**
* EN: Code for Podiatrist.
* DE: Code für Podologe/Podologin.
* FR: Code de podologue.
* IT: Code per podologo(-a).
*/
public static final String PODIATRIST_CODE = "01400";
/**
* EN: Code for Professional nurse.
* DE: Code für Pflegefachmann/Pflegefachfrau.
* FR: Code de infirmier(-ère).
* IT: Code per infermiere(-a).
*/
public static final String PROFESSIONAL_NURSE_CODE = "106292003";
/**
* EN: Code for Psychologist.
* DE: Code für Psychologe/Psychologin.
* FR: Code de psychologue.
* IT: Code per psicologo(-a).
*/
public static final String PSYCHOLOGIST_CODE = "59944000";
/**
* EN: Code for Registered midwife.
* DE: Code für Registrierte Hebamme.
* FR: Code de sage-femme.
* IT: Code per levatrice.
*/
public static final String REGISTERED_MIDWIFE_CODE = "309453006";
/**
* EN: Code for Speech/language therapist.
* DE: Code für Sprachtherapeut/Sprachtherapeutin.
* FR: Code de orthophoniste.
* IT: Code per logopedista.
*/
public static final String SPEECH_LANGUAGE_THERAPIST_CODE = "159026005";
/**
* Identifier of the value set.
*/
public static final String VALUE_SET_ID = "2.16.756.5.30.1.127.3.10.8.1";
/**
* Name of the value set.
*/
public static final String VALUE_SET_NAME = "HCProfessional.hcProfession";
/**
* Gets the Enum with a given code.
*
* @param code The code value.
* @return the enum value found or {@code null}.
*/
@Nullable
public static HcpProfession getEnum(@Nullable final String code) {
for (final HcpProfession x : values()) {
if (x.getCodeValue().equals(code)) {
return x;
}
}
return null;
}
/**
* Checks if a given enum is part of this value set.
*
* @param enumName The name of the enum.
* @return {@code true} if the name is found in this value set, {@code false} otherwise.
*/
public static boolean isEnumOfValueSet(@Nullable final String enumName) {
if (enumName == null) {
return false;
}
try {
Enum.valueOf(HcpProfession.class,
enumName);
return true;
} catch (final IllegalArgumentException ex) {
return false;
}
}
/**
* Checks if a given code value is in this value set.
*
* @param codeValue The code value.
* @return {@code true} if the value is found in this value set, {@code false} otherwise.
*/
public static boolean isInValueSet(@Nullable final String codeValue) {
for (final HcpProfession x : values()) {
if (x.getCodeValue().equals(codeValue)) {
return true;
}
}
return false;
}
/**
* Machine interpretable and (inside this class) unique code.
*/
@NonNull
private final String code;
/**
* Identifier of the referencing code system.
*/
@NonNull
private final String codeSystem;
/**
* The display names per language. It's always stored in the given order: default display name (0), in English (1),
* in German (2), in French (3) and in Italian (4).
*/
@NonNull
private final String[] displayNames;
/**
* Instantiates this enum with a given code and display names.
*
* @param code The code value.
* @param codeSystem The code system (OID).
* @param displayName The default display name.
* @param displayNameEn The display name in English.
* @param displayNameDe The display name in German.
* @param displayNameFr The display name in French.
* @param displayNameIt The display name in Italian.
*/
HcpProfession(@NonNull final String code, @NonNull final String codeSystem, @NonNull final String displayName, @NonNull final String displayNameEn, @NonNull final String displayNameDe, @NonNull final String displayNameFr, @NonNull final String displayNameIt) {
this.code = Objects.requireNonNull(code);
this.codeSystem = Objects.requireNonNull(codeSystem);
this.displayNames = new String[5];
this.displayNames[0] = Objects.requireNonNull(displayName);
this.displayNames[1] = Objects.requireNonNull(displayNameEn);
this.displayNames[2] = Objects.requireNonNull(displayNameDe);
this.displayNames[3] = Objects.requireNonNull(displayNameFr);
this.displayNames[4] = Objects.requireNonNull(displayNameIt);
}
/**
* Gets the code system identifier.
*
* @return the code system identifier.
*/
@Override
@NonNull
public String getCodeSystemId() {
return this.codeSystem;
}
/**
* Gets the code system name.
*
* @return the code system name.
*/
@Override
@NonNull
public String getCodeSystemName() {
final var codeSystem = CodeSystems.getEnum(this.codeSystem);
if (codeSystem != null) {
return codeSystem.getCodeSystemName();
}
return "";
}
/**
* Gets the code value as a string.
*
* @return the code value.
*/
@Override
@NonNull
public String getCodeValue() {
return this.code;
}
/**
* Gets the display name defined by the language param.
*
* @param languageCode The language code to get the display name for, {@code null} to get the default display name.
* @return the display name in the desired language.
*/
@Override
@NonNull
public String getDisplayName(@Nullable final LanguageCode languageCode) {
if (languageCode == null) {
return this.displayNames[0];
}
return switch(languageCode) {
case ENGLISH ->
this.displayNames[1];
case GERMAN ->
this.displayNames[2];
case FRENCH ->
this.displayNames[3];
case ITALIAN ->
this.displayNames[4];
default ->
"TOTRANSLATE";
};
}
/**
* Gets the value set identifier.
*
* @return the value set identifier.
*/
@Override
@NonNull
public String getValueSetId() {
return VALUE_SET_ID;
}
/**
* Gets the value set name.
*
* @return the value set name.
*/
@Override
@NonNull
public String getValueSetName() {
return VALUE_SET_NAME;
}
}