Package com.ibm.fhir.model.type.code
Class ListStatus
- 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.ListStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ListStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListStatus.Builderstatic classListStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ListStatusCURRENTCurrentstatic ListStatusENTERED_IN_ERROREntered In Errorstatic ListStatusRETIREDRetired
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating ListStatus objects from a passed string value.booleanequals(Object obj)ListStatus.ValueSetgetValueAsEnumConstant()inthashCode()static ListStatusof(ListStatus.ValueSet value)Factory method for creating ListStatus objects from a passed enum value.static ListStatusof(String value)Factory method for creating ListStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ListStatus objects from a passed string value.ListStatus.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
-
CURRENT
public static final ListStatus CURRENT
CurrentThe list is considered to be an active part of the patient's record.
-
RETIRED
public static final ListStatus RETIRED
RetiredThe list is "old" and should no longer be considered accurate or relevant.
-
ENTERED_IN_ERROR
public static final ListStatus ENTERED_IN_ERROR
Entered In ErrorThe list was never accurate. It is retained for medico-legal purposes only.
-
-
Method Detail
-
getValueAsEnumConstant
public ListStatus.ValueSet getValueAsEnumConstant()
-
of
public static ListStatus of(ListStatus.ValueSet value)
Factory method for creating ListStatus objects from a passed enum value.
-
of
public static ListStatus of(String value)
Factory method for creating ListStatus 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 ListStatus 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 ListStatus 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 ListStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ListStatus.Builder builder()
-
-