Package org.hl7.fhir.dstu2.model
Enum Encounter.EncounterClass
- java.lang.Object
-
- java.lang.Enum<Encounter.EncounterClass>
-
- org.hl7.fhir.dstu2.model.Encounter.EncounterClass
-
- All Implemented Interfaces:
Serializable,Comparable<Encounter.EncounterClass>
- Enclosing class:
- Encounter
public static enum Encounter.EncounterClass extends Enum<Encounter.EncounterClass>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMBULATORYAn encounter where the patient visits the practitioner in his/her office, e.g.DAYTIMEAn encounter where the patient needs more prolonged treatment or investigations than outpatients, but who do not need to stay in the hospital overnight.EMERGENCYAn encounter in the Emergency Care Department.FIELDAn encounter taking place outside the regular environment for giving care.HOMEAn encounter where the practitioner visits the patient at his/her home.INPATIENTAn encounter during which the patient is hospitalized and stays overnight.NULLadded to help the parsersOTHERAny other encounter type that is not described by one of the other values.OUTPATIENTAn encounter during which the patient is not hospitalized overnight.VIRTUALAn encounter that takes place where the patient and practitioner do not physically meet but use electronic means for contact.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Encounter.EncounterClassfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static Encounter.EncounterClassvalueOf(String name)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 Detail
-
INPATIENT
public static final Encounter.EncounterClass INPATIENT
An encounter during which the patient is hospitalized and stays overnight.
-
OUTPATIENT
public static final Encounter.EncounterClass OUTPATIENT
An encounter during which the patient is not hospitalized overnight.
-
AMBULATORY
public static final Encounter.EncounterClass AMBULATORY
An encounter where the patient visits the practitioner in his/her office, e.g. a G.P. visit.
-
EMERGENCY
public static final Encounter.EncounterClass EMERGENCY
An encounter in the Emergency Care Department.
-
HOME
public static final Encounter.EncounterClass HOME
An encounter where the practitioner visits the patient at his/her home.
-
FIELD
public static final Encounter.EncounterClass FIELD
An encounter taking place outside the regular environment for giving care.
-
DAYTIME
public static final Encounter.EncounterClass 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
public static final Encounter.EncounterClass VIRTUAL
An encounter that takes place where the patient and practitioner do not physically meet but use electronic means for contact.
-
OTHER
public static final Encounter.EncounterClass 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
public static final Encounter.EncounterClass NULL
added to help the parsers
-
-
Method Detail
-
values
public static Encounter.EncounterClass[] 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 (Encounter.EncounterClass c : Encounter.EncounterClass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Encounter.EncounterClass 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 Encounter.EncounterClass fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-