Enum EncounterAdmitSource
- java.lang.Object
-
- java.lang.Enum<EncounterAdmitSource>
-
- org.hl7.fhir.r4.model.codesystems.EncounterAdmitSource
-
- All Implemented Interfaces:
Serializable,Comparable<EncounterAdmitSource>
public enum EncounterAdmitSource extends Enum<EncounterAdmitSource>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BORNThe patient is a newborn and the encounter will track the baby related activities (as opposed to the Mothers encounter - that may be associated using the newborn encounters partof property)EMDThe patient has been transferred from the emergency department within the hospital.GPThe patient has been admitted due to a referred from a General Practitioner.HOSPTRANSThe Patient has been transferred from another hospital for this encounter.MPThe patient has been admitted due to a referred from a Specialist (as opposed to a General Practitioner).NULLadded to help the parsersNURSINGThe patient has been transferred from a nursing home.OTHERThe patient has been admitted from a source otherwise not specified here.OUTPThe patient has been transferred from an outpatient department within the hospital.PSYCHThe patient has been transferred from a psychiatric facility.REHABThe patient has been transferred from a rehabilitation facility or clinic.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncounterAdmitSourcefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static EncounterAdmitSourcevalueOf(String name)Returns the enum constant of this type with the specified name.static EncounterAdmitSource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HOSPTRANS
public static final EncounterAdmitSource HOSPTRANS
The Patient has been transferred from another hospital for this encounter.
-
EMD
public static final EncounterAdmitSource EMD
The patient has been transferred from the emergency department within the hospital. This is typically used in the transition to an inpatient encounter
-
OUTP
public static final EncounterAdmitSource OUTP
The patient has been transferred from an outpatient department within the hospital.
-
BORN
public static final EncounterAdmitSource BORN
The patient is a newborn and the encounter will track the baby related activities (as opposed to the Mothers encounter - that may be associated using the newborn encounters partof property)
-
GP
public static final EncounterAdmitSource GP
The patient has been admitted due to a referred from a General Practitioner.
-
MP
public static final EncounterAdmitSource MP
The patient has been admitted due to a referred from a Specialist (as opposed to a General Practitioner).
-
NURSING
public static final EncounterAdmitSource NURSING
The patient has been transferred from a nursing home.
-
PSYCH
public static final EncounterAdmitSource PSYCH
The patient has been transferred from a psychiatric facility.
-
REHAB
public static final EncounterAdmitSource REHAB
The patient has been transferred from a rehabilitation facility or clinic.
-
OTHER
public static final EncounterAdmitSource OTHER
The patient has been admitted from a source otherwise not specified here.
-
NULL
public static final EncounterAdmitSource NULL
added to help the parsers
-
-
Method Detail
-
values
public static EncounterAdmitSource[] 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 (EncounterAdmitSource c : EncounterAdmitSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EncounterAdmitSource 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 EncounterAdmitSource fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-