Class CarePlanStatus
- 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.CarePlanStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class CarePlanStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCarePlanStatus.Builderstatic classCarePlanStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static CarePlanStatusACTIVEActivestatic CarePlanStatusCOMPLETEDCompletedstatic CarePlanStatusDRAFTDraftstatic CarePlanStatusENTERED_IN_ERROREntered in Errorstatic CarePlanStatusON_HOLDOn Holdstatic CarePlanStatusREVOKEDRevokedstatic CarePlanStatusUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CarePlanStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating CarePlanStatus objects from a passed string value.booleanequals(Object obj)CarePlanStatus.ValueSetgetValueAsEnumConstant()inthashCode()static CarePlanStatusof(CarePlanStatus.ValueSet value)Factory method for creating CarePlanStatus objects from a passed enum value.static CarePlanStatusof(String value)Factory method for creating CarePlanStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating CarePlanStatus objects from a passed string value.CarePlanStatus.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 CarePlanStatus DRAFT
DraftThe request has been created but is not yet complete or ready for action.
-
ACTIVE
public static final CarePlanStatus ACTIVE
ActiveThe request is in force and ready to be acted upon.
-
ON_HOLD
public static final CarePlanStatus ON_HOLD
On HoldThe request (and any implicit authorization to act) has been temporarily withdrawn but is expected to resume in the future.
-
REVOKED
public static final CarePlanStatus REVOKED
RevokedThe 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
public static final CarePlanStatus COMPLETED
CompletedThe activity described by the request has been fully performed. No further activity will occur.
-
ENTERED_IN_ERROR
public static final CarePlanStatus ENTERED_IN_ERROR
Entered in ErrorThis 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
public static final CarePlanStatus UNKNOWN
UnknownThe 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.
-
-
Method Detail
-
getValueAsEnumConstant
public CarePlanStatus.ValueSet getValueAsEnumConstant()
-
of
public static CarePlanStatus of(CarePlanStatus.ValueSet value)
Factory method for creating CarePlanStatus objects from a passed enum value.
-
of
public static CarePlanStatus of(String value)
Factory method for creating CarePlanStatus 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 CarePlanStatus 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 CarePlanStatus 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 CarePlanStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static CarePlanStatus.Builder builder()
-
-