Enum Class ClassCode

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

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

    • DISCHARGE_SUMMARY

      public static final ClassCode DISCHARGE_SUMMARY
    • NURSTE_TRANSFER_NOTE

      public static final ClassCode NURSTE_TRANSFER_NOTE
    • LABORATORY_REPORT

      public static final ClassCode LABORATORY_REPORT
    • DIAGNOSTIC_IMAGE_STUDY

      public static final ClassCode DIAGNOSTIC_IMAGE_STUDY
    • KEY_IMAGES_DOCUMENT_RADIOLOGY

      public static final ClassCode KEY_IMAGES_DOCUMENT_RADIOLOGY
    • PHYSICIAN_NOTE

      public static final ClassCode PHYSICIAN_NOTE
    • HISTORY_IMMUNIZATION

      public static final ClassCode HISTORY_IMMUNIZATION
    • TELEHEALTH_NOTE

      public static final ClassCode TELEHEALTH_NOTE
    • MEDICATIONS

      public static final ClassCode MEDICATIONS
  • Field Details

  • Method Details

    • values

      public static ClassCode[] 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 ClassCode 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 ClassCode 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)
      Description copied from interface: ValueSetEnumInterfaceAt
      Gets the display name defined by the language parameter. If the language is unknown, german 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