Enum Class ServiceEventCode

java.lang.Object
java.lang.Enum<ServiceEventCode>
org.projecthusky.common.at.enums.ServiceEventCode
All Implemented Interfaces:
Serializable, Comparable<ServiceEventCode>, Constable, ValueSetEnumInterfaceAt, CodedMetadataEnumInterface, TranslatedEnumInterface, ValueSetEnumInterface

public enum ServiceEventCode extends Enum<ServiceEventCode> implements ValueSetEnumInterfaceAt
  • Enum Constant Details

    • HEALTH_INSURANCE_PRESCRIPTION

      public static final ServiceEventCode HEALTH_INSURANCE_PRESCRIPTION
    • PRIVATE_PRESCRIPTION

      public static final ServiceEventCode PRIVATE_PRESCRIPTION
    • SUBSTITUTION_PRESCRIPTION

      public static final ServiceEventCode SUBSTITUTION_PRESCRIPTION
    • SERVICE_IN_PATIENT_STAY

      public static final ServiceEventCode SERVICE_IN_PATIENT_STAY
    • HEALTH_SERVICE_CARE

      public static final ServiceEventCode HEALTH_SERVICE_CARE
    • BLOOD_GROUP_SEROLOGY

      public static final ServiceEventCode BLOOD_GROUP_SEROLOGY
    • BLOOD_GAS_STUDIES

      public static final ServiceEventCode BLOOD_GAS_STUDIES
    • HEMATOLOGY_STUDIES

      public static final ServiceEventCode HEMATOLOGY_STUDIES
    • COAGULATION_STUDIES

      public static final ServiceEventCode COAGULATION_STUDIES
    • CHEMISTRY_STUDIES

      public static final ServiceEventCode CHEMISTRY_STUDIES
    • HORMONES_VITAMINS_TUMOURMARKER

      public static final ServiceEventCode HORMONES_VITAMINS_TUMOURMARKER
    • TOXICOLOGY_STUDIES

      public static final ServiceEventCode TOXICOLOGY_STUDIES
    • THERAPEUTIC_DRUG_MONITORING_STUDIES

      public static final ServiceEventCode THERAPEUTIC_DRUG_MONITORING_STUDIES
    • INFECTIOUS_DISEASE_STUDIES

      public static final ServiceEventCode INFECTIOUS_DISEASE_STUDIES
    • AUTOIMMUNE_STUDIES

      public static final ServiceEventCode AUTOIMMUNE_STUDIES
    • ALLERGY_STUDIES

      public static final ServiceEventCode ALLERGY_STUDIES
    • URINALYSIS_STUDIES

      public static final ServiceEventCode URINALYSIS_STUDIES
    • STOOL_STUDIES

      public static final ServiceEventCode STOOL_STUDIES
    • LIQUOR_STUDIES

      public static final ServiceEventCode LIQUOR_STUDIES
    • GENETIC_STUDIES

      public static final ServiceEventCode GENETIC_STUDIES
    • OTHER_STUDIES

      public static final ServiceEventCode OTHER_STUDIES
    • MICROBIOLOGY_STUDIES

      public static final ServiceEventCode MICROBIOLOGY_STUDIES
  • Method Details

    • values

      public static ServiceEventCode[] 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

      public static ServiceEventCode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getEnum

      public static ServiceEventCode getEnum(String code)
      Gets the Enum with a given code
      Parameters:
      code -
      Returns:
      the enum
    • isEnumOfValueSet

      public static boolean isEnumOfValueSet(String enumName)
      Checks if a given enum is part of this value set.
      Parameters:
      enumName -
      Returns:
      true, if enum is in this value set
    • isInValueSet

      public static boolean isInValueSet(String codeValue)
      Checks if a given code value is in this value set.
      Parameters:
      codeValue -
      Returns:
      true, if is in value set
    • getCodeSystemId

      public String getCodeSystemId()
      Gets the code system identifier.
      Specified by:
      getCodeSystemId in interface ValueSetEnumInterface
      Returns:
      the code system identifier
    • getCodeSystemName

      public String getCodeSystemName()
      Gets the code system name.
      Specified by:
      getCodeSystemName in interface ValueSetEnumInterface
      Returns:
      the code system identifier
    • getCodeValue

      public String getCodeValue()
      Gets the actual Code as string
      Specified by:
      getCodeValue in interface ValueSetEnumInterface
      Returns:
      the code
    • getDisplayNameAt

      public String getDisplayNameAt(LanguageCode languageCode)
      Gets the display name defined by the language param. If there is no english translation, the default display name is returned.
      Specified by:
      getDisplayNameAt in interface ValueSetEnumInterfaceAt
      Parameters:
      languageCode - the language code to get the display name for
      Returns:
      returns the display name in the desired language. if language not found, display name in german will returned
    • getValueSetId

      public String getValueSetId()
      Gets the value set identifier.
      Specified by:
      getValueSetId in interface ValueSetEnumInterface
      Returns:
      the value set identifier
    • getValueSetName

      public String getValueSetName()
      Gets the value set name.
      Specified by:
      getValueSetName in interface ValueSetEnumInterface
      Returns:
      the value set name