public enum EncounterClassEnum extends Enum<EncounterClassEnum>
| Enum Constant and Description |
|---|
AMBULATORY
Code Value: ambulatory
An encounter where the patient visits the practitioner in his/her office, e.g.
|
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.
|
EMERGENCY
Code Value: emergency
An encounter where the patient needs urgent care.
|
FIELD
Code Value: field
An encounter taking place outside the regular environment for giving care.
|
HOME
Code Value: home
An encounter where the practitioner visits the patient at his/her home.
|
INPATIENT
Code Value: inpatient
An encounter during which the patient is hospitalized and stays overnight.
|
OUTPATIENT
Code Value: outpatient
An encounter during which the patient is not hospitalized overnight.
|
VIRTUAL
Code Value: virtual
An encounter that takes place where the patient and practitioner do not physically meet but use electronic means for contact.
|
| Modifier and Type | Field and Description |
|---|---|
static IValueSetEnumBinder<EncounterClassEnum> |
VALUESET_BINDER
Converts codes to their respective enumerated values
|
static String |
VALUESET_IDENTIFIER
Identifier for this Value Set:
http://hl7.org/fhir/vs/encounter-class
|
static String |
VALUESET_NAME
Name for this Value Set:
EncounterClass
|
| Modifier and Type | Method and Description |
|---|---|
EncounterClassEnum |
forCode(String theCode)
Returns the enumerated value associated with this code
|
String |
getCode()
Returns the code associated with this enumerated value
|
String |
getSystem()
Returns the code system associated with this enumerated value
|
static EncounterClassEnum |
valueOf(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.
|
public static final EncounterClassEnum INPATIENT
public static final EncounterClassEnum OUTPATIENT
public static final EncounterClassEnum AMBULATORY
public static final EncounterClassEnum EMERGENCY
public static final EncounterClassEnum HOME
public static final EncounterClassEnum FIELD
public static final EncounterClassEnum DAYTIME
public static final EncounterClassEnum VIRTUAL
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<EncounterClassEnum> VALUESET_BINDER
public static EncounterClassEnum[] values()
for (EncounterClassEnum c : EncounterClassEnum.values()) System.out.println(c);
public static EncounterClassEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getCode()
public String getSystem()
public EncounterClassEnum forCode(String theCode)
Copyright © 2014 University Health Network. All rights reserved.