Enum PolicyholderRelationship
- java.lang.Object
-
- java.lang.Enum<PolicyholderRelationship>
-
- org.hl7.fhir.dstu3.model.codesystems.PolicyholderRelationship
-
- All Implemented Interfaces:
Serializable,Comparable<PolicyholderRelationship>
public enum PolicyholderRelationship extends Enum<PolicyholderRelationship>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHILDThe Beneficiary is a child of the PolicyholderCOMMONThe Beneficiary is a common law spouse or equivalent of the PolicyholderNULLadded to help the parsersOTHERThe Beneficiary has some other relationship the PolicyholderPARENTThe Beneficiary is a parent of the PolicyholderSELFThe Beneficiary is the PolicyholderSPOUSEThe Beneficiary is a spouse or equivalent of the Policyholder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyholderRelationshipfromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static PolicyholderRelationshipvalueOf(String name)Returns the enum constant of this type with the specified name.static PolicyholderRelationship[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHILD
public static final PolicyholderRelationship CHILD
The Beneficiary is a child of the Policyholder
-
PARENT
public static final PolicyholderRelationship PARENT
The Beneficiary is a parent of the Policyholder
-
SPOUSE
public static final PolicyholderRelationship SPOUSE
The Beneficiary is a spouse or equivalent of the Policyholder
-
COMMON
public static final PolicyholderRelationship COMMON
The Beneficiary is a common law spouse or equivalent of the Policyholder
-
OTHER
public static final PolicyholderRelationship OTHER
The Beneficiary has some other relationship the Policyholder
-
SELF
public static final PolicyholderRelationship SELF
The Beneficiary is the Policyholder
-
NULL
public static final PolicyholderRelationship NULL
added to help the parsers
-
-
Method Detail
-
values
public static PolicyholderRelationship[] 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 (PolicyholderRelationship c : PolicyholderRelationship.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PolicyholderRelationship 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 PolicyholderRelationship fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-