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