
Package org.hl7.fhir.dstu3.model
Enum SupplyRequest.SupplyRequestStatus
- java.lang.Object
-
- java.lang.Enum<SupplyRequest.SupplyRequestStatus>
-
- org.hl7.fhir.dstu3.model.SupplyRequest.SupplyRequestStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<SupplyRequest.SupplyRequestStatus>
- Enclosing class:
- SupplyRequest
public static enum SupplyRequest.SupplyRequestStatus extends Enum<SupplyRequest.SupplyRequestStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
The request is ready to be acted uponCANCELLED
The authorization/request to act has been terminated prior to the full completion of the intended actions.COMPLETED
Activity against the request has been sufficiently completed to the satisfaction of the requesterDRAFT
The request has been created but is not yet complete or ready for actionENTEREDINERROR
This electronic record should never have existed, though it is possible that real-world decisions were based on it.NULL
added to help the parsers with the generic typesSUSPENDED
The authorization/request to act has been temporarily withdrawn but is expected to resume in the futureUNKNOWN
The authoring system does not know which of the status values currently applies for this request.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SupplyRequest.SupplyRequestStatus
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static SupplyRequest.SupplyRequestStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static SupplyRequest.SupplyRequestStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAFT
public static final SupplyRequest.SupplyRequestStatus DRAFT
The request has been created but is not yet complete or ready for action
-
ACTIVE
public static final SupplyRequest.SupplyRequestStatus ACTIVE
The request is ready to be acted upon
-
SUSPENDED
public static final SupplyRequest.SupplyRequestStatus SUSPENDED
The authorization/request to act has been temporarily withdrawn but is expected to resume in the future
-
CANCELLED
public static final SupplyRequest.SupplyRequestStatus 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 SupplyRequest.SupplyRequestStatus COMPLETED
Activity against the request has been sufficiently completed to the satisfaction of the requester
-
ENTEREDINERROR
public static final SupplyRequest.SupplyRequestStatus 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 SupplyRequest.SupplyRequestStatus 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, it's just not known which one.
-
NULL
public static final SupplyRequest.SupplyRequestStatus NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static SupplyRequest.SupplyRequestStatus[] 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 (SupplyRequest.SupplyRequestStatus c : SupplyRequest.SupplyRequestStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SupplyRequest.SupplyRequestStatus 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 SupplyRequest.SupplyRequestStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-