pub enum Decision {
DraftInternalCandidate,
StaffReviewRequired {
reason: ReviewReason,
gate: ReviewGate,
},
ManagerReviewRequired {
reason: ReviewReason,
gate: ReviewGate,
},
Suppressed {
reason: SuppressionReason,
},
}Expand description
Recommendation decision that either drafts an internal candidate, requires review, or suppresses the upsell.
Variants§
DraftInternalCandidate
Candidate may be shown internally to staff but is not approved customer copy or a sale action.
StaffReviewRequired
Candidate must pause for staff/medical-document review before use.
Fields
reason: ReviewReasonInternal reason staff see when deciding whether the recommendation is useful and safe.
gate: ReviewGateApproval gate that must be satisfied before recommendation or customer-copy workflow proceeds.
ManagerReviewRequired
Candidate must pause for manager approval because care-plan conflict or policy risk is present.
Fields
reason: ReviewReasonInternal reason staff see when deciding whether the recommendation is useful and safe.
gate: ReviewGateApproval gate that must be satisfied before recommendation or customer-copy workflow proceeds.
Suppressed
Candidate is hidden from staff/customer workflows because preference, inventory, or safety policy failed.
Fields
reason: SuppressionReasonInternal reason staff see when deciding whether the recommendation is useful and safe.