Package com.ibm.fhir.model.type.code
Class FHIRDeviceStatus
- 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.FHIRDeviceStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class FHIRDeviceStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFHIRDeviceStatus.Builderstatic classFHIRDeviceStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static FHIRDeviceStatusACTIVEActivestatic FHIRDeviceStatusENTERED_IN_ERROREntered in Errorstatic FHIRDeviceStatusINACTIVEInactivestatic FHIRDeviceStatusUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FHIRDeviceStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating FHIRDeviceStatus objects from a passed string value.booleanequals(Object obj)FHIRDeviceStatus.ValueSetgetValueAsEnumConstant()inthashCode()static FHIRDeviceStatusof(FHIRDeviceStatus.ValueSet value)Factory method for creating FHIRDeviceStatus objects from a passed enum value.static FHIRDeviceStatusof(String value)Factory method for creating FHIRDeviceStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating FHIRDeviceStatus objects from a passed string value.FHIRDeviceStatus.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
-
ACTIVE
public static final FHIRDeviceStatus ACTIVE
ActiveThe device is available for use. Note: For *implanted devices* this means that the device is implanted in the patient.
-
INACTIVE
public static final FHIRDeviceStatus INACTIVE
InactiveThe device is no longer available for use (e.g. lost, expired, damaged). Note: For *implanted devices* this means that the device has been removed from the patient.
-
ENTERED_IN_ERROR
public static final FHIRDeviceStatus ENTERED_IN_ERROR
Entered in ErrorThe device was entered in error and voided.
-
UNKNOWN
public static final FHIRDeviceStatus UNKNOWN
UnknownThe status of the device has not been determined.
-
-
Method Detail
-
getValueAsEnumConstant
public FHIRDeviceStatus.ValueSet getValueAsEnumConstant()
-
of
public static FHIRDeviceStatus of(FHIRDeviceStatus.ValueSet value)
Factory method for creating FHIRDeviceStatus objects from a passed enum value.
-
of
public static FHIRDeviceStatus of(String value)
Factory method for creating FHIRDeviceStatus 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 FHIRDeviceStatus 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 FHIRDeviceStatus 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 FHIRDeviceStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static FHIRDeviceStatus.Builder builder()
-
-