Enum Class ChPharm1QueryType
java.lang.Object
java.lang.Enum<ChPharm1QueryType>
org.projecthusky.communication.ch.camel.chpharm1.requests.query.ChPharm1QueryType
- All Implemented Interfaces:
Serializable
,Comparable<ChPharm1QueryType>
,Constable
All possible query types.
- Author:
- Quentin Ligier
- See Also:
-
QueryType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFind dispense documents and their related documents (CH:PHARM-1).Find administered medication documents and their related documents (CH:PHARM-1).Find the medication card for the patient (CH:PHARM-1).Find the medication list for the patient (CH:PHARM-1).Find planned medication documents and their related documents (CH:PHARM-1).Find prescriptions and their related documents (CH:PHARM-1).Find prescriptions and their related documents containing Prescription Items ready to be dispensed (CH:PHARM-1).Find prescriptions and their related documents containing Prescription Items ready to be validated (CH:PHARM-1). -
Method Summary
Modifier and TypeMethodDescriptiongetId()
Class<? extends ChPharmacyDocumentsQuery>
getType()
static ChPharm1QueryType
Returns the enum constant of this class with the specified name.static @Nullable ChPharm1QueryType
Returns a query type by its id.static ChPharm1QueryType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CH_FIND_MEDICATION_TREATMENT_PLANS
Find planned medication documents and their related documents (CH:PHARM-1). -
CH_FIND_PRESCRIPTIONS
Find prescriptions and their related documents (CH:PHARM-1). -
CH_FIND_DISPENSES
Find dispense documents and their related documents (CH:PHARM-1). -
CH_FIND_MEDICATION_ADMINISTRATIONS
Find administered medication documents and their related documents (CH:PHARM-1). -
CH_FIND_PRESCRIPTIONS_FOR_VALIDATION
Find prescriptions and their related documents containing Prescription Items ready to be validated (CH:PHARM-1). -
CH_FIND_PRESCRIPTIONS_FOR_DISPENSE
Find prescriptions and their related documents containing Prescription Items ready to be dispensed (CH:PHARM-1). -
CH_FIND_MEDICATION_LIST
Find the medication list for the patient (CH:PHARM-1). -
CH_FIND_MEDICATION_CARD
Find the medication card for the patient (CH:PHARM-1).
-
-
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
-
valueOfId
Returns a query type by its id.- Parameters:
id
- the id. Can benull
.- Returns:
- the type.
null
if the id isnull
.
-
getId
- Returns:
- the ID of the query.
-
getType
- Returns:
- the class implementing the query.
-