Package com.ibm.fhir.model.type.code
Class AddressUse
- 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.AddressUse
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class AddressUse extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddressUse.Builderstatic classAddressUse.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static AddressUseBILLINGBillingstatic AddressUseHOMEHomestatic AddressUseOLDOld / Incorrectstatic AddressUseTEMPTemporarystatic AddressUseWORKWork
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddressUse.Builderbuilder()static Codecode(String value)Inherited factory method for creating AddressUse objects from a passed string value.booleanequals(Object obj)AddressUse.ValueSetgetValueAsEnumConstant()inthashCode()static AddressUseof(AddressUse.ValueSet value)Factory method for creating AddressUse objects from a passed enum value.static AddressUseof(String value)Factory method for creating AddressUse objects from a passed string value.static Stringstring(String value)Inherited factory method for creating AddressUse objects from a passed string value.AddressUse.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
-
HOME
public static final AddressUse HOME
HomeA communication address at a home.
-
WORK
public static final AddressUse WORK
WorkAn office address. First choice for business related contacts during business hours.
-
TEMP
public static final AddressUse TEMP
TemporaryA temporary address. The period can provide more detailed information.
-
OLD
public static final AddressUse OLD
Old / IncorrectThis address is no longer in use (or was never correct but retained for records).
-
BILLING
public static final AddressUse BILLING
BillingAn address to be used to send bills, invoices, receipts etc.
-
-
Method Detail
-
getValueAsEnumConstant
public AddressUse.ValueSet getValueAsEnumConstant()
-
of
public static AddressUse of(AddressUse.ValueSet value)
Factory method for creating AddressUse objects from a passed enum value.
-
of
public static AddressUse of(String value)
Factory method for creating AddressUse 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 AddressUse 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 AddressUse 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 AddressUse.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static AddressUse.Builder builder()
-
-