Package org.hl7.fhir.dstu2.model
Enum AppointmentResponse.ParticipantStatus
- java.lang.Object
-
- java.lang.Enum<AppointmentResponse.ParticipantStatus>
-
- org.hl7.fhir.dstu2.model.AppointmentResponse.ParticipantStatus
-
- All Implemented Interfaces:
Serializable,Comparable<AppointmentResponse.ParticipantStatus>
- Enclosing class:
- AppointmentResponse
public static enum AppointmentResponse.ParticipantStatus extends Enum<AppointmentResponse.ParticipantStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTEDThe appointment participant has accepted that they can attend the appointment at the time specified in the AppointmentResponse.COMPLETEDThe participant has completed the appointment.DECLINEDThe appointment participant has declined the appointment.INPROCESSThe participant has in-process the appointment.NEEDSACTIONThis is the intitial status of an appointment participant until a participant has replied.NULLadded to help the parsersTENTATIVEThe appointment participant has tentatively accepted the appointment.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppointmentResponse.ParticipantStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static AppointmentResponse.ParticipantStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static AppointmentResponse.ParticipantStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPTED
public static final AppointmentResponse.ParticipantStatus ACCEPTED
The appointment participant has accepted that they can attend the appointment at the time specified in the AppointmentResponse.
-
DECLINED
public static final AppointmentResponse.ParticipantStatus DECLINED
The appointment participant has declined the appointment.
-
TENTATIVE
public static final AppointmentResponse.ParticipantStatus TENTATIVE
The appointment participant has tentatively accepted the appointment.
-
INPROCESS
public static final AppointmentResponse.ParticipantStatus INPROCESS
The participant has in-process the appointment.
-
COMPLETED
public static final AppointmentResponse.ParticipantStatus COMPLETED
The participant has completed the appointment.
-
NEEDSACTION
public static final AppointmentResponse.ParticipantStatus NEEDSACTION
This is the intitial status of an appointment participant until a participant has replied. It implies that there is no commitment for the appointment.
-
NULL
public static final AppointmentResponse.ParticipantStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static AppointmentResponse.ParticipantStatus[] 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 (AppointmentResponse.ParticipantStatus c : AppointmentResponse.ParticipantStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AppointmentResponse.ParticipantStatus 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 AppointmentResponse.ParticipantStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-