Enum RequestStatus

    • Enum Constant Detail

      • DRAFT

        public static final RequestStatus DRAFT
        The request has been created but is not yet complete or ready for action
      • SUSPENDED

        public static final RequestStatus SUSPENDED
        The authorization/request to act has been temporarily withdrawn but is expected to resume in the future
      • CANCELLED

        public static final RequestStatus CANCELLED
        The authorization/request to act has been terminated prior to the full completion of the intended actions. No further activity should occur.
      • COMPLETED

        public static final RequestStatus COMPLETED
        Activity against the request has been sufficiently completed to the satisfaction of the requester
      • ENTEREDINERROR

        public static final RequestStatus ENTEREDINERROR
        This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be "cancelled" rather than "entered-in-error".)
      • UNKNOWN

        public static final RequestStatus UNKNOWN
        The authoring system does not know which of the status values currently applies for this request. Note: This concept is not to be used for "other" . One of the listed statuses is presumed to apply, but the system creating the request doesn't know.
    • Method Detail

      • values

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

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