Enum ListOrder

    • 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.
      • NULL

        public static final ListOrder NULL
        added to help the parsers
    • 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 name
        NullPointerException - if the argument is null
      • fromCode

        public static ListOrder fromCode​(String codeString)
                                  throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException