Skip to main content

domain/
vaccine.rs

1//! Vaccination-document review states for compliance-gated resort workflows.
2//!
3//! ## Operator-summary
4//!
5//! This module supports the vaccine/requirements queue that decides whether a pet's
6//! proof is suggested, pending review, current, expired, rejected, exception-requested,
7//! exception-approved, or superseded before daycare, boarding, or customer follow-up uses
8//! it. It can reduce labor by making missing or expired proof, extraction suggestions, and
9//! exception requests explicit instead of burying them in uploaded documents or staff notes.
10//!
11//! It must not automate live vaccine acceptance, policy exceptions, group-play clearance,
12//! booking confirmation, or customer messaging. Authoritative facts remain the reviewed
13//! vaccine document, local location policy, vaccine name/requirement, effective/expiration
14//! dates, staff reviewer decision, and audit trail. Review gates protect pets, customers,
15//! and staff by requiring medical-document or manager review before uncertain, expired,
16//! rejected, or exception-based evidence can satisfy compliance.
17//!
18//! Vaccine facts move from uploaded/source documents into explicit review states before
19//! daycare, boarding, or customer-response workflows can rely on them. This keeps staff
20//! labor for missing/expired proofs visible and prevents automation from inventing
21//! compliance clearance.
22
23use serde::{Deserialize, Serialize};
24
25#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]
26/// Review lifecycle for vaccination evidence before it can satisfy care requirements.
27pub enum Status {
28    /// Suggested extracted vaccination-document state for compliance review.
29    SuggestedExtracted,
30    /// Pending review vaccination-document state for compliance review.
31    PendingReview,
32    /// Verified current vaccination-document state for compliance review.
33    VerifiedCurrent,
34    /// Verified expired vaccination-document state for compliance review.
35    VerifiedExpired,
36    /// Rejected vaccination-document state for compliance review.
37    Rejected,
38    /// Exception requested vaccination-document state for compliance review.
39    ExceptionRequested,
40    /// Exception approved vaccination-document state for compliance review.
41    ExceptionApproved,
42    /// Superseded vaccination-document state for compliance review.
43    Superseded,
44}