Enum Class DateType

java.lang.Object
java.lang.Enum<DateType>
hdi.model.enumtype.DateType
All Implemented Interfaces:
EdiQualifier, Serializable, Comparable<DateType>, Constable

public enum DateType extends Enum<DateType> implements EdiQualifier
  • Enum Constant Details

    • SERVICE

      public static final DateType SERVICE
    • STATEMENT

      public static final DateType STATEMENT
    • ADMISSION

      public static final DateType ADMISSION
    • DISCHARGE

      public static final DateType DISCHARGE
    • RECEIVED

      public static final DateType RECEIVED
    • ACUTE_MANIFESTATION

      public static final DateType ACUTE_MANIFESTATION
    • INITIAL_TREATMENT

      public static final DateType INITIAL_TREATMENT
    • LAST_X_RAY

      public static final DateType LAST_X_RAY
    • SERVICE_PERIOD_START

      public static final DateType SERVICE_PERIOD_START
    • SERVICE_PERIOD_END

      public static final DateType SERVICE_PERIOD_END
    • ONSET_OF_CURRENT_ILLNESS

      public static final DateType ONSET_OF_CURRENT_ILLNESS
    • LAST_SEEN

      public static final DateType LAST_SEEN
    • ACCIDENT

      public static final DateType ACCIDENT
    • LAST_MENSTRUAL_PERIOD

      public static final DateType LAST_MENSTRUAL_PERIOD
    • PRESCRIPTION

      public static final DateType PRESCRIPTION
    • DISABILITY_FROM_TO

      public static final DateType DISABILITY_FROM_TO
    • DISABILITY_FROM

      public static final DateType DISABILITY_FROM
    • DISABILITY_TO

      public static final DateType DISABILITY_TO
  • Method Details

    • values

      public static DateType[] 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 DateType 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
    • fromEdi

      public static DateType fromEdi(String ediCode)
    • ediValue

      public String ediValue()
      Specified by:
      ediValue in interface EdiQualifier
    • desc

      public String desc()
      Specified by:
      desc in interface EdiQualifier