Package com.ibm.fhir.model.type.code
Class ContactPointUse
- 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.ContactPointUse
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ContactPointUse extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContactPointUse.Builderstatic classContactPointUse.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ContactPointUseHOMEHomestatic ContactPointUseMOBILEMobilestatic ContactPointUseOLDOldstatic ContactPointUseTEMPTempstatic ContactPointUseWORKWork
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContactPointUse.Builderbuilder()static Codecode(String value)Inherited factory method for creating ContactPointUse objects from a passed string value.booleanequals(Object obj)ContactPointUse.ValueSetgetValueAsEnumConstant()inthashCode()static ContactPointUseof(ContactPointUse.ValueSet value)Factory method for creating ContactPointUse objects from a passed enum value.static ContactPointUseof(String value)Factory method for creating ContactPointUse objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ContactPointUse objects from a passed string value.ContactPointUse.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 ContactPointUse HOME
HomeA communication contact point at a home; attempted contacts for business purposes might intrude privacy and chances are one will contact family or other household members instead of the person one wishes to call. Typically used with urgent cases, or if no other contacts are available.
-
WORK
public static final ContactPointUse WORK
WorkAn office contact point. First choice for business related contacts during business hours.
-
TEMP
public static final ContactPointUse TEMP
TempA temporary contact point. The period can provide more detailed information.
-
OLD
public static final ContactPointUse OLD
OldThis contact point is no longer in use (or was never correct, but retained for records).
-
MOBILE
public static final ContactPointUse MOBILE
MobileA telecommunication device that moves and stays with its owner. May have characteristics of all other use codes, suitable for urgent matters, not the first choice for routine business.
-
-
Method Detail
-
getValueAsEnumConstant
public ContactPointUse.ValueSet getValueAsEnumConstant()
-
of
public static ContactPointUse of(ContactPointUse.ValueSet value)
Factory method for creating ContactPointUse objects from a passed enum value.
-
of
public static ContactPointUse of(String value)
Factory method for creating ContactPointUse 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 ContactPointUse 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 ContactPointUse 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 ContactPointUse.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ContactPointUse.Builder builder()
-
-