Enum MessageReasonEncounter
- java.lang.Object
-
- java.lang.Enum<MessageReasonEncounter>
-
- org.hl7.fhir.r4.model.codesystems.MessageReasonEncounter
-
- All Implemented Interfaces:
Serializable,Comparable<MessageReasonEncounter>
public enum MessageReasonEncounter extends Enum<MessageReasonEncounter>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSENTThe patient has temporarily left the institution.ADMITThe patient has been admitted.DISCHARGEThe patient has been discharged.EDITEncounter details have been updated (e.g.MOVEDThe patient has been moved to a new location.NULLadded to help the parsersRETURNThe patient has returned from a temporary absence.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageReasonEncounterfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static MessageReasonEncountervalueOf(String name)Returns the enum constant of this type with the specified name.static MessageReasonEncounter[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADMIT
public static final MessageReasonEncounter ADMIT
The patient has been admitted.
-
DISCHARGE
public static final MessageReasonEncounter DISCHARGE
The patient has been discharged.
-
ABSENT
public static final MessageReasonEncounter ABSENT
The patient has temporarily left the institution.
-
RETURN
public static final MessageReasonEncounter RETURN
The patient has returned from a temporary absence.
-
MOVED
public static final MessageReasonEncounter MOVED
The patient has been moved to a new location.
-
EDIT
public static final MessageReasonEncounter EDIT
Encounter details have been updated (e.g. to correct a coding error).
-
NULL
public static final MessageReasonEncounter NULL
added to help the parsers
-
-
Method Detail
-
values
public static MessageReasonEncounter[] 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 (MessageReasonEncounter c : MessageReasonEncounter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageReasonEncounter 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 MessageReasonEncounter fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-