"use client"; import { motion, useScroll, useTransform } from "framer-motion"; import { Pill, ShieldCheck, Zap, ArrowRight, Building2, Truck } from "lucide-react"; import { useRef } from "react"; export default function AIPrescription() { const containerRef = useRef(null); const { scrollYProgress } = useScroll({ target: containerRef, offset: ["start end", "end start"] }); const rotateX = useTransform(scrollYProgress, [0, 1], [-10, 10]); const y = useTransform(scrollYProgress, [0, 1], [40, -40]); return (
Clinical Fulfillment Engine

Automated Order
Lifecycle Management

Enterprise-grade pharmaceutical orchestration with AI-powered drug interaction screening, real-time compliance monitoring, and seamless clinical workflow integration.

{/* Key Metrics */}
99.8%
Accuracy Rate
<2s
Avg Response
24/7
Monitoring
{[ { icon: Pill, title: "Drug Interaction Screening", desc: "Advanced AI cross-references patient medications against 500,000+ drug interaction databases in real-time.", stat: "250K+ checks/day" }, { icon: ShieldCheck, title: "Regulatory Compliance", desc: "Automated verification against FDA, DEA, and state regulations with instant flagging of non-compliant orders.", stat: "100% compliant" } ].map((item, i) => (

{item.title}

{item.stat}

{item.desc}

))}
{/* Header with Status */}

Order Processing

RX-2847392

Active
{/* Workflow Steps */}
Pharmacy
Delivery
{/* Processing Details */}
{/* Patient Info Card */}
Patient ID PT-8492
Medication Lisinopril 10mg
Quantity 30 tablets
{/* Verification Status */}

Verified & Approved

Completed at 12:44 PM EST

{/* Checks List */}
{[ "Drug interaction check", "Dosage verification", "Insurance validation" ].map((check, idx) => (
{check}
))}
); }