Package com.ibm.fhir.model.type.code
Class AccountStatus
- 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.AccountStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class AccountStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountStatus.Builderstatic classAccountStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static AccountStatusACTIVEActivestatic AccountStatusENTERED_IN_ERROREntered in errorstatic AccountStatusINACTIVEInactivestatic AccountStatusON_HOLDOn Holdstatic AccountStatusUNKNOWNUnknown
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating AccountStatus objects from a passed string value.booleanequals(Object obj)AccountStatus.ValueSetgetValueAsEnumConstant()inthashCode()static AccountStatusof(AccountStatus.ValueSet value)Factory method for creating AccountStatus objects from a passed enum value.static AccountStatusof(String value)Factory method for creating AccountStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating AccountStatus objects from a passed string value.AccountStatus.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 AccountStatus ACTIVE
ActiveThis account is active and may be used.
-
INACTIVE
public static final AccountStatus INACTIVE
InactiveThis account is inactive and should not be used to track financial information.
-
ENTERED_IN_ERROR
public static final AccountStatus ENTERED_IN_ERROR
Entered in errorThis instance should not have been part of this patient's medical record.
-
ON_HOLD
public static final AccountStatus ON_HOLD
On HoldThis account is on hold.
-
UNKNOWN
public static final AccountStatus UNKNOWN
UnknownThe account status is unknown.
-
-
Method Detail
-
getValueAsEnumConstant
public AccountStatus.ValueSet getValueAsEnumConstant()
-
of
public static AccountStatus of(AccountStatus.ValueSet value)
Factory method for creating AccountStatus objects from a passed enum value.
-
of
public static AccountStatus of(String value)
Factory method for creating AccountStatus 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 AccountStatus 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 AccountStatus 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 AccountStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static AccountStatus.Builder builder()
-
-