Enum HistoryStatus
- java.lang.Object
-
- java.lang.Enum<HistoryStatus>
-
- org.hl7.fhir.r4.model.codesystems.HistoryStatus
-
- All Implemented Interfaces:
Serializable,Comparable<HistoryStatus>
public enum HistoryStatus extends Enum<HistoryStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETEDAll available related health information is captured as of the date (and possibly time) when the family member history was taken.ENTEREDINERRORThis instance should not have been part of this patient's medical record.HEALTHUNKNOWNHealth information for this family member is unavailable/unknown.NULLadded to help the parsersPARTIALSome health information is known and captured, but not complete - see notes for details.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HistoryStatusfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static HistoryStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static HistoryStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARTIAL
public static final HistoryStatus PARTIAL
Some health information is known and captured, but not complete - see notes for details.
-
COMPLETED
public static final HistoryStatus COMPLETED
All available related health information is captured as of the date (and possibly time) when the family member history was taken.
-
ENTEREDINERROR
public static final HistoryStatus ENTEREDINERROR
This instance should not have been part of this patient's medical record.
-
HEALTHUNKNOWN
public static final HistoryStatus HEALTHUNKNOWN
Health information for this family member is unavailable/unknown.
-
NULL
public static final HistoryStatus NULL
added to help the parsers
-
-
Method Detail
-
values
public static HistoryStatus[] 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 (HistoryStatus c : HistoryStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HistoryStatus 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 HistoryStatus fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-