
Package org.hl7.fhir.convertors.misc
Enum CCDAConverter.SocialHistoryType
- java.lang.Object
-
- java.lang.Enum<CCDAConverter.SocialHistoryType>
-
- org.hl7.fhir.convertors.misc.CCDAConverter.SocialHistoryType
-
- All Implemented Interfaces:
Serializable
,Comparable<CCDAConverter.SocialHistoryType>
- Enclosing class:
- CCDAConverter
public static enum CCDAConverter.SocialHistoryType extends Enum<CCDAConverter.SocialHistoryType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Pregnancy
SmokingStatus
SocialHistory
TobaccoUse
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CCDAConverter.SocialHistoryType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CCDAConverter.SocialHistoryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SocialHistory
public static final CCDAConverter.SocialHistoryType SocialHistory
-
Pregnancy
public static final CCDAConverter.SocialHistoryType Pregnancy
-
SmokingStatus
public static final CCDAConverter.SocialHistoryType SmokingStatus
-
TobaccoUse
public static final CCDAConverter.SocialHistoryType TobaccoUse
-
-
Method Detail
-
values
public static CCDAConverter.SocialHistoryType[] 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 (CCDAConverter.SocialHistoryType c : CCDAConverter.SocialHistoryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CCDAConverter.SocialHistoryType 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
-
-