Class ContactPointSystem
- 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.ContactPointSystem
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class ContactPointSystem extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContactPointSystem.Builderstatic classContactPointSystem.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static ContactPointSystemEMAILEmailstatic ContactPointSystemFAXFaxstatic ContactPointSystemOTHEROtherstatic ContactPointSystemPAGERPagerstatic ContactPointSystemPHONEPhonestatic ContactPointSystemSMSSMSstatic ContactPointSystemURLURL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContactPointSystem.Builderbuilder()static Codecode(String value)Inherited factory method for creating ContactPointSystem objects from a passed string value.booleanequals(Object obj)ContactPointSystem.ValueSetgetValueAsEnumConstant()inthashCode()static ContactPointSystemof(ContactPointSystem.ValueSet value)Factory method for creating ContactPointSystem objects from a passed enum value.static ContactPointSystemof(String value)Factory method for creating ContactPointSystem objects from a passed string value.static Stringstring(String value)Inherited factory method for creating ContactPointSystem objects from a passed string value.ContactPointSystem.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
-
PHONE
public static final ContactPointSystem PHONE
PhoneThe value is a telephone number used for voice calls. Use of full international numbers starting with + is recommended to enable automatic dialing support but not required.
-
FAX
public static final ContactPointSystem FAX
FaxThe value is a fax machine. Use of full international numbers starting with + is recommended to enable automatic dialing support but not required.
-
EMAIL
public static final ContactPointSystem EMAIL
EmailThe value is an email address.
-
PAGER
public static final ContactPointSystem PAGER
PagerThe value is a pager number. These may be local pager numbers that are only usable on a particular pager system.
-
URL
public static final ContactPointSystem URL
URLA contact that is not a phone, fax, pager or email address and is expressed as a URL. This is intended for various institutional or personal contacts including web sites, blogs, Skype, Twitter, Facebook, etc. Do not use for email addresses.
-
SMS
public static final ContactPointSystem SMS
SMSA contact that can be used for sending an sms message (e.g. mobile phones, some landlines).
-
OTHER
public static final ContactPointSystem OTHER
OtherA contact that is not a phone, fax, page or email address and is not expressible as a URL. E.g. Internal mail address. This SHOULD NOT be used for contacts that are expressible as a URL (e.g. Skype, Twitter, Facebook, etc.) Extensions may be used to distinguish "other" contact types.
-
-
Method Detail
-
getValueAsEnumConstant
public ContactPointSystem.ValueSet getValueAsEnumConstant()
-
of
public static ContactPointSystem of(ContactPointSystem.ValueSet value)
Factory method for creating ContactPointSystem objects from a passed enum value.
-
of
public static ContactPointSystem of(String value)
Factory method for creating ContactPointSystem 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 ContactPointSystem 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 ContactPointSystem 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 ContactPointSystem.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static ContactPointSystem.Builder builder()
-
-