Package ca.uhn.fhir.model.dstu2.valueset
Enum EncounterClassEnum
- java.lang.Object
-
- java.lang.Enum<EncounterClassEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.EncounterClassEnum
-
- All Implemented Interfaces:
Serializable,Comparable<EncounterClassEnum>
public enum EncounterClassEnum extends Enum<EncounterClassEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMBULATORYDisplay: Ambulatory
Code Value: ambulatory An encounter where the patient visits the practitioner in his/her office, e.g.DAYTIMEDisplay: Daytime
Code Value: 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.EMERGENCYDisplay: Emergency
Code Value: emergency An encounter in the Emergency Care Department.FIELDDisplay: Field
Code Value: field An encounter taking place outside the regular environment for giving care.HOMEDisplay: Home
Code Value: home An encounter where the practitioner visits the patient at his/her home.INPATIENTDisplay: Inpatient
Code Value: inpatient An encounter during which the patient is hospitalized and stays overnight.OTHERDisplay: Other
Code Value: other Any other encounter type that is not described by one of the other values.OUTPATIENTDisplay: Outpatient
Code Value: outpatient An encounter during which the patient is not hospitalized overnight.VIRTUALDisplay: Virtual
Code Value: virtual An encounter that takes place where the patient and practitioner do not physically meet but use electronic means for contact.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<EncounterClassEnum>VALUESET_BINDERConverts codes to their respective enumerated valuesstatic StringVALUESET_IDENTIFIERIdentifier for this Value Set:static StringVALUESET_NAMEName for this Value Set: EncounterClass
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncounterClassEnumforCode(String theCode)Returns the enumerated value associated with this codeStringgetCode()Returns the code associated with this enumerated valueStringgetSystem()Returns the code system associated with this enumerated valuestatic EncounterClassEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static EncounterClassEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INPATIENT
public static final EncounterClassEnum INPATIENT
Display: Inpatient
Code Value: inpatient An encounter during which the patient is hospitalized and stays overnight.
-
OUTPATIENT
public static final EncounterClassEnum OUTPATIENT
Display: Outpatient
Code Value: outpatient An encounter during which the patient is not hospitalized overnight.
-
AMBULATORY
public static final EncounterClassEnum AMBULATORY
Display: Ambulatory
Code Value: ambulatory An encounter where the patient visits the practitioner in his/her office, e.g. a G.P. visit.
-
EMERGENCY
public static final EncounterClassEnum EMERGENCY
Display: Emergency
Code Value: emergency An encounter in the Emergency Care Department.
-
HOME
public static final EncounterClassEnum HOME
Display: Home
Code Value: home An encounter where the practitioner visits the patient at his/her home.
-
FIELD
public static final EncounterClassEnum FIELD
Display: Field
Code Value: field An encounter taking place outside the regular environment for giving care.
-
DAYTIME
public static final EncounterClassEnum DAYTIME
Display: Daytime
Code Value: 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 EncounterClassEnum VIRTUAL
Display: Virtual
Code Value: 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 EncounterClassEnum OTHER
Display: Other
Code Value: 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.
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: EncounterClass- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<EncounterClassEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static EncounterClassEnum[] 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 (EncounterClassEnum c : EncounterClassEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EncounterClassEnum 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
-
forCode
public static EncounterClassEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-