Package org.hl7.fhir.r4.model
Enum ServiceRequest.ServiceRequestStatus
java.lang.Object
java.lang.Enum<ServiceRequest.ServiceRequestStatus>
org.hl7.fhir.r4.model.ServiceRequest.ServiceRequestStatus
- All Implemented Interfaces:
Serializable
,Comparable<ServiceRequest.ServiceRequestStatus>
- Enclosing class:
ServiceRequest
public static enum ServiceRequest.ServiceRequestStatus
extends Enum<ServiceRequest.ServiceRequestStatus>
-
Enum Constant Summary
Enum ConstantDescriptionThe request is in force and ready to be acted upon.The activity described by the request has been fully performed.The request has been created but is not yet complete or ready for action.This request should never have existed and should be considered 'void'.added to help the parsers with the generic typesThe request (and any implicit authorization to act) has been temporarily withdrawn but is expected to resume in the future.The request (and any implicit authorization to act) has been terminated prior to the known full completion of the intended actions.The authoring/source system does not know which of the status values currently applies for this request. -
Method Summary
Modifier and TypeMethodDescriptiontoCode()
Returns the enum constant of this type with the specified name.static ServiceRequest.ServiceRequestStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DRAFT
The request has been created but is not yet complete or ready for action. -
ACTIVE
The request is in force and ready to be acted upon. -
ONHOLD
The request (and any implicit authorization to act) has been temporarily withdrawn but is expected to resume in the future. -
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
The activity described by the request has been fully performed. No further activity will occur. -
ENTEREDINERROR
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
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. -
NULL
added to help the parsers with the generic types
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 ServiceRequest.ServiceRequestStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-