Enum Class ChPharm5Operations
java.lang.Object
java.lang.Enum<ChPharm5Operations>
org.projecthusky.communication.ch.camel.chpharm5.ChPharm5Operations
- All Implemented Interfaces:
Serializable
,Comparable<ChPharm5Operations>
,Constable
The different operations of CMPD CH:PHARM-5 transaction.
- Author:
- Quentin Ligier
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ChPharm5Operations
fromOperation
(String operation) static ChPharm5Operations
fromPharm5Operation
(org.openehealth.ipf.commons.ihe.fhir.pharm5.Pharm5Operations pharm5Operation) @Nullable org.openehealth.ipf.commons.ihe.fhir.pharm5.Pharm5Operations
static ChPharm5Operations
Returns the enum constant of this class with the specified name.static ChPharm5Operations[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIND_MEDICATION_TREATMENT_PLANS
-
FIND_PRESCRIPTIONS
-
FIND_DISPENSES
-
FIND_MEDICATION_ADMINISTRATIONS
-
FIND_PRESCRIPTIONS_FOR_VALIDATION
-
FIND_PRESCRIPTIONS_FOR_DISPENSE
-
FIND_MEDICATION_LIST
-
FIND_MEDICATION_CARD
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getOperation
-
fromPharm5Operation
public static ChPharm5Operations fromPharm5Operation(org.openehealth.ipf.commons.ihe.fhir.pharm5.Pharm5Operations pharm5Operation) -
fromOperation
-
toPharm5Operation
public @Nullable org.openehealth.ipf.commons.ihe.fhir.pharm5.Pharm5Operations toPharm5Operation()
-