Package org.hl7.fhir.dstu2.model
Enum Appointment.ParticipantRequired
- java.lang.Object
-
- java.lang.Enum<Appointment.ParticipantRequired>
-
- org.hl7.fhir.dstu2.model.Appointment.ParticipantRequired
-
- All Implemented Interfaces:
Serializable,Comparable<Appointment.ParticipantRequired>
- Enclosing class:
- Appointment
public static enum Appointment.ParticipantRequired extends Enum<Appointment.ParticipantRequired>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INFORMATIONONLYThe participant is excluded from the appointment, and may not be informed of the appointment taking place.NULLadded to help the parsersOPTIONALThe participant may optionally attend the appointment.REQUIREDThe participant is required to attend the appointment.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Appointment.ParticipantRequiredfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Appointment.ParticipantRequiredvalueOf(String name)Returns the enum constant of this type with the specified name.static Appointment.ParticipantRequired[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUIRED
public static final Appointment.ParticipantRequired REQUIRED
The participant is required to attend the appointment.
-
OPTIONAL
public static final Appointment.ParticipantRequired OPTIONAL
The participant may optionally attend the appointment.
-
INFORMATIONONLY
public static final Appointment.ParticipantRequired INFORMATIONONLY
The participant is excluded from the appointment, and may not be informed of the appointment taking place. (Appointment is about them, not for them - such as 2 doctors discussing results about a patient's test).
-
NULL
public static final Appointment.ParticipantRequired NULL
added to help the parsers
-
-
Method Detail
-
values
public static Appointment.ParticipantRequired[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Appointment.ParticipantRequired c : Appointment.ParticipantRequired.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Appointment.ParticipantRequired valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromCode
public static Appointment.ParticipantRequired fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-