Enum QueryType
- java.lang.Object
-
- java.lang.Enum<QueryType>
-
- org.openehealth.ipf.commons.ihe.xds.core.requests.query.QueryType
-
- All Implemented Interfaces:
Serializable
,Comparable<QueryType>
public enum QueryType extends Enum<QueryType>
All possible query types.- Author:
- Jens Riemschneider, Michael Ottati, Quentin Ligier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FETCH
Cross-Community Fetch query (ITI-63).FIND_DISPENSES
Find dispense documents and their related documents (PHARM-1).FIND_DOCUMENTS
Searches for documents.FIND_DOCUMENTS_BY_REFERENCE_ID
Searches for documents by reference IDsFIND_DOCUMENTS_MPQ
Searches for documents (Multi Patient Variety).FIND_FOLDERS
Searches for folders.FIND_FOLDERS_MPQ
Searches for folders (Multi Patient Variety).FIND_MEDICATION_ADMINISTRATIONS
Find administered medication documents and their related documents (PHARM-1).FIND_MEDICATION_LIST
Find the medication list to the patient (PHARM-1).FIND_MEDICATION_TREATMENT_PLANS
Find planned medication documents and their related documents (PHARM-1).FIND_PRESCRIPTIONS
Find prescriptions and their related documents (PHARM-1).FIND_PRESCRIPTIONS_FOR_DISPENSE
Find prescriptions and their related documents containing Prescription Items ready to be dispensed (PHARM-1).FIND_PRESCRIPTIONS_FOR_VALIDATION
Find prescriptions and their related documents containing Prescription Items ready to be validated (PHARM-1).FIND_SUBMISSION_SETS
Searches for submission sets.GET_ALL
Returns everything.GET_ASSOCIATIONS
Returns specific associations.GET_DOCUMENTS
Returns specific documents.GET_DOCUMENTS_AND_ASSOCIATIONS
Returns specific documents and their associations.GET_FOLDER_AND_CONTENTS
Returns specific folders and their contents.GET_FOLDERS
Returns specific folders.GET_FOLDERS_FOR_DOCUMENT
Returns folders for a specific document.GET_RELATED_DOCUMENTS
Returns all documents with a given relation to a specified entry.GET_SUBMISSION_SET_AND_CONTENTS
Returns specific submission sets and their contents.GET_SUBMISSION_SETS
Returns specific submission sets.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Class<? extends Query>
getType()
static QueryType
valueOf(String name)
Returns the enum constant of this type with the specified name.static QueryType
valueOfId(String id)
Returns a query type by its id.static QueryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIND_DOCUMENTS
public static final QueryType FIND_DOCUMENTS
Searches for documents.
-
FIND_DOCUMENTS_MPQ
public static final QueryType FIND_DOCUMENTS_MPQ
Searches for documents (Multi Patient Variety).
-
FIND_SUBMISSION_SETS
public static final QueryType FIND_SUBMISSION_SETS
Searches for submission sets.
-
FIND_FOLDERS
public static final QueryType FIND_FOLDERS
Searches for folders.
-
FIND_DOCUMENTS_BY_REFERENCE_ID
public static final QueryType FIND_DOCUMENTS_BY_REFERENCE_ID
Searches for documents by reference IDs
-
FIND_FOLDERS_MPQ
public static final QueryType FIND_FOLDERS_MPQ
Searches for folders (Multi Patient Variety).
-
GET_ALL
public static final QueryType GET_ALL
Returns everything.
-
GET_DOCUMENTS
public static final QueryType GET_DOCUMENTS
Returns specific documents.
-
GET_FOLDERS
public static final QueryType GET_FOLDERS
Returns specific folders.
-
GET_ASSOCIATIONS
public static final QueryType GET_ASSOCIATIONS
Returns specific associations.
-
GET_DOCUMENTS_AND_ASSOCIATIONS
public static final QueryType GET_DOCUMENTS_AND_ASSOCIATIONS
Returns specific documents and their associations.
-
GET_SUBMISSION_SETS
public static final QueryType GET_SUBMISSION_SETS
Returns specific submission sets.
-
GET_SUBMISSION_SET_AND_CONTENTS
public static final QueryType GET_SUBMISSION_SET_AND_CONTENTS
Returns specific submission sets and their contents.
-
GET_FOLDER_AND_CONTENTS
public static final QueryType GET_FOLDER_AND_CONTENTS
Returns specific folders and their contents.
-
GET_FOLDERS_FOR_DOCUMENT
public static final QueryType GET_FOLDERS_FOR_DOCUMENT
Returns folders for a specific document.
-
GET_RELATED_DOCUMENTS
public static final QueryType GET_RELATED_DOCUMENTS
Returns all documents with a given relation to a specified entry.
-
FETCH
public static final QueryType FETCH
Cross-Community Fetch query (ITI-63).
-
FIND_MEDICATION_TREATMENT_PLANS
public static final QueryType FIND_MEDICATION_TREATMENT_PLANS
Find planned medication documents and their related documents (PHARM-1).
-
FIND_PRESCRIPTIONS
public static final QueryType FIND_PRESCRIPTIONS
Find prescriptions and their related documents (PHARM-1).
-
FIND_DISPENSES
public static final QueryType FIND_DISPENSES
Find dispense documents and their related documents (PHARM-1).
-
FIND_MEDICATION_ADMINISTRATIONS
public static final QueryType FIND_MEDICATION_ADMINISTRATIONS
Find administered medication documents and their related documents (PHARM-1).
-
FIND_PRESCRIPTIONS_FOR_VALIDATION
public static final QueryType FIND_PRESCRIPTIONS_FOR_VALIDATION
Find prescriptions and their related documents containing Prescription Items ready to be validated (PHARM-1).
-
FIND_PRESCRIPTIONS_FOR_DISPENSE
public static final QueryType FIND_PRESCRIPTIONS_FOR_DISPENSE
Find prescriptions and their related documents containing Prescription Items ready to be dispensed (PHARM-1).
-
FIND_MEDICATION_LIST
public static final QueryType FIND_MEDICATION_LIST
Find the medication list to the patient (PHARM-1).
-
-
Method Detail
-
values
public static QueryType[] 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 (QueryType c : QueryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueryType 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
-
getId
public String getId()
- Returns:
- the ID of the query.
-
-