Package com.ibm.fhir.model.type.code
Class DocumentReferenceStatus
- 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.DocumentReferenceStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class DocumentReferenceStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentReferenceStatus.Builderstatic classDocumentReferenceStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static DocumentReferenceStatusCURRENTCurrentstatic DocumentReferenceStatusENTERED_IN_ERROREntered in Errorstatic DocumentReferenceStatusSUPERSEDEDSuperseded
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentReferenceStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating DocumentReferenceStatus objects from a passed string value.booleanequals(Object obj)DocumentReferenceStatus.ValueSetgetValueAsEnumConstant()inthashCode()static DocumentReferenceStatusof(DocumentReferenceStatus.ValueSet value)Factory method for creating DocumentReferenceStatus objects from a passed enum value.static DocumentReferenceStatusof(String value)Factory method for creating DocumentReferenceStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating DocumentReferenceStatus objects from a passed string value.DocumentReferenceStatus.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 DocumentReferenceStatus CURRENT
CurrentThis is the current reference for this document.
-
SUPERSEDED
public static final DocumentReferenceStatus SUPERSEDED
SupersededThis reference has been superseded by another reference.
-
ENTERED_IN_ERROR
public static final DocumentReferenceStatus ENTERED_IN_ERROR
Entered in ErrorThis reference was created in error.
-
-
Method Detail
-
getValueAsEnumConstant
public DocumentReferenceStatus.ValueSet getValueAsEnumConstant()
-
of
public static DocumentReferenceStatus of(DocumentReferenceStatus.ValueSet value)
Factory method for creating DocumentReferenceStatus objects from a passed enum value.
-
of
public static DocumentReferenceStatus of(String value)
Factory method for creating DocumentReferenceStatus 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 DocumentReferenceStatus 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 DocumentReferenceStatus 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 DocumentReferenceStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static DocumentReferenceStatus.Builder builder()
-
-