java.lang.Object
java.lang.Enum<ChPharm1QueryType>
org.projecthusky.communication.ch.camel.chpharm1.requests.query.ChPharm1QueryType
All Implemented Interfaces:
Serializable, Comparable<ChPharm1QueryType>, Constable

public enum ChPharm1QueryType extends Enum<ChPharm1QueryType>
All possible query types.
Author:
Quentin Ligier
See Also:
  • QueryType
  • Enum Constant Details

    • CH_FIND_MEDICATION_TREATMENT_PLANS

      public static final ChPharm1QueryType CH_FIND_MEDICATION_TREATMENT_PLANS
      Find planned medication documents and their related documents (CH:PHARM-1).
    • CH_FIND_PRESCRIPTIONS

      public static final ChPharm1QueryType CH_FIND_PRESCRIPTIONS
      Find prescriptions and their related documents (CH:PHARM-1).
    • CH_FIND_DISPENSES

      public static final ChPharm1QueryType CH_FIND_DISPENSES
      Find dispense documents and their related documents (CH:PHARM-1).
    • CH_FIND_MEDICATION_ADMINISTRATIONS

      public static final ChPharm1QueryType CH_FIND_MEDICATION_ADMINISTRATIONS
      Find administered medication documents and their related documents (CH:PHARM-1).
    • CH_FIND_PRESCRIPTIONS_FOR_VALIDATION

      public static final ChPharm1QueryType 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

      public static final ChPharm1QueryType 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

      public static final ChPharm1QueryType CH_FIND_MEDICATION_LIST
      Find the medication list for the patient (CH:PHARM-1).
    • CH_FIND_MEDICATION_CARD

      public static final ChPharm1QueryType CH_FIND_MEDICATION_CARD
      Find the medication card for the patient (CH:PHARM-1).
  • Method Details

    • values

      public static ChPharm1QueryType[] 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

      public static ChPharm1QueryType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • valueOfId

      public static @Nullable ChPharm1QueryType valueOfId(@Nullable 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.
    • getId

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

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