Package org.hl7.fhir.dstu2.model
Enum Appointment.AppointmentStatus
- java.lang.Object
-
- java.lang.Enum<Appointment.AppointmentStatus>
-
- org.hl7.fhir.dstu2.model.Appointment.AppointmentStatus
-
- All Implemented Interfaces:
Serializable,Comparable<Appointment.AppointmentStatus>
- Enclosing class:
- Appointment
public static enum Appointment.AppointmentStatus extends Enum<Appointment.AppointmentStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRIVEDSome of the patients have arrived.BOOKEDAll participant(s) have been considered and the appointment is confirmed to go ahead at the date/times specified.CANCELLEDThe appointment has been cancelled.FULFILLEDThis appointment has completed and may have resulted in an encounter.NOSHOWSome or all of the participant(s) have not/did not appear for the appointment (usually the patient).NULLadded to help the parsersPENDINGSome or all of the participant(s) have not finalized their acceptance of the appointment request.PROPOSEDNone of the participant(s) have finalized their acceptance of the appointment request, and the start/end time may not be set yet.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Appointment.AppointmentStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Appointment.AppointmentStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Appointment.AppointmentStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROPOSED
public static final Appointment.AppointmentStatus PROPOSED
None of the participant(s) have finalized their acceptance of the appointment request, and the start/end time may not be set yet.
-
PENDING
public static final Appointment.AppointmentStatus PENDING
Some or all of the participant(s) have not finalized their acceptance of the appointment request.
-
BOOKED
public static final Appointment.AppointmentStatus BOOKED
All participant(s) have been considered and the appointment is confirmed to go ahead at the date/times specified.
-
ARRIVED
public static final Appointment.AppointmentStatus ARRIVED
Some of the patients have arrived.
-
FULFILLED
public static final Appointment.AppointmentStatus FULFILLED
This appointment has completed and may have resulted in an encounter.
-
CANCELLED
public static final Appointment.AppointmentStatus CANCELLED
The appointment has been cancelled.
-
NOSHOW
public static final Appointment.AppointmentStatus NOSHOW
Some or all of the participant(s) have not/did not appear for the appointment (usually the patient).
-
NULL
public static final Appointment.AppointmentStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static Appointment.AppointmentStatus[] 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.AppointmentStatus c : Appointment.AppointmentStatus.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.AppointmentStatus 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.AppointmentStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-