Enum SupplyrequestStatus
- java.lang.Object
-
- java.lang.Enum<SupplyrequestStatus>
-
- org.hl7.fhir.r4.model.codesystems.SupplyrequestStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<SupplyrequestStatus>
public enum SupplyrequestStatus extends Enum<SupplyrequestStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
The request is ready to be acted upon.CANCELLED
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 requester.DRAFT
The request has been created but is not yet complete or ready for action.ENTEREDINERROR
This electronic record should never have existed, though it is possible that real-world decisions were based on it.NULL
added to help the parsersSUSPENDED
The authorization/request to act has been temporarily withdrawn but is expected to resume in the future.UNKNOWN
The authoring/source system does not know which of the status values currently applies for this observation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SupplyrequestStatus
fromCode(String codeString)
String
getDefinition()
String
getDisplay()
String
getSystem()
String
toCode()
static SupplyrequestStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static 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 SupplyrequestStatus DRAFT
The request has been created but is not yet complete or ready for action.
-
ACTIVE
public static final SupplyrequestStatus ACTIVE
The request is ready to be acted upon.
-
SUSPENDED
public static final SupplyrequestStatus SUSPENDED
The authorization/request to act has been temporarily withdrawn but is expected to resume in the future.
-
CANCELLED
public static final 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 SupplyrequestStatus COMPLETED
Activity against the request has been sufficiently completed to the satisfaction of the requester.
-
ENTEREDINERROR
public static final 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 SupplyrequestStatus UNKNOWN
The authoring/source system does not know which of the status values currently applies for this observation. 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.
-
NULL
public static final SupplyrequestStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static 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 (SupplyrequestStatus c : 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 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 SupplyrequestStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-