Enum ConsentOperationStatusEnum

java.lang.Object
java.lang.Enum<ConsentOperationStatusEnum>
ca.uhn.fhir.rest.server.interceptor.consent.ConsentOperationStatusEnum
All Implemented Interfaces:
Serializable, Comparable<ConsentOperationStatusEnum>

  • Enum Constant Details

    • REJECT

      public static final ConsentOperationStatusEnum REJECT
      The requested operation cannot proceed, and an operation outcome suitable for the user is available
    • PROCEED

      public static final ConsentOperationStatusEnum PROCEED
      The requested operation is allowed to proceed, but the engine will review each resource before sending to the client
    • AUTHORIZED

      The engine has nothing to say about the operation (same as proceed, but the host application need not consult the engine - can use more efficient counting/caching methods)
  • Method Details

    • 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

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

      Evaluate verdicts in order, taking the first "decision" (i.e. first non-PROCEED) verdict.
      Returns:
      the first decisive verdict, or PROCEED when empty or all PROCEED.
    • serialReduce

      Evaluate verdicts in order, taking the first "decision" (i.e. first non-PROCEED) verdict.
      Parameters:
      theNextVerdict - the next verdict to consider
      Returns:
      the combined verdict
    • parallelEvaluate

      Evaluate all verdicts together, allowing any to veto (i.e. REJECT) the operation.
      • If any vote is REJECT, then the result is REJECT.
      • If no vote is REJECT, and any vote is AUTHORIZED, then the result is AUTHORIZED.
      • If no vote is REJECT or AUTHORIZED, the result is PROCEED.
      Returns:
      REJECT if any reject, AUTHORIZED if no REJECT and some AUTHORIZED, PROCEED if empty or all PROCEED
    • parallelReduce

      Evaluate two verdicts together, allowing either to veto (i.e. REJECT) the operation.
      Returns:
      REJECT if either reject, AUTHORIZED if no REJECT and some AUTHORIZED, PROCEED otherwise