Package org.hl7.fhir.dstu2.model
Enum Encounter.EncounterState
- All Implemented Interfaces:
Serializable
,Comparable<Encounter.EncounterState>
- Enclosing class:
Encounter
-
Enum Constant Summary
Enum ConstantDescriptionThe Patient is present for the encounter, however is not currently meeting with a practitioner.The Encounter has ended before it has begun.The Encounter has ended.The Encounter has begun and the patient is present / the practitioner and the patient are meeting.added to help the parsersThe Encounter has begun, but the patient is temporarily on leave.The Encounter has not yet started. -
Method Summary
Modifier and TypeMethodDescriptionstatic Encounter.EncounterState
toCode()
static Encounter.EncounterState
Returns the enum constant of this type with the specified name.static Encounter.EncounterState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLANNED
The Encounter has not yet started. -
ARRIVED
The Patient is present for the encounter, however is not currently meeting with a practitioner. -
INPROGRESS
The Encounter has begun and the patient is present / the practitioner and the patient are meeting. -
ONLEAVE
The Encounter has begun, but the patient is temporarily on leave. -
FINISHED
The Encounter has ended. -
CANCELLED
The Encounter has ended before it has begun. -
NULL
added to help the parsers
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 Encounter.EncounterState fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-