Enum ListOrder
- java.lang.Object
-
- java.lang.Enum<ListOrder>
-
- org.hl7.fhir.r4.model.codesystems.ListOrder
-
- All Implemented Interfaces:
Serializable,Comparable<ListOrder>
public enum ListOrder extends Enum<ListOrder>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALPHABETICThe list is sorted alphabetically by an unspecified property of the items in the list.CATEGORYThe list is sorted categorically by an unspecified property of the items in the list.ENTRYDATEThe list is sorted by the date the item was added to the list.EVENTDATEThe list is sorted by the data of the event.NULLadded to help the parsersPATIENTThe list is sorted by patient, with items for each patient grouped together.PRIORITYThe list is sorted by priority.SYSTEMThe list was sorted by the system.USERThe list was sorted by a user.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListOrderfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static ListOrdervalueOf(String name)Returns the enum constant of this type with the specified name.static ListOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER
public static final ListOrder USER
The list was sorted by a user. The criteria the user used are not specified.
-
SYSTEM
public static final ListOrder SYSTEM
The list was sorted by the system. The criteria the user used are not specified; define additional codes to specify a particular order (or use other defined codes).
-
EVENTDATE
public static final ListOrder EVENTDATE
The list is sorted by the data of the event. This can be used when the list has items which are dates with past or future events.
-
ENTRYDATE
public static final ListOrder ENTRYDATE
The list is sorted by the date the item was added to the list. Note that the date added to the list is not explicit in the list itself.
-
PRIORITY
public static final ListOrder PRIORITY
The list is sorted by priority. The exact method in which priority has been determined is not specified.
-
ALPHABETIC
public static final ListOrder ALPHABETIC
The list is sorted alphabetically by an unspecified property of the items in the list.
-
CATEGORY
public static final ListOrder CATEGORY
The list is sorted categorically by an unspecified property of the items in the list.
-
PATIENT
public static final ListOrder PATIENT
The list is sorted by patient, with items for each patient grouped together.
-
-
Method Detail
-
values
public static ListOrder[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ListOrder c : ListOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListOrder valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
fromCode
public static ListOrder fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-