Package org.hl7.fhir.dstu2.model
Enum SupplyRequest.SupplyRequestStatus
- java.lang.Object
-
- java.lang.Enum<SupplyRequest.SupplyRequestStatus>
-
- org.hl7.fhir.dstu2.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 CANCELLEDThe orderer of the supply cancelled the request.COMPLETEDSupply has been received by the requestor.FAILEDThe supply will not be completed because the supplier was unable or unwilling to supply the item.NULLadded to help the parsersREQUESTEDSupply has been requested, but not dispensed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SupplyRequest.SupplyRequestStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static SupplyRequest.SupplyRequestStatusvalueOf(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
-
REQUESTED
public static final SupplyRequest.SupplyRequestStatus REQUESTED
Supply has been requested, but not dispensed.
-
COMPLETED
public static final SupplyRequest.SupplyRequestStatus COMPLETED
Supply has been received by the requestor.
-
FAILED
public static final SupplyRequest.SupplyRequestStatus FAILED
The supply will not be completed because the supplier was unable or unwilling to supply the item.
-
CANCELLED
public static final SupplyRequest.SupplyRequestStatus CANCELLED
The orderer of the supply cancelled the request.
-
NULL
public static final SupplyRequest.SupplyRequestStatus NULL
added to help the parsers
-
-
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()
-
-