public static enum ContactPoint.ContactPointSystem extends Enum<ContactPoint.ContactPointSystem>
Enum Constant and Description |
---|
EMAIL
The value is an email address.
|
FAX
The value is a fax machine.
|
NULL
added to help the parsers with the generic types
|
OTHER
A contact that is not a phone, fax, page or email address and is not expressible as a URL.
|
PAGER
The value is a pager number.
|
PHONE
The value is a telephone number used for voice calls.
|
SMS
A contact that can be used for sending an sms message (e.g.
|
URL
A contact that is not a phone, fax, pager or email address and is expressed as a URL.
|
Modifier and Type | Method and Description |
---|---|
static ContactPoint.ContactPointSystem |
fromCode(String codeString) |
String |
getDefinition() |
String |
getDisplay() |
String |
getSystem() |
String |
toCode() |
static ContactPoint.ContactPointSystem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContactPoint.ContactPointSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactPoint.ContactPointSystem PHONE
public static final ContactPoint.ContactPointSystem FAX
public static final ContactPoint.ContactPointSystem EMAIL
public static final ContactPoint.ContactPointSystem PAGER
public static final ContactPoint.ContactPointSystem URL
public static final ContactPoint.ContactPointSystem SMS
public static final ContactPoint.ContactPointSystem OTHER
public static final ContactPoint.ContactPointSystem NULL
public static ContactPoint.ContactPointSystem[] values()
for (ContactPoint.ContactPointSystem c : ContactPoint.ContactPointSystem.values()) System.out.println(c);
public static ContactPoint.ContactPointSystem valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ContactPoint.ContactPointSystem fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRException
public String toCode()
public String getSystem()
public String getDefinition()
public String getDisplay()
Copyright © 2014–2019 University Health Network. All rights reserved.