Enum Class ChPharm5Operations

java.lang.Object
java.lang.Enum<ChPharm5Operations>
org.projecthusky.communication.ch.camel.chpharm5.ChPharm5Operations
All Implemented Interfaces:
Serializable, Comparable<ChPharm5Operations>, Constable

public enum ChPharm5Operations extends Enum<ChPharm5Operations>
The different operations of CMPD CH:PHARM-5 transaction.
Author:
Quentin Ligier
  • Enum Constant Details

    • FIND_MEDICATION_TREATMENT_PLANS

      public static final ChPharm5Operations FIND_MEDICATION_TREATMENT_PLANS
    • FIND_PRESCRIPTIONS

      public static final ChPharm5Operations FIND_PRESCRIPTIONS
    • FIND_DISPENSES

      public static final ChPharm5Operations FIND_DISPENSES
    • FIND_MEDICATION_ADMINISTRATIONS

      public static final ChPharm5Operations FIND_MEDICATION_ADMINISTRATIONS
    • FIND_PRESCRIPTIONS_FOR_VALIDATION

      public static final ChPharm5Operations FIND_PRESCRIPTIONS_FOR_VALIDATION
    • FIND_PRESCRIPTIONS_FOR_DISPENSE

      public static final ChPharm5Operations FIND_PRESCRIPTIONS_FOR_DISPENSE
    • FIND_MEDICATION_LIST

      public static final ChPharm5Operations FIND_MEDICATION_LIST
    • FIND_MEDICATION_CARD

      public static final ChPharm5Operations FIND_MEDICATION_CARD
  • Method Details

    • values

      public static ChPharm5Operations[] 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 ChPharm5Operations 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
    • getOperation

      public String getOperation()
    • fromPharm5Operation

      public static ChPharm5Operations fromPharm5Operation(org.openehealth.ipf.commons.ihe.fhir.pharm5.Pharm5Operations pharm5Operation)
    • fromOperation

      public static @Nullable ChPharm5Operations fromOperation(String operation)
    • toPharm5Operation

      public @Nullable org.openehealth.ipf.commons.ihe.fhir.pharm5.Pharm5Operations toPharm5Operation()