Enum Pharm5Operations
- java.lang.Object
-
- java.lang.Enum<Pharm5Operations>
-
- org.openehealth.ipf.commons.ihe.fhir.pharm5.Pharm5Operations
-
- All Implemented Interfaces:
Serializable,Comparable<Pharm5Operations>
public enum Pharm5Operations extends Enum<Pharm5Operations>
The different operations of CMPD PHARM-5 transaction.- Since:
- 4.3
- Author:
- Quentin Ligier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIND_DISPENSESFIND_MEDICATION_ADMINISTRATIONSFIND_MEDICATION_LISTFIND_MEDICATION_TREATMENT_PLANSFIND_PRESCRIPTIONSFIND_PRESCRIPTIONS_FOR_DISPENSEFIND_PRESCRIPTIONS_FOR_VALIDATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOperation()static Pharm5OperationsvalueOf(String name)Returns the enum constant of this type with the specified name.static Pharm5Operations[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIND_MEDICATION_TREATMENT_PLANS
public static final Pharm5Operations FIND_MEDICATION_TREATMENT_PLANS
-
FIND_PRESCRIPTIONS
public static final Pharm5Operations FIND_PRESCRIPTIONS
-
FIND_DISPENSES
public static final Pharm5Operations FIND_DISPENSES
-
FIND_MEDICATION_ADMINISTRATIONS
public static final Pharm5Operations FIND_MEDICATION_ADMINISTRATIONS
-
FIND_PRESCRIPTIONS_FOR_VALIDATION
public static final Pharm5Operations FIND_PRESCRIPTIONS_FOR_VALIDATION
-
FIND_PRESCRIPTIONS_FOR_DISPENSE
public static final Pharm5Operations FIND_PRESCRIPTIONS_FOR_DISPENSE
-
FIND_MEDICATION_LIST
public static final Pharm5Operations FIND_MEDICATION_LIST
-
-
Method Detail
-
values
public static Pharm5Operations[] 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 (Pharm5Operations c : Pharm5Operations.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Pharm5Operations 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
-
getOperation
public String getOperation()
-
-