Enum OrderStatus

    • Enum Constant Detail

      • PENDING

        public static final OrderStatus PENDING
        The order is known, but no processing has occurred at this time
      • REVIEW

        public static final OrderStatus REVIEW
        The order is undergoing initial processing to determine whether it will be accepted (usually this involves human review)
      • REJECTED

        public static final OrderStatus REJECTED
        The order was rejected because of a workflow/business logic reason
      • ERROR

        public static final OrderStatus ERROR
        The order was unable to be processed because of a technical error (i.e. unexpected error)
      • ACCEPTED

        public static final OrderStatus ACCEPTED
        The order has been accepted, and work is in progress.
      • CANCELLED

        public static final OrderStatus CANCELLED
        Processing the order was halted at the initiators request.
      • REPLACED

        public static final OrderStatus REPLACED
        The order has been cancelled and replaced by another.
      • ABORTED

        public static final OrderStatus ABORTED
        Processing the order was stopped because of some workflow/business logic reason.
    • Method Detail

      • values

        public static OrderStatus[] 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 (OrderStatus c : OrderStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OrderStatus 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 OrderStatus fromCode​(String codeString)
                                    throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException