Package com.ibm.fhir.model.type.code
Class FlagStatus
- 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.FlagStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class FlagStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFlagStatus.Builderstatic classFlagStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static FlagStatusACTIVEActivestatic FlagStatusENTERED_IN_ERROREntered in Errorstatic FlagStatusINACTIVEInactive
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FlagStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating FlagStatus objects from a passed string value.booleanequals(Object obj)FlagStatus.ValueSetgetValueAsEnumConstant()inthashCode()static FlagStatusof(FlagStatus.ValueSet value)Factory method for creating FlagStatus objects from a passed enum value.static FlagStatusof(String value)Factory method for creating FlagStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating FlagStatus objects from a passed string value.FlagStatus.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 FlagStatus ACTIVE
ActiveA current flag that should be displayed to a user. A system may use the category to determine which user roles should view the flag.
-
INACTIVE
public static final FlagStatus INACTIVE
InactiveThe flag no longer needs to be displayed.
-
ENTERED_IN_ERROR
public static final FlagStatus ENTERED_IN_ERROR
Entered in ErrorThe flag was added in error and should no longer be displayed.
-
-
Method Detail
-
getValueAsEnumConstant
public FlagStatus.ValueSet getValueAsEnumConstant()
-
of
public static FlagStatus of(FlagStatus.ValueSet value)
Factory method for creating FlagStatus objects from a passed enum value.
-
of
public static FlagStatus of(String value)
Factory method for creating FlagStatus 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 FlagStatus 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 FlagStatus 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 FlagStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static FlagStatus.Builder builder()
-
-