Package org.hl7.fhir.dstu2.model
Enum Encounter.EncounterClass
- All Implemented Interfaces:
Serializable
,Comparable<Encounter.EncounterClass>
- Enclosing class:
Encounter
-
Enum Constant Summary
Enum ConstantDescriptionAn encounter where the patient visits the practitioner in his/her office, e.g.An encounter where the patient needs more prolonged treatment or investigations than outpatients, but who do not need to stay in the hospital overnight.An encounter in the Emergency Care Department.An encounter taking place outside the regular environment for giving care.An encounter where the practitioner visits the patient at his/her home.An encounter during which the patient is hospitalized and stays overnight.added to help the parsersAny other encounter type that is not described by one of the other values.An encounter during which the patient is not hospitalized overnight.An encounter that takes place where the patient and practitioner do not physically meet but use electronic means for contact. -
Method Summary
Modifier and TypeMethodDescriptionstatic Encounter.EncounterClass
toCode()
static Encounter.EncounterClass
Returns the enum constant of this type with the specified name.static Encounter.EncounterClass[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INPATIENT
An encounter during which the patient is hospitalized and stays overnight. -
OUTPATIENT
An encounter during which the patient is not hospitalized overnight. -
AMBULATORY
An encounter where the patient visits the practitioner in his/her office, e.g. a G.P. visit. -
EMERGENCY
An encounter in the Emergency Care Department. -
HOME
An encounter where the practitioner visits the patient at his/her home. -
FIELD
An encounter taking place outside the regular environment for giving care. -
DAYTIME
An encounter where the patient needs more prolonged treatment or investigations than outpatients, but who do not need to stay in the hospital overnight. -
VIRTUAL
An encounter that takes place where the patient and practitioner do not physically meet but use electronic means for contact. -
OTHER
Any other encounter type that is not described by one of the other values. Where this is used it is expected that an implementer will include an extension value to define what the actual other type is. -
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.EncounterClass fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-