Enum QueryType

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