Class SupplyRequestStatus
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.SupplyRequestStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class SupplyRequestStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSupplyRequestStatus.Builderstatic classSupplyRequestStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static SupplyRequestStatusACTIVEActivestatic SupplyRequestStatusCANCELLEDCancelledstatic SupplyRequestStatusCOMPLETEDCompletedstatic SupplyRequestStatusDRAFTDraftstatic SupplyRequestStatusENTERED_IN_ERROREntered in Errorstatic SupplyRequestStatusSUSPENDEDSuspendedstatic SupplyRequestStatusUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SupplyRequestStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating SupplyRequestStatus objects from a passed string value.booleanequals(Object obj)SupplyRequestStatus.ValueSetgetValueAsEnumConstant()inthashCode()static SupplyRequestStatusof(SupplyRequestStatus.ValueSet value)Factory method for creating SupplyRequestStatus objects from a passed enum value.static SupplyRequestStatusof(String value)Factory method for creating SupplyRequestStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating SupplyRequestStatus objects from a passed string value.SupplyRequestStatus.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
DRAFT
public static final SupplyRequestStatus DRAFT
DraftThe request has been created but is not yet complete or ready for action.
-
ACTIVE
public static final SupplyRequestStatus ACTIVE
ActiveThe request is ready to be acted upon.
-
SUSPENDED
public static final SupplyRequestStatus SUSPENDED
SuspendedThe authorization/request to act has been temporarily withdrawn but is expected to resume in the future.
-
CANCELLED
public static final SupplyRequestStatus CANCELLED
CancelledThe 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
CompletedActivity against the request has been sufficiently completed to the satisfaction of the requester.
-
ENTERED_IN_ERROR
public static final SupplyRequestStatus ENTERED_IN_ERROR
Entered in ErrorThis 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
UnknownThe 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.
-
-
Method Detail
-
getValueAsEnumConstant
public SupplyRequestStatus.ValueSet getValueAsEnumConstant()
-
of
public static SupplyRequestStatus of(SupplyRequestStatus.ValueSet value)
Factory method for creating SupplyRequestStatus objects from a passed enum value.
-
of
public static SupplyRequestStatus of(String value)
Factory method for creating SupplyRequestStatus 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 SupplyRequestStatus 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 SupplyRequestStatus 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
-
toBuilder
public SupplyRequestStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static SupplyRequestStatus.Builder builder()
-
-