Package com.ibm.fhir.model.type.code
Class SlotStatus
- 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.SlotStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class SlotStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSlotStatus.Builderstatic classSlotStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static SlotStatusBUSYBusystatic SlotStatusBUSY_TENTATIVEBusy (Tentative)static SlotStatusBUSY_UNAVAILABLEBusy (Unavailable)static SlotStatusENTERED_IN_ERROREntered in errorstatic SlotStatusFREEFree
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SlotStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating SlotStatus objects from a passed string value.booleanequals(Object obj)SlotStatus.ValueSetgetValueAsEnumConstant()inthashCode()static SlotStatusof(SlotStatus.ValueSet value)Factory method for creating SlotStatus objects from a passed enum value.static SlotStatusof(String value)Factory method for creating SlotStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating SlotStatus objects from a passed string value.SlotStatus.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
-
BUSY
public static final SlotStatus BUSY
BusyIndicates that the time interval is busy because one or more events have been scheduled for that interval.
-
FREE
public static final SlotStatus FREE
FreeIndicates that the time interval is free for scheduling.
-
BUSY_UNAVAILABLE
public static final SlotStatus BUSY_UNAVAILABLE
Busy (Unavailable)Indicates that the time interval is busy and that the interval cannot be scheduled.
-
BUSY_TENTATIVE
public static final SlotStatus BUSY_TENTATIVE
Busy (Tentative)Indicates that the time interval is busy because one or more events have been tentatively scheduled for that interval.
-
ENTERED_IN_ERROR
public static final SlotStatus ENTERED_IN_ERROR
Entered in errorThis instance should not have been part of this patient's medical record.
-
-
Method Detail
-
getValueAsEnumConstant
public SlotStatus.ValueSet getValueAsEnumConstant()
-
of
public static SlotStatus of(SlotStatus.ValueSet value)
Factory method for creating SlotStatus objects from a passed enum value.
-
of
public static SlotStatus of(String value)
Factory method for creating SlotStatus 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 SlotStatus 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 SlotStatus 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 SlotStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static SlotStatus.Builder builder()
-
-