java.lang.Object
java.lang.Enum<QueryType>
org.openehealth.ipf.commons.ihe.xds.core.requests.query.QueryType
All Implemented Interfaces:
Serializable, Comparable<QueryType>, java.lang.constant.Constable

public enum QueryType extends Enum<QueryType>
All possible query types.
Author:
Jens Riemschneider, Michael Ottati, Quentin Ligier
  • Enum Constant Details

    • 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.
    • 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).
    • FIND_DOCUMENTS_BY_TITLE

      public static final QueryType FIND_DOCUMENTS_BY_TITLE
      Searches for documents by title (DE:GEMATIK).
    • SUBSCRIPTION_FOR_DOCUMENT_ENTRY

      public static final QueryType SUBSCRIPTION_FOR_DOCUMENT_ENTRY
    • SUBSCRIPTION_FOR_PATIENT_INDEPENDENT_DOCUMENT_ENTRY

      public static final QueryType SUBSCRIPTION_FOR_PATIENT_INDEPENDENT_DOCUMENT_ENTRY
    • SUBSCRIPTION_FOR_SUBMISSION_SET

      public static final QueryType SUBSCRIPTION_FOR_SUBMISSION_SET
    • SUBSCRIPTION_FOR_PATIENT_INDEPENDENT_SUBMISSION_SET

      public static final QueryType SUBSCRIPTION_FOR_PATIENT_INDEPENDENT_SUBMISSION_SET
    • SUBSCRIPTION_FOR_FOLDER

      public static final QueryType SUBSCRIPTION_FOR_FOLDER
  • Method Details

    • values

      public static QueryType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - if the argument is null
    • getId

      public String getId()
      Returns:
      the ID of the query.
    • getType

      public Class<? extends Query> getType()
      Returns:
      the class implementing the query.
    • valueOfId

      public static QueryType valueOfId(String id)
      Returns a query type by its id.
      Parameters:
      id - the id. Can be null.
      Returns:
      the type. null if the id is null.