Class RequestStatus

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class RequestStatus
    extends Code
    • Field Detail

      • DRAFT

        public static final RequestStatus DRAFT
        Draft

        The request has been created but is not yet complete or ready for action.

      • ACTIVE

        public static final RequestStatus ACTIVE
        Active

        The request is in force and ready to be acted upon.

      • ON_HOLD

        public static final RequestStatus ON_HOLD
        On Hold

        The request (and any implicit authorization to act) has been temporarily withdrawn but is expected to resume in the future.

      • REVOKED

        public static final RequestStatus REVOKED
        Revoked

        The request (and any implicit authorization to act) has been terminated prior to the known full completion of the intended actions. No further activity should occur.

      • COMPLETED

        public static final RequestStatus COMPLETED
        Completed

        The activity described by the request has been fully performed. No further activity will occur.

      • ENTERED_IN_ERROR

        public static final RequestStatus ENTERED_IN_ERROR
        Entered in Error

        This request should never have existed and should be considered 'void'. (It is possible that real-world decisions were based on it. If real-world activity has occurred, the status should be "revoked" rather than "entered-in-error".).

      • UNKNOWN

        public static final RequestStatus UNKNOWN
        Unknown

        The authoring/source 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 authoring/source system does not know which.

    • Method Detail

      • of

        public static RequestStatus of​(String value)
        Factory method for creating RequestStatus objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating RequestStatus objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating RequestStatus objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code