Package org.hl7.fhir.r4.model
Enum ChargeItemDefinition.ChargeItemDefinitionPriceComponentType
- java.lang.Object
-
- java.lang.Enum<ChargeItemDefinition.ChargeItemDefinitionPriceComponentType>
-
- org.hl7.fhir.r4.model.ChargeItemDefinition.ChargeItemDefinitionPriceComponentType
-
- All Implemented Interfaces:
Serializable,Comparable<ChargeItemDefinition.ChargeItemDefinitionPriceComponentType>
- Enclosing class:
- ChargeItemDefinition
public static enum ChargeItemDefinition.ChargeItemDefinitionPriceComponentType extends Enum<ChargeItemDefinition.ChargeItemDefinitionPriceComponentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASEthe amount is the base price used for calculating the total price before applying surcharges, discount or taxes.DEDUCTIONthe amount is a deduction applied on the base price.DISCOUNTthe amount is a discount applied on the base price.INFORMATIONALthe amount is of informational character, it has not been applied in the calculation of the total price.NULLadded to help the parsers with the generic typesSURCHARGEthe amount is a surcharge applied on the base price.TAXthe amount is the tax component of the total price.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChargeItemDefinition.ChargeItemDefinitionPriceComponentTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static ChargeItemDefinition.ChargeItemDefinitionPriceComponentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ChargeItemDefinition.ChargeItemDefinitionPriceComponentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASE
public static final ChargeItemDefinition.ChargeItemDefinitionPriceComponentType BASE
the amount is the base price used for calculating the total price before applying surcharges, discount or taxes.
-
SURCHARGE
public static final ChargeItemDefinition.ChargeItemDefinitionPriceComponentType SURCHARGE
the amount is a surcharge applied on the base price.
-
DEDUCTION
public static final ChargeItemDefinition.ChargeItemDefinitionPriceComponentType DEDUCTION
the amount is a deduction applied on the base price.
-
DISCOUNT
public static final ChargeItemDefinition.ChargeItemDefinitionPriceComponentType DISCOUNT
the amount is a discount applied on the base price.
-
TAX
public static final ChargeItemDefinition.ChargeItemDefinitionPriceComponentType TAX
the amount is the tax component of the total price.
-
INFORMATIONAL
public static final ChargeItemDefinition.ChargeItemDefinitionPriceComponentType INFORMATIONAL
the amount is of informational character, it has not been applied in the calculation of the total price.
-
NULL
public static final ChargeItemDefinition.ChargeItemDefinitionPriceComponentType NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static ChargeItemDefinition.ChargeItemDefinitionPriceComponentType[] 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 (ChargeItemDefinition.ChargeItemDefinitionPriceComponentType c : ChargeItemDefinition.ChargeItemDefinitionPriceComponentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChargeItemDefinition.ChargeItemDefinitionPriceComponentType 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 ChargeItemDefinition.ChargeItemDefinitionPriceComponentType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-